Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.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.CharacteristicThyristors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") translateModel(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001076/0.001076, allocations: 181.4 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.45/1.45, allocations: 194.2 MB / 208.4 MB, free: 6.723 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.001648/0.001648, allocations: 124.7 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.001e-05/3.006e-05, allocations: 7.984 kB / 304.9 MB, free: 29.78 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09782/0.09787, allocations: 44.49 MB / 349.4 MB, free: 1.266 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3598/0.4577, allocations: 74.75 MB / 424.2 MB, free: 11.03 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002078/0.458, allocations: 76.58 kB / 424.3 MB, free: 11.03 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01709/0.4751, allocations: 7.023 MB / 431.3 MB, free: 8.426 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4751, allocations: 0 / 431.3 MB, free: 8.426 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.867e-05/0.4751, allocations: 7.812 kB / 431.3 MB, free: 8.426 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: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.0009928/0.4761, allocations: 0.7301 MB / 432 MB, free: 7.836 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.4762, allocations: 7.625 kB / 432 MB, free: 7.836 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.681e-05/0.4763, allocations: 54.47 kB / 432.1 MB, free: 7.812 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000478/0.4768, allocations: 314.9 kB / 432.4 MB, free: 7.543 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.872e-05/0.4768, allocations: 30.92 kB / 432.4 MB, free: 7.535 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.509e-05/0.4769, allocations: 37.72 kB / 432.4 MB, free: 7.535 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005865/0.4775, allocations: 405 kB / 432.8 MB, free: 7.41 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.4775, allocations: 0 / 432.8 MB, free: 7.41 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.942e-05/0.4776, allocations: 18.58 kB / 432.9 MB, free: 7.406 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.4776, allocations: 7.719 kB / 432.9 MB, free: 7.406 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004216/0.478, allocations: 288.6 kB / 433.1 MB, free: 7.387 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001852/0.4799, allocations: 1.647 MB / 434.8 MB, free: 6.293 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004434/0.4803, allocations: 325.1 kB / 435.1 MB, free: 6.246 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002311/0.4806, allocations: 177.7 kB / 435.3 MB, free: 6.238 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.932e-05/0.4806, allocations: 4 kB / 435.3 MB, free: 6.238 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003582/0.481, allocations: 269.6 kB / 435.6 MB, free: 6.086 MB / 298.7 MB Notification: Performance of pre-optimization done (n=38): time 1.863e-06/0.481, allocations: 0 / 435.6 MB, free: 6.086 MB / 298.7 MB Notification: Performance of matching and sorting (n=38): time 0.0008318/0.4818, allocations: 492.9 kB / 436 MB, free: 5.91 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.142e-05/0.4819, allocations: 217.3 kB / 436.2 MB, free: 5.656 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002408/0.4821, allocations: 278.2 kB / 436.5 MB, free: 5.539 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.844e-05/0.4822, allocations: 40.89 kB / 436.6 MB, free: 5.504 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.4823, allocations: 218.5 kB / 436.8 MB, free: 5.355 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.279e-05/0.4824, allocations: 112.9 kB / 436.9 MB, free: 5.281 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.647e-05/0.4824, allocations: 7.75 kB / 436.9 MB, free: 5.277 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.491e-05/0.4825, allocations: 349.7 kB / 437.2 MB, free: 4.949 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001585/0.4826, allocations: 116.3 kB / 437.3 MB, free: 4.941 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001881/0.4828, allocations: 177 kB / 437.5 MB, free: 4.883 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001801/0.483, allocations: 168.5 kB / 437.7 MB, free: 4.797 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.483, allocations: 0 / 437.7 MB, free: 4.797 MB / 298.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0005769/0.4836, allocations: 0.5018 MB / 438.2 MB, free: 4.617 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.461e-05/0.4836, allocations: 63.02 kB / 438.2 MB, free: 4.551 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.4837, allocations: 0 / 438.2 MB, free: 4.551 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004246/0.4841, allocations: 162.3 kB / 438.4 MB, free: 4.488 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.4843, allocations: 38.95 kB / 438.4 MB, free: 4.477 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003518/0.4878, allocations: 5.938 MB / 444.4 MB, free: 14.92 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003393/0.4881, allocations: 62.41 kB / 444.4 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.768e-05/0.4882, allocations: 7.688 kB / 444.5 MB, free: 14.89 MB / 314.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: 17 ($whenCondition2,$whenCondition1,$PRE.IdealThyristor1.off,IdealThyristor1.off,IdealGTOThyristor1.off,$PRE.booleanStep1.y,booleanStep1.y,$PRE.booleanStep1.nextTime,booleanStep1.nextTime,$PRE.booleanStep1.index,booleanStep1.index,$PRE.IdealThyristor2.off,IdealThyristor2.off,IdealGTOThyristor2.off,IdealGTOThyristor2.fire,$PRE.booleanPulse.pulsStart,booleanPulse.pulsStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001428/0.4883, allocations: 165.2 kB / 444.6 MB, free: 14.74 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.381e-05/0.4884, allocations: 41.91 kB / 444.7 MB, free: 14.72 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.048e-05/0.4885, allocations: 46.78 kB / 444.7 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.4885, allocations: 3.969 kB / 444.7 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.4885, allocations: 3.953 kB / 444.7 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.4885, allocations: 4 kB / 444.7 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004654/0.489, allocations: 444.5 kB / 445.1 MB, free: 14.42 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.489, allocations: 0 / 445.1 MB, free: 14.42 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/0.4892, allocations: 35.03 kB / 445.2 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003805/0.4895, allocations: 156 kB / 445.3 MB, free: 14.35 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.694e-05/0.4896, allocations: 11.02 kB / 445.3 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004362/0.494, allocations: 5.777 MB / 451.1 MB, free: 8.949 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.494, allocations: 0 / 451.1 MB, free: 8.949 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008063/0.4948, allocations: 0.5193 MB / 451.6 MB, free: 8.746 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001656/0.495, allocations: 148.6 kB / 451.8 MB, free: 8.613 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.184e-05/0.495, allocations: 7.781 kB / 451.8 MB, free: 8.613 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002721/0.4953, allocations: 41.97 kB / 451.8 MB, free: 8.602 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/0.4955, allocations: 58.11 kB / 451.9 MB, free: 8.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.47e-05/0.4955, allocations: 15.17 kB / 451.9 MB, free: 8.566 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002122/0.4957, allocations: 225.1 kB / 452.1 MB, free: 8.469 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4957, allocations: 0 / 452.1 MB, free: 8.469 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006716/0.4964, allocations: 168.2 kB / 452.3 MB, free: 8.453 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$whenCondition1,IdealThyristor1.off,IdealGTOThyristor1.off,booleanStep1.y,booleanStep1.nextTime,booleanStep1.index,IdealThyristor2.off,IdealGTOThyristor2.off,IdealGTOThyristor2.fire,booleanPulse.pulsStart) * Number of discrete states: 6 (IdealThyristor1.off,booleanStep1.y,booleanStep1.nextTime,booleanStep1.index,$whenCondition1,IdealThyristor2.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002189/0.4966, allocations: 133 kB / 452.4 MB, free: 8.359 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001051/0.4977, allocations: 0.891 MB / 453.3 MB, free: 7.734 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.4977, allocations: 0 / 453.3 MB, free: 7.734 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006789/0.4984, allocations: 0.709 MB / 454 MB, free: 7.078 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003786/0.4988, allocations: 79.94 kB / 454.1 MB, free: 7.023 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.5001, allocations: 0.5602 MB / 454.7 MB, free: 6.516 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004016/0.5005, allocations: 0.8278 MB / 455.5 MB, free: 5.664 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001868/0.5007, allocations: 31.28 kB / 455.5 MB, free: 5.629 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.206e-05/0.5008, allocations: 19.44 kB / 455.5 MB, free: 5.609 MB / 314.7 MB Notification: Performance of SimCode: time 3.71e-07/0.5008, allocations: 0 / 455.5 MB, free: 5.609 MB / 314.7 MB Notification: Performance of Templates: time 0.01279/0.5136, allocations: 7.074 MB / 462.6 MB, free: 14.56 MB / 330.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CharacteristicThyristors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1)