Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") translateModel(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001691/0.001691, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002307/0.002307, allocations: 188 kB / 16.66 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.57/1.57, allocations: 205.1 MB / 222.5 MB, free: 4.52 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001105/0.001105, allocations: 54.94 kB / 326.5 MB, free: 14.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09649/0.0976, allocations: 46.63 MB / 373.2 MB, free: 1.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.003776/0.1014, allocations: 2.688 MB / 375.9 MB, free: 14.61 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001179/0.1026, allocations: 0.7446 MB / 376.6 MB, free: 13.86 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000115/0.1028, allocations: 4 kB / 376.6 MB, free: 13.86 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001372/0.1029, allocations: 39.58 kB / 376.6 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001481/0.1031, allocations: 91.17 kB / 376.7 MB, free: 13.73 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002901/0.1034, allocations: 103.8 kB / 376.8 MB, free: 13.62 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003893/0.1038, allocations: 378.6 kB / 377.2 MB, free: 13.25 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001732/0.1039, allocations: 84.55 kB / 377.3 MB, free: 13.17 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002165/0.1042, allocations: 159.4 kB / 377.4 MB, free: 13.02 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002056/0.1044, allocations: 167.3 kB / 377.6 MB, free: 12.85 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.341e-05/0.1044, allocations: 32 kB / 377.6 MB, free: 12.82 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.74e-05/0.1045, allocations: 32 kB / 377.7 MB, free: 12.79 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.652e-05/0.1046, allocations: 71.8 kB / 377.7 MB, free: 12.72 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001445/0.1047, allocations: 159.2 kB / 377.9 MB, free: 12.56 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003529/0.1051, allocations: 366.5 kB / 378.3 MB, free: 12.2 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1051, allocations: 0 / 378.3 MB, free: 12.2 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1051, allocations: 0 / 378.3 MB, free: 12.2 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.1051, allocations: 0 / 378.3 MB, free: 12.2 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001418/0.1065, allocations: 0.6801 MB / 378.9 MB, free: 11.46 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.1066, allocations: 12.03 kB / 378.9 MB, free: 11.45 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.187e-05/0.1067, allocations: 32.75 kB / 379 MB, free: 11.42 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003545/0.107, allocations: 272.7 kB / 379.2 MB, free: 11.11 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.642e-05/0.1071, allocations: 16.81 kB / 379.3 MB, free: 11.1 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.804e-05/0.1071, allocations: 20.38 kB / 379.3 MB, free: 11.08 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000734/0.1079, allocations: 314 kB / 379.6 MB, free: 10.76 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.1079, allocations: 0 / 379.6 MB, free: 10.76 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.837e-05/0.1079, allocations: 8 kB / 379.6 MB, free: 10.75 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.1079, allocations: 8 kB / 379.6 MB, free: 10.74 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009628/0.1089, allocations: 289.5 kB / 379.9 MB, free: 10.46 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002436/0.1113, allocations: 0.9688 MB / 380.9 MB, free: 9.422 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00312/0.1145, allocations: 0.4903 MB / 381.3 MB, free: 8.922 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006059/0.1151, allocations: 209 kB / 381.5 MB, free: 8.715 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.909e-05/0.1151, allocations: 4 kB / 381.5 MB, free: 8.711 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005814/0.1157, allocations: 245.7 kB / 381.8 MB, free: 8.449 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.472e-06/0.1157, allocations: 0 / 381.8 MB, free: 8.449 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.00147/0.1172, allocations: 457.8 kB / 382.2 MB, free: 7.996 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.92e-05/0.1173, allocations: 110.8 kB / 382.3 MB, free: 7.863 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002202/0.1175, allocations: 233 kB / 382.6 MB, free: 7.629 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.027e-05/0.1176, allocations: 33.64 kB / 382.6 MB, free: 7.59 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.1177, allocations: 164.3 kB / 382.8 MB, free: 7.426 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.554e-05/0.1178, allocations: 75.38 kB / 382.8 MB, free: 7.352 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.1179, allocations: 49.92 kB / 382.9 MB, free: 7.297 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.118, allocations: 334.8 kB / 383.2 MB, free: 6.961 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004561/0.1185, allocations: 140.4 kB / 383.4 MB, free: 6.824 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004604/0.1189, allocations: 172.2 kB / 383.5 MB, free: 6.645 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008741/0.1198, allocations: 316 kB / 383.8 MB, free: 6.32 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1198, allocations: 0 / 383.8 MB, free: 6.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001078/0.1209, allocations: 410.9 kB / 384.2 MB, free: 5.906 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.906e-05/0.121, allocations: 41.64 kB / 384.3 MB, free: 5.859 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.121, allocations: 0 / 384.3 MB, free: 5.859 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.121, allocations: 0 / 384.3 MB, free: 5.859 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001569/0.1226, allocations: 239.7 kB / 384.5 MB, free: 5.625 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004491/0.1271, allocations: 3.4 MB / 387.9 MB, free: 1.953 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004008/0.1275, allocations: 51.8 kB / 388 MB, free: 1.902 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.871e-05/0.1275, allocations: 8 kB / 388 MB, free: 1.895 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 (pulseCurrent.signalSource.count,$PRE.pulseCurrent.signalSource.count,pulseCurrent.signalSource.T_start,$PRE.pulseCurrent.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001739/0.1277, allocations: 150 kB / 388.1 MB, free: 1.738 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.176e-05/0.1278, allocations: 23.86 kB / 388.1 MB, free: 1.715 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.895e-05/0.1279, allocations: 26.19 kB / 388.2 MB, free: 1.688 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.1279, allocations: 4 kB / 388.2 MB, free: 1.684 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1279, allocations: 0 / 388.2 MB, free: 1.684 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.1279, allocations: 7.922 kB / 388.2 MB, free: 1.676 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001706/0.1296, allocations: 0.8971 MB / 389.1 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.1296, allocations: 0 / 389.1 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001534/0.1312, allocations: 235.7 kB / 389.3 MB, free: 496 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.1312, allocations: 0 / 389.3 MB, free: 496 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.747e-05/0.1312, allocations: 8 kB / 389.3 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004602/0.1358, allocations: 3.423 MB / 392.7 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.1358, allocations: 4 kB / 392.7 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001484/0.1373, allocations: 0.5906 MB / 393.3 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001669/0.1375, allocations: 113 kB / 393.4 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.435e-05/0.1376, allocations: 7.938 kB / 393.4 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003268/0.1379, allocations: 35.95 kB / 393.5 MB, free: 11.99 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.138, allocations: 27.97 kB / 393.5 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.201e-05/0.138, allocations: 4 kB / 393.5 MB, free: 11.96 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001703/0.1382, allocations: 176.5 kB / 393.7 MB, free: 11.79 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1382, allocations: 0 / 393.7 MB, free: 11.79 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004846/0.1387, allocations: 79.89 kB / 393.8 MB, free: 11.71 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (thyristor_v4_1.vControl,inductor.i) * Number of discrete variables: 3 ($whenCondition1,pulseCurrent.signalSource.T_start,pulseCurrent.signalSource.count) * Number of discrete states: 1 (pulseCurrent.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001588/0.1389, allocations: 119 kB / 393.9 MB, free: 11.58 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002369/0.1413, allocations: 0.5381 MB / 394.4 MB, free: 11.03 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1413, allocations: 0 / 394.4 MB, free: 11.03 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001777/0.1431, allocations: 355.7 kB / 394.8 MB, free: 10.68 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003847/0.1435, allocations: 40.34 kB / 394.8 MB, free: 10.64 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001717/0.1452, allocations: 0.6877 MB / 395.5 MB, free: 9.922 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003624/0.1456, allocations: 0.748 MB / 396.2 MB, free: 9.148 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001255/0.1457, allocations: 25.94 kB / 396.3 MB, free: 9.125 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.213e-05/0.1458, allocations: 19.44 kB / 396.3 MB, free: 9.105 MB / 334.1 MB Notification: Performance of SimCode: time 7.31e-07/0.1458, allocations: 4 kB / 396.3 MB, free: 9.102 MB / 334.1 MB Notification: Performance of Templates: time 0.008195/0.154, allocations: 3.783 MB / 400.1 MB, free: 5.312 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1)