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.0009694/0.00097, allocations: 170.5 kB / 12.72 MB, free: 2.594 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.344/1.344, allocations: 170.6 MB / 183.8 MB, free: 11.47 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.001628/0.001628, allocations: 98.78 kB / 223.2 MB, free: 4.113 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.494e-05/2.496e-05, allocations: 4 kB / 268.9 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06467/0.06471, allocations: 38.77 MB / 307.6 MB, free: 14.14 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3087/0.3734, allocations: 81.87 MB / 389.5 MB, free: 10.62 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002291/0.3737, allocations: 66.09 kB / 389.6 MB, free: 10.59 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.108/0.4818, allocations: 55.07 MB / 444.6 MB, free: 9.285 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.123e-06/0.4818, allocations: 0 / 444.6 MB, free: 9.285 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.342e-05/0.4819, allocations: 24 kB / 444.7 MB, free: 9.262 MB / 330.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.002296/0.4842, allocations: 1.539 MB / 446.2 MB, free: 7.672 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.828e-05/0.4842, allocations: 12.03 kB / 446.2 MB, free: 7.66 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000209/0.4844, allocations: 205.9 kB / 446.4 MB, free: 7.457 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001613/0.4861, allocations: 1.135 MB / 447.5 MB, free: 6.277 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.302e-05/0.4861, allocations: 33 kB / 447.6 MB, free: 6.246 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.04e-05/0.4862, allocations: 47.91 kB / 447.6 MB, free: 6.199 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007677/0.487, allocations: 488.3 kB / 448.1 MB, free: 5.715 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.487, allocations: 0 / 448.1 MB, free: 5.715 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.903e-05/0.4871, allocations: 20 kB / 448.1 MB, free: 5.695 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.821e-05/0.4871, allocations: 15.98 kB / 448.1 MB, free: 5.68 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006272/0.4877, allocations: 416.2 kB / 448.5 MB, free: 5.273 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002899/0.4906, allocations: 2.137 MB / 450.7 MB, free: 3.051 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006974/0.4913, allocations: 0.6546 MB / 451.3 MB, free: 2.34 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005947/0.4919, allocations: 490.7 kB / 451.8 MB, free: 1.852 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008908/0.5009, allocations: 7.749 MB / 459.6 MB, free: 8.895 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000418/0.5013, allocations: 270.5 kB / 459.8 MB, free: 8.621 MB / 346.7 MB Notification: Performance of pre-optimization done (n=55): time 2.665e-06/0.5013, allocations: 0 / 459.8 MB, free: 8.621 MB / 346.7 MB Notification: Performance of matching and sorting (n=59): time 0.00278/0.5041, allocations: 1.679 MB / 461.5 MB, free: 6.883 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.186e-05/0.5042, allocations: 59.8 kB / 461.6 MB, free: 6.812 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001308/0.5055, allocations: 1.072 MB / 462.6 MB, free: 5.746 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.173e-05/0.5056, allocations: 33.7 kB / 462.7 MB, free: 5.707 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005679/0.5061, allocations: 0.7189 MB / 463.4 MB, free: 4.984 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001418/0.5063, allocations: 201 kB / 463.6 MB, free: 4.785 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-05/0.5063, allocations: 8 kB / 463.6 MB, free: 4.777 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.5065, allocations: 337.9 kB / 463.9 MB, free: 4.441 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002697/0.5067, allocations: 169.5 kB / 464.1 MB, free: 4.277 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003568/0.5071, allocations: 327.7 kB / 464.4 MB, free: 3.891 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003294/0.5074, allocations: 219 kB / 464.6 MB, free: 3.676 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.5074, allocations: 0 / 464.6 MB, free: 3.676 MB / 346.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001251/0.5087, allocations: 0.8519 MB / 465.5 MB, free: 2.809 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.5087, allocations: 8 kB / 465.5 MB, free: 2.801 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.712e-05/0.5088, allocations: 59.98 kB / 465.5 MB, free: 2.742 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003866/0.5092, allocations: 153.2 kB / 465.7 MB, free: 2.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004495/0.5097, allocations: 123.8 kB / 465.8 MB, free: 2.469 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002482/0.5122, allocations: 2.29 MB / 468.1 MB, free: 48 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005307/0.5127, allocations: 36.03 kB / 468.1 MB, free: 12 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.1651/0.6778, allocations: 28.64 kB / 468.2 MB, free: 86.7 MB / 346.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 () * 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,81.2%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002113/0.6781, allocations: 136.5 kB / 468.3 MB, free: 86.59 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003339/0.6784, allocations: 177.7 kB / 468.5 MB, free: 86.59 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002113/0.6805, allocations: 0.847 MB / 469.3 MB, free: 86.54 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.979e-06/0.6806, allocations: 5.344 kB / 469.3 MB, free: 86.54 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.6806, allocations: 3.375 kB / 469.3 MB, free: 86.54 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.6806, allocations: 6.578 kB / 469.3 MB, free: 86.53 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/0.6817, allocations: 0.8555 MB / 470.2 MB, free: 86.33 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-05/0.6818, allocations: 53.09 kB / 470.2 MB, free: 86.33 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003345/0.6822, allocations: 72.86 kB / 470.3 MB, free: 86.33 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003561/0.6825, allocations: 152.7 kB / 470.5 MB, free: 86.32 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.23e-05/0.6826, allocations: 16.14 kB / 470.5 MB, free: 86.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002221/0.6848, allocations: 2.278 MB / 472.7 MB, free: 85 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.6848, allocations: 0 / 472.7 MB, free: 85 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001398/0.6862, allocations: 0.9725 MB / 473.7 MB, free: 84.82 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003994/0.6866, allocations: 253.2 kB / 474 MB, free: 84.63 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/0.6868, allocations: 11.42 kB / 474 MB, free: 84.63 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003705/0.6871, allocations: 26.5 kB / 474 MB, free: 84.63 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001658/0.6873, allocations: 54.58 kB / 474.1 MB, free: 84.63 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.675e-05/0.6874, allocations: 22.84 kB / 474.1 MB, free: 84.63 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001201/0.6886, allocations: 0.8263 MB / 474.9 MB, free: 84.51 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.6886, allocations: 3.125 kB / 474.9 MB, free: 84.51 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0013/0.6899, allocations: 427.8 kB / 475.3 MB, free: 84.51 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (T1.vbe,T1.vcs,T2.vbe,T2.vcs) * Number of discrete variables: 4 ($whenCondition1,v.T0,v.counter,v.counter2) * Number of discrete states: 2 (v.counter,v.counter2) * 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.000999/0.6909, allocations: 0.53 MB / 475.9 MB, free: 84.42 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001506/0.6924, allocations: 0.7784 MB / 476.6 MB, free: 84.22 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.6925, allocations: 0 / 476.6 MB, free: 84.22 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001041/0.6935, allocations: 0.562 MB / 477.2 MB, free: 84.02 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006492/0.6942, allocations: 159 kB / 477.4 MB, free: 84.02 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003344/0.6975, allocations: 1.795 MB / 479.1 MB, free: 83.47 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009001/0.6984, allocations: 1.201 MB / 480.3 MB, free: 82.76 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006241/0.6991, allocations: 153.5 kB / 480.5 MB, free: 82.75 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001518/0.6992, allocations: 73.91 kB / 480.6 MB, free: 82.74 MB / 346.7 MB Notification: Performance of SimCode: time 1.653e-06/0.6992, allocations: 1.375 kB / 480.6 MB, free: 82.74 MB / 346.7 MB Notification: Performance of Templates: time 0.02142/0.7207, allocations: 14.22 MB / 494.8 MB, free: 81.78 MB / 346.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)