Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.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.IdealTriacCircuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.IdealTriacCircuit") translateModel(Modelica.Electrical.Analog.Examples.IdealTriacCircuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.IdealTriacCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001333/0.001333, allocations: 181.6 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.51/1.51, allocations: 194.3 MB / 208.4 MB, free: 6.707 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.001736/0.001736, allocations: 108.8 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.568e-05/2.571e-05, allocations: 0 / 304.9 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09693/0.09698, allocations: 44.5 MB / 349.4 MB, free: 1.254 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3556/0.4527, allocations: 73.99 MB / 423.4 MB, free: 10.91 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002252/0.4529, allocations: 69.7 kB / 423.5 MB, free: 10.91 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01119/0.4641, allocations: 4.93 MB / 428.4 MB, free: 9.309 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.4642, allocations: 0 / 428.4 MB, free: 9.309 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.543e-05/0.4642, allocations: 11.81 kB / 428.4 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.000697/0.4649, allocations: 0.5401 MB / 429 MB, free: 8.84 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.465, allocations: 7.75 kB / 429 MB, free: 8.84 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.699e-05/0.465, allocations: 34.34 kB / 429 MB, free: 8.824 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002929/0.4653, allocations: 272.6 kB / 429.3 MB, free: 8.578 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.543e-05/0.4654, allocations: 22.19 kB / 429.3 MB, free: 8.578 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.433e-05/0.4654, allocations: 22.06 kB / 429.3 MB, free: 8.578 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003956/0.4658, allocations: 273.6 kB / 429.6 MB, free: 8.488 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.4658, allocations: 0 / 429.6 MB, free: 8.488 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.79e-05/0.4659, allocations: 13.06 kB / 429.6 MB, free: 8.484 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.4659, allocations: 7.719 kB / 429.6 MB, free: 8.484 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002866/0.4662, allocations: 190.2 kB / 429.8 MB, free: 8.473 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001439/0.4676, allocations: 1.162 MB / 431 MB, free: 7.703 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00043/0.4681, allocations: 195.6 kB / 431.2 MB, free: 7.672 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002456/0.4683, allocations: 152.1 kB / 431.3 MB, free: 7.648 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/0.4684, allocations: 4.156 kB / 431.3 MB, free: 7.648 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002368/0.4686, allocations: 154 kB / 431.5 MB, free: 7.555 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.443e-06/0.4686, allocations: 4 kB / 431.5 MB, free: 7.551 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0004742/0.4691, allocations: 264.4 kB / 431.7 MB, free: 7.465 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.4692, allocations: 132.4 kB / 431.9 MB, free: 7.309 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/0.4693, allocations: 220.5 kB / 432.1 MB, free: 7.195 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.4694, allocations: 28.86 kB / 432.1 MB, free: 7.164 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.952e-05/0.4694, allocations: 169.9 kB / 432.3 MB, free: 7.039 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.997e-05/0.4695, allocations: 72.8 kB / 432.3 MB, free: 6.988 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.112e-05/0.4695, allocations: 6.75 kB / 432.3 MB, free: 6.988 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.507e-05/0.4696, allocations: 331.5 kB / 432.7 MB, free: 6.668 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.4697, allocations: 66 kB / 432.7 MB, free: 6.668 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001232/0.4698, allocations: 116.7 kB / 432.8 MB, free: 6.613 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000112/0.47, allocations: 75.17 kB / 432.9 MB, free: 6.598 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.47, allocations: 3.938 kB / 432.9 MB, free: 6.594 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003641/0.4703, allocations: 276 kB / 433.2 MB, free: 6.52 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.4704, allocations: 7.719 kB / 433.2 MB, free: 6.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.4704, allocations: 0 / 433.2 MB, free: 6.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003052/0.4707, allocations: 103.2 kB / 433.3 MB, free: 6.488 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.4708, allocations: 29.64 kB / 433.3 MB, free: 6.484 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00167/0.4725, allocations: 1.977 MB / 435.3 MB, free: 5.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/0.4727, allocations: 38.19 kB / 435.3 MB, free: 5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/0.4727, allocations: 7.719 kB / 435.3 MB, free: 5 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,booleanPulse.y,$PRE.booleanPulse.pulsStart,booleanPulse.pulsStart,$PRE.idealTriac.idealThyristor.off,idealTriac.idealThyristor.off,$PRE.idealTriac.idealThyristor1.off,idealTriac.idealThyristor1.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 10} Notification: Performance of prepare postOptimizeDAE: time 8.726e-05/0.4728, allocations: 120.7 kB / 435.5 MB, free: 4.891 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.456e-05/0.4729, allocations: 23.12 kB / 435.5 MB, free: 4.879 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.074e-05/0.4729, allocations: 31.67 kB / 435.5 MB, free: 4.867 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.4729, allocations: 3.656 kB / 435.5 MB, free: 4.867 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-06/0.473, allocations: 4 kB / 435.5 MB, free: 4.863 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.473, allocations: 0 / 435.5 MB, free: 4.863 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007565/0.4737, allocations: 0.7939 MB / 436.3 MB, free: 4.371 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.4737, allocations: 0 / 436.3 MB, free: 4.371 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.4738, allocations: 19.33 kB / 436.3 MB, free: 4.367 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002185/0.4741, allocations: 95.38 kB / 436.4 MB, free: 4.34 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.4741, allocations: 7.609 kB / 436.4 MB, free: 4.336 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001624/0.4757, allocations: 1.949 MB / 438.4 MB, free: 2.855 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.4757, allocations: 0 / 438.4 MB, free: 2.855 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00047/0.4762, allocations: 458.7 kB / 438.8 MB, free: 2.648 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.166e-05/0.4763, allocations: 122.2 kB / 439 MB, free: 2.531 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.362e-05/0.4764, allocations: 3.438 kB / 439 MB, free: 2.531 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001889/0.4766, allocations: 22.95 kB / 439 MB, free: 2.527 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.455e-05/0.4767, allocations: 41.72 kB / 439 MB, free: 2.508 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.4767, allocations: 3.719 kB / 439 MB, free: 2.508 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001239/0.4768, allocations: 172.6 kB / 439.2 MB, free: 2.422 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4768, allocations: 0 / 439.2 MB, free: 2.422 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003905/0.4772, allocations: 90.75 kB / 439.3 MB, free: 2.414 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (idealTriac.capacitor.v) * Number of discrete variables: 5 ($whenCondition1,booleanPulse.y,booleanPulse.pulsStart,idealTriac.idealThyristor.off,idealTriac.idealThyristor1.off) * Number of discrete states: 2 (idealTriac.idealThyristor.off,idealTriac.idealThyristor1.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001372/0.4774, allocations: 107.5 kB / 439.4 MB, free: 2.324 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004997/0.4779, allocations: 345.6 kB / 439.7 MB, free: 2.176 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4779, allocations: 0 / 439.7 MB, free: 2.176 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000283/0.4782, allocations: 260.4 kB / 440 MB, free: 2.031 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003138/0.4785, allocations: 54.94 kB / 440 MB, free: 2.012 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006957/0.4792, allocations: 415.8 kB / 440.4 MB, free: 1.781 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001669/0.4794, allocations: 0.7694 MB / 441.2 MB, free: 1.039 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.86e-05/0.4795, allocations: 21.66 kB / 441.2 MB, free: 1.031 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.412e-05/0.4795, allocations: 15.28 kB / 441.2 MB, free: 1.023 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.4795, allocations: 4 kB / 441.2 MB, free: 1.02 MB / 298.7 MB Notification: Performance of Templates: time 0.007102/0.4866, allocations: 4.301 MB / 445.6 MB, free: 14.86 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.IdealTriacCircuit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe 2>&1)