Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") translateModel(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001434/0.001434, allocations: 182.7 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.473/1.473, allocations: 194.3 MB / 208.4 MB, free: 6.703 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001628/0.001628, allocations: 124.7 kB / 253.5 MB, free: 9.57 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.553e-05/2.567e-05, allocations: 4 kB / 304.9 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08283/0.08287, allocations: 44.5 MB / 349.4 MB, free: 1.254 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3241/0.4071, allocations: 74.78 MB / 424.2 MB, free: 10.98 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002233/0.4074, allocations: 74.19 kB / 424.3 MB, free: 10.97 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01252/0.4199, allocations: 4.645 MB / 428.9 MB, free: 9.305 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.4199, allocations: 3.844 kB / 428.9 MB, free: 9.305 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.19e-05/0.42, allocations: 3.844 kB / 428.9 MB, free: 9.305 MB / 298.7 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.0009543/0.4209, allocations: 0.6031 MB / 429.5 MB, free: 8.805 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.421, allocations: 7.531 kB / 429.6 MB, free: 8.805 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.429e-05/0.421, allocations: 30.47 kB / 429.6 MB, free: 8.793 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002354/0.4213, allocations: 262.7 kB / 429.8 MB, free: 8.547 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.4213, allocations: 15.19 kB / 429.9 MB, free: 8.547 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.336e-05/0.4214, allocations: 19.03 kB / 429.9 MB, free: 8.547 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003784/0.4217, allocations: 242.5 kB / 430.1 MB, free: 8.461 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.4218, allocations: 4 kB / 430.1 MB, free: 8.457 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.731e-05/0.4218, allocations: 10.88 kB / 430.1 MB, free: 8.457 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.4218, allocations: 3.875 kB / 430.1 MB, free: 8.457 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002717/0.4221, allocations: 172.9 kB / 430.3 MB, free: 8.453 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001611/0.4237, allocations: 1.024 MB / 431.3 MB, free: 7.812 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00257/0.4263, allocations: 483.6 kB / 431.8 MB, free: 7.688 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002841/0.4266, allocations: 158.2 kB / 432 MB, free: 7.664 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.138e-05/0.4266, allocations: 7.484 kB / 432 MB, free: 7.664 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002608/0.4269, allocations: 179.1 kB / 432.1 MB, free: 7.559 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 2.715e-06/0.4269, allocations: 0 / 432.1 MB, free: 7.559 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004101/0.4273, allocations: 213.7 kB / 432.3 MB, free: 7.496 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/0.4274, allocations: 106.7 kB / 432.4 MB, free: 7.371 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.4276, allocations: 210.7 kB / 432.7 MB, free: 7.254 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.4276, allocations: 29.52 kB / 432.7 MB, free: 7.223 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.897e-05/0.4277, allocations: 154.9 kB / 432.8 MB, free: 7.109 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.54e-05/0.4277, allocations: 72.19 kB / 432.9 MB, free: 7.059 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.626e-05/0.4278, allocations: 6.844 kB / 432.9 MB, free: 7.055 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.489e-05/0.4278, allocations: 336.4 kB / 433.2 MB, free: 6.73 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/0.428, allocations: 80.34 kB / 433.3 MB, free: 6.727 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.4281, allocations: 119.4 kB / 433.4 MB, free: 6.684 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001399/0.4282, allocations: 104.5 kB / 433.5 MB, free: 6.641 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4283, allocations: 3.844 kB / 433.5 MB, free: 6.641 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000373/0.4286, allocations: 289.4 kB / 433.8 MB, free: 6.539 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.926e-05/0.4287, allocations: 33.53 kB / 433.9 MB, free: 6.504 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.4287, allocations: 0 / 433.9 MB, free: 6.504 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.4287, allocations: 3.969 kB / 433.9 MB, free: 6.504 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002164/0.4309, allocations: 334.9 kB / 434.2 MB, free: 6.402 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003546/0.4344, allocations: 3.052 MB / 437.2 MB, free: 3.523 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000459/0.4349, allocations: 74.23 kB / 437.3 MB, free: 3.492 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.789e-05/0.435, allocations: 11.67 kB / 437.3 MB, free: 3.488 MB / 298.7 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 ($whenCondition1,$PRE.pulseCurrent.signalSource.T_start,pulseCurrent.signalSource.T_start,$PRE.pulseCurrent.signalSource.count,pulseCurrent.signalSource.count) * Number of discrete 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001023/0.4351, allocations: 115.4 kB / 437.4 MB, free: 3.379 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.086e-05/0.4351, allocations: 23.28 kB / 437.5 MB, free: 3.367 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.816e-05/0.4352, allocations: 31.95 kB / 437.5 MB, free: 3.352 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.4352, allocations: 4 kB / 437.5 MB, free: 3.348 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.4352, allocations: 3.844 kB / 437.5 MB, free: 3.348 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.4352, allocations: 0 / 437.5 MB, free: 3.348 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.4363, allocations: 0.7961 MB / 438.3 MB, free: 2.828 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.4363, allocations: 3.906 kB / 438.3 MB, free: 2.828 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002365/0.4387, allocations: 321.1 kB / 438.6 MB, free: 2.734 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.153e-06/0.4387, allocations: 0 / 438.6 MB, free: 2.734 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.339e-05/0.4387, allocations: 11.17 kB / 438.6 MB, free: 2.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003569/0.4423, allocations: 3.051 MB / 441.7 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.4423, allocations: 0 / 441.7 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006102/0.443, allocations: 466.1 kB / 442.1 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.226e-05/0.4431, allocations: 104.4 kB / 442.2 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.814e-05/0.4431, allocations: 3.875 kB / 442.2 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003789/0.4435, allocations: 57.58 kB / 442.3 MB, free: 15.5 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.838e-05/0.4436, allocations: 26.98 kB / 442.3 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.185e-05/0.4436, allocations: 3.781 kB / 442.3 MB, free: 15.48 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001731/0.4438, allocations: 172.6 kB / 442.5 MB, free: 15.4 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4438, allocations: 0 / 442.5 MB, free: 15.4 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004609/0.4443, allocations: 80.28 kB / 442.6 MB, free: 15.39 MB / 314.7 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) * 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001737/0.4445, allocations: 121.8 kB / 442.7 MB, free: 15.29 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002143/0.4466, allocations: 484.5 kB / 443.2 MB, free: 15.14 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4466, allocations: 3.938 kB / 443.2 MB, free: 15.14 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00189/0.4485, allocations: 345 kB / 443.5 MB, free: 15.06 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003407/0.4489, allocations: 40.86 kB / 443.5 MB, free: 15.05 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.4502, allocations: 433.2 kB / 444 MB, free: 14.8 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002955/0.4505, allocations: 0.754 MB / 444.7 MB, free: 14.07 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001532/0.4507, allocations: 25.47 kB / 444.7 MB, free: 14.05 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.189e-05/0.4508, allocations: 22.91 kB / 444.8 MB, free: 14.04 MB / 314.7 MB Notification: Performance of SimCode: time 1.132e-06/0.4508, allocations: 7.938 kB / 444.8 MB, free: 14.04 MB / 314.7 MB Notification: Performance of Templates: time 0.006441/0.4572, allocations: 3.216 MB / 448 MB, free: 12.15 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1)