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.001393/0.001393, allocations: 164.5 kB / 7.636 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.215/1.215, allocations: 170.7 MB / 178.7 MB, free: 15.57 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.001598/0.001598, allocations: 111.4 kB / 218 MB, free: 8.336 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.819e-05/1.821e-05, allocations: 4 kB / 262.2 MB, free: 26.38 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0918/0.09183, allocations: 38.77 MB / 301 MB, free: 3.625 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3281/0.4199, allocations: 81.19 MB / 382.2 MB, free: 3.469 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002226/0.4202, allocations: 73.09 kB / 382.2 MB, free: 3.434 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1115/0.5317, allocations: 52.2 MB / 434.4 MB, free: 5.219 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.5318, allocations: 0 / 434.4 MB, free: 5.219 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001008/0.5319, allocations: 20 kB / 434.5 MB, free: 5.199 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.003502/0.5354, allocations: 1.542 MB / 436 MB, free: 3.613 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.751e-05/0.5355, allocations: 8.031 kB / 436 MB, free: 3.605 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005069/0.536, allocations: 202 kB / 436.2 MB, free: 3.406 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002228/0.5382, allocations: 1.139 MB / 437.4 MB, free: 2.219 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.63e-05/0.5383, allocations: 15.94 kB / 437.4 MB, free: 2.203 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/0.5384, allocations: 31.91 kB / 437.4 MB, free: 2.172 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007184/0.5391, allocations: 394.6 kB / 437.8 MB, free: 1.789 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007426/0.5399, allocations: 423.8 kB / 438.2 MB, free: 1.363 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.5399, allocations: 0 / 438.2 MB, free: 1.363 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.9e-05/0.5399, allocations: 0 / 438.2 MB, free: 1.363 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.28e-05/0.54, allocations: 19.98 kB / 438.2 MB, free: 1.344 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003612/0.5436, allocations: 2.041 MB / 440.3 MB, free: 15.23 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007786/0.5444, allocations: 0.6331 MB / 440.9 MB, free: 14.55 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005964/0.545, allocations: 474.2 kB / 441.4 MB, free: 14.08 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009888/0.5549, allocations: 7.737 MB / 449.1 MB, free: 5.133 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004068/0.5553, allocations: 254.6 kB / 449.3 MB, free: 4.875 MB / 330.7 MB Notification: Performance of pre-optimization done (n=55): time 3.326e-06/0.5554, allocations: 0 / 449.3 MB, free: 4.875 MB / 330.7 MB Notification: Performance of matching and sorting (n=59): time 0.004678/0.56, allocations: 2.244 MB / 451.6 MB, free: 2.566 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.5601, allocations: 59.84 kB / 451.6 MB, free: 2.496 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001523/0.5616, allocations: 0.9864 MB / 452.6 MB, free: 1.516 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.961e-05/0.5617, allocations: 33.64 kB / 452.7 MB, free: 1.477 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006222/0.5623, allocations: 0.715 MB / 453.4 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000165/0.5625, allocations: 193.1 kB / 453.6 MB, free: 0.5625 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.928e-05/0.5625, allocations: 0 / 453.6 MB, free: 0.5625 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.5627, allocations: 337.8 kB / 453.9 MB, free: 232 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002526/0.5629, allocations: 161.5 kB / 454.1 MB, free: 72 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003621/0.5633, allocations: 311.1 kB / 454.4 MB, free: 15.7 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007898/0.5641, allocations: 377.7 kB / 454.7 MB, free: 15.33 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.5641, allocations: 3.938 kB / 454.7 MB, free: 15.33 MB / 346.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001824/0.566, allocations: 0.95 MB / 455.7 MB, free: 14.36 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/0.566, allocations: 11.91 kB / 455.7 MB, free: 14.35 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001013/0.5661, allocations: 59.97 kB / 455.7 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003872/0.5665, allocations: 140.8 kB / 455.9 MB, free: 14.15 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000475/0.567, allocations: 119.8 kB / 456 MB, free: 14.04 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002798/0.5698, allocations: 2.229 MB / 458.2 MB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000704/0.5705, allocations: 27.97 kB / 458.3 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.412e-05/0.5706, allocations: 28.06 kB / 458.3 MB, free: 11.63 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 {(5,64.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001822/0.5708, allocations: 125.9 kB / 458.4 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003575/0.5712, allocations: 181.9 kB / 458.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002479/0.5737, allocations: 0.9608 MB / 459.5 MB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.5737, allocations: 4 kB / 459.6 MB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.5737, allocations: 4 kB / 459.6 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.5737, allocations: 3.984 kB / 459.6 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001692/0.5754, allocations: 0.7812 MB / 460.3 MB, free: 9.52 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.995e-05/0.5755, allocations: 55.98 kB / 460.4 MB, free: 9.465 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003277/0.5758, allocations: 71.89 kB / 460.5 MB, free: 9.395 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003709/0.5762, allocations: 148.9 kB / 460.6 MB, free: 9.246 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.406e-05/0.5763, allocations: 19.98 kB / 460.6 MB, free: 9.227 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002562/0.5789, allocations: 2.218 MB / 462.8 MB, free: 6.898 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.5789, allocations: 0 / 462.8 MB, free: 6.898 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002574/0.5815, allocations: 1.104 MB / 464 MB, free: 5.77 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005546/0.582, allocations: 251 kB / 464.2 MB, free: 5.504 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003086/0.5824, allocations: 4 kB / 464.2 MB, free: 5.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005955/0.583, allocations: 19.98 kB / 464.2 MB, free: 5.48 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001403/0.5831, allocations: 44.38 kB / 464.3 MB, free: 5.438 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.869e-05/0.5832, allocations: 27.98 kB / 464.3 MB, free: 5.41 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001428/0.5846, allocations: 0.7448 MB / 465 MB, free: 4.676 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5846, allocations: 0 / 465 MB, free: 4.676 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001383/0.586, allocations: 399.5 kB / 465.4 MB, free: 4.285 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.0009398/0.587, allocations: 0.587 MB / 466 MB, free: 3.684 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001265/0.5882, allocations: 0.7589 MB / 466.8 MB, free: 2.902 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.5883, allocations: 0 / 466.8 MB, free: 2.902 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008508/0.5891, allocations: 0.5536 MB / 467.3 MB, free: 2.328 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000667/0.5898, allocations: 150.2 kB / 467.5 MB, free: 2.18 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003223/0.5931, allocations: 1.783 MB / 469.3 MB, free: 380 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1667/0.7598, allocations: 1.194 MB / 470.4 MB, free: 89.39 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0007081/0.7605, allocations: 150.2 kB / 470.6 MB, free: 89.38 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001319/0.7607, allocations: 71.56 kB / 470.7 MB, free: 89.38 MB / 346.7 MB Notification: Performance of SimCode: time 1.012e-06/0.7607, allocations: 0 / 470.7 MB, free: 89.38 MB / 346.7 MB Notification: Performance of Templates: time 0.02329/0.784, allocations: 11.21 MB / 481.9 MB, free: 88.75 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)