Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Oscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.Oscillator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Oscillator") translateModel(Modelica.Electrical.Spice3.Examples.Oscillator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Oscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.007769/0.007768, allocations: 165.6 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.392/1.392, allocations: 170.8 MB / 186.6 MB, free: 1.129 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001634/0.001633, allocations: 110.6 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003693/0.0003695, allocations: 8 kB / 274.1 MB, free: 10.1 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2649/0.2653, allocations: 38.77 MB / 312.9 MB, free: 38.8 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1093/0.3746, allocations: 81.95 MB / 394.8 MB, free: 8.543 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002874/0.375, allocations: 75.97 kB / 394.9 MB, free: 8.469 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2923/0.6673, allocations: 55.21 MB / 450.1 MB, free: 72.7 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.6674, allocations: 0 / 450.1 MB, free: 72.7 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.648e-05/0.6674, allocations: 27.98 kB / 450.2 MB, free: 72.67 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.002909/0.6704, allocations: 1.851 MB / 452 MB, free: 70.77 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.6704, allocations: 8.031 kB / 452 MB, free: 70.76 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001753/0.6706, allocations: 202 kB / 452.2 MB, free: 70.56 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001371/0.672, allocations: 1.139 MB / 453.3 MB, free: 69.38 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.776e-05/0.672, allocations: 36.98 kB / 453.4 MB, free: 69.34 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.6721, allocations: 47.91 kB / 453.4 MB, free: 69.29 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007816/0.6729, allocations: 0.5235 MB / 454 MB, free: 68.77 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.6729, allocations: 0 / 454 MB, free: 68.77 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.518e-05/0.673, allocations: 20 kB / 454 MB, free: 68.75 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.636e-05/0.673, allocations: 12 kB / 454 MB, free: 68.73 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007613/0.6738, allocations: 0.4883 MB / 454.5 MB, free: 68.25 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002764/0.6766, allocations: 2.135 MB / 456.6 MB, free: 66.03 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007934/0.6774, allocations: 0.7247 MB / 457.3 MB, free: 65.25 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007485/0.6849, allocations: 7.688 MB / 465 MB, free: 56.35 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005009/0.6854, allocations: 302.5 kB / 465.3 MB, free: 56.04 MB / 314.7 MB Notification: Performance of pre-optimization done (n=55): time 3.226e-06/0.6854, allocations: 0 / 465.3 MB, free: 56.04 MB / 314.7 MB Notification: Performance of matching and sorting (n=59): time 0.003282/0.6887, allocations: 2.17 MB / 467.5 MB, free: 53.78 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/0.6888, allocations: 59.8 kB / 467.5 MB, free: 53.71 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001203/0.69, allocations: 1.088 MB / 468.6 MB, free: 52.62 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.909e-05/0.69, allocations: 37.69 kB / 468.7 MB, free: 52.58 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004279/0.6905, allocations: 0.7111 MB / 469.4 MB, free: 51.87 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001178/0.6906, allocations: 201.1 kB / 469.6 MB, free: 51.67 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.721e-05/0.6906, allocations: 20 kB / 469.6 MB, free: 51.65 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.967e-05/0.6907, allocations: 326 kB / 469.9 MB, free: 51.32 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003457/0.691, allocations: 205.6 kB / 470.1 MB, free: 51.12 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004013/0.6914, allocations: 372.3 kB / 470.5 MB, free: 50.7 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003947/0.6918, allocations: 257.9 kB / 470.7 MB, free: 50.45 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.6919, allocations: 4 kB / 470.7 MB, free: 50.44 MB / 314.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001343/0.6932, allocations: 0.9224 MB / 471.7 MB, free: 49.5 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.6932, allocations: 8 kB / 471.7 MB, free: 49.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-05/0.6933, allocations: 59.98 kB / 471.7 MB, free: 49.44 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003655/0.6937, allocations: 159.2 kB / 471.9 MB, free: 49.28 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004246/0.6941, allocations: 119.8 kB / 472 MB, free: 49.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00217/0.6963, allocations: 2.328 MB / 474.3 MB, free: 46.71 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000619/0.6969, allocations: 44.02 kB / 474.4 MB, free: 46.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.118e-05/0.697, allocations: 28 kB / 474.4 MB, free: 46.64 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.v.counter,v.counter,$whenCondition1,$PRE.v.T0,v.T0,$PRE.v.counter2,v.counter2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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: 1 {(4,75.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005525/0.6976, allocations: 277.2 kB / 474.7 MB, free: 46.36 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002094/0.6978, allocations: 181.8 kB / 474.8 MB, free: 46.18 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001917/0.6997, allocations: 0.9215 MB / 475.8 MB, free: 45.24 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.6997, allocations: 7.938 kB / 475.8 MB, free: 45.23 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.6997, allocations: 4 kB / 475.8 MB, free: 45.23 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.794e-06/0.6997, allocations: 7.938 kB / 475.8 MB, free: 45.22 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001313/0.7011, allocations: 0.8593 MB / 476.6 MB, free: 44.31 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.566e-05/0.7011, allocations: 51.98 kB / 476.7 MB, free: 44.26 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002991/0.7015, allocations: 71.95 kB / 476.8 MB, free: 44.19 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003439/0.7018, allocations: 163.3 kB / 476.9 MB, free: 44.03 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.374e-05/0.7019, allocations: 16 kB / 476.9 MB, free: 44.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002074/0.7039, allocations: 2.309 MB / 479.2 MB, free: 41.57 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.704, allocations: 0 / 479.2 MB, free: 41.57 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001678/0.7056, allocations: 1.088 MB / 480.3 MB, free: 40.46 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004683/0.7061, allocations: 254.9 kB / 480.6 MB, free: 40.2 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001939/0.7063, allocations: 8 kB / 480.6 MB, free: 40.19 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000384/0.7067, allocations: 27.98 kB / 480.6 MB, free: 40.16 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/0.7068, allocations: 48.33 kB / 480.7 MB, free: 40.11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-05/0.7069, allocations: 23.98 kB / 480.7 MB, free: 40.09 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0009497/0.7078, allocations: 0.8421 MB / 481.5 MB, free: 39.26 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7079, allocations: 4 kB / 481.5 MB, free: 39.25 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001238/0.7091, allocations: 427.6 kB / 482 MB, free: 38.84 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (T1.vbe,T1.vbx,T2.vbe,T2.vbx) * Number of discrete variables: 4 ($whenCondition1,v.T0,v.counter,v.counter2) * Number of discrete states: 2 (v.counter,v.counter2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 3 * 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: 1 {(6,50.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001007/0.7101, allocations: 0.5283 MB / 482.5 MB, free: 38.29 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001597/0.7117, allocations: 0.8564 MB / 483.3 MB, free: 37.41 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.7117, allocations: 0 / 483.3 MB, free: 37.41 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008794/0.7126, allocations: 0.6136 MB / 484 MB, free: 36.78 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006015/0.7132, allocations: 162.3 kB / 484.1 MB, free: 36.62 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003562/0.7168, allocations: 2.744 MB / 486.9 MB, free: 33.84 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005903/0.7174, allocations: 1.204 MB / 488.1 MB, free: 32.61 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005273/0.718, allocations: 149.5 kB / 488.2 MB, free: 32.46 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.7181, allocations: 75.42 kB / 488.3 MB, free: 32.38 MB / 314.7 MB Notification: Performance of SimCode: time 8.92e-07/0.7181, allocations: 0 / 488.3 MB, free: 32.38 MB / 314.7 MB Notification: Performance of Templates: time 0.02365/0.7418, allocations: 13.44 MB / 0.49 GB, free: 18.97 MB / 314.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Oscillator.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Oscillator.sim & ./Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Oscillator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1)