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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008731/0.008731, allocations: 100.7 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001879/0.001878, allocations: 198.2 kB / 16.68 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.38/1.38, allocations: 205.1 MB / 222.5 MB, free: 4.32 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001977, allocations: 50.58 kB / 326.5 MB, free: 14.46 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1246, allocations: 46.62 MB / 373.2 MB, free: 1.316 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.01299/0.1376, allocations: 7.355 MB / 380.5 MB, free: 9.926 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01808/0.1557, allocations: 10.37 MB / 390.9 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001787/0.1576, allocations: 83.25 kB / 391 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00242/0.1601, allocations: 0.6984 MB / 391.7 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004821/0.1649, allocations: 1.169 MB / 392.8 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002452/0.1674, allocations: 0.6778 MB / 393.5 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00547/0.1729, allocations: 2.482 MB / 396 MB, free: 10.37 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006808/0.1736, allocations: 287.9 kB / 396.3 MB, free: 10.07 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008712/0.1745, allocations: 477.6 kB / 396.7 MB, free: 9.598 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008123/0.1753, allocations: 0.5278 MB / 397.3 MB, free: 9.066 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001316/0.1754, allocations: 56 kB / 397.3 MB, free: 9.012 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002321/0.1778, allocations: 0.6909 MB / 398 MB, free: 8.32 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002303/0.178, allocations: 182.8 kB / 398.2 MB, free: 8.141 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008696/0.1789, allocations: 0.6793 MB / 398.9 MB, free: 7.457 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003481/0.1824, allocations: 1.948 MB / 400.8 MB, free: 5.5 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.395e-05/0.1824, allocations: 4 kB / 400.8 MB, free: 5.496 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1824, allocations: 0 / 400.8 MB, free: 5.496 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.829e-05/0.1825, allocations: 8 kB / 400.8 MB, free: 5.488 MB / 334.1 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.004208/0.1867, allocations: 2.042 MB / 402.9 MB, free: 3.387 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.1867, allocations: 8.031 kB / 402.9 MB, free: 3.379 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003363/0.1871, allocations: 207.7 kB / 403.1 MB, free: 3.176 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002964/0.1901, allocations: 1.354 MB / 404.4 MB, free: 1.777 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.889e-05/0.1901, allocations: 29 kB / 404.5 MB, free: 1.746 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001394/0.1903, allocations: 51.94 kB / 404.5 MB, free: 1.695 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001447/0.1917, allocations: 0.508 MB / 405 MB, free: 1.18 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.979e-05/0.1918, allocations: 4 kB / 405 MB, free: 1.176 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.257e-05/0.1919, allocations: 20 kB / 405.1 MB, free: 1.156 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.473e-05/0.1919, allocations: 15.98 kB / 405.1 MB, free: 1.141 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001477/0.1934, allocations: 476.1 kB / 405.5 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004827/0.1982, allocations: 2.093 MB / 407.6 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001553/0.1998, allocations: 0.7001 MB / 408.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001091/0.2009, allocations: 0.5212 MB / 408.8 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01187/0.2128, allocations: 6.521 MB / 415.4 MB, free: 5.707 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008602/0.2137, allocations: 294.6 kB / 415.7 MB, free: 5.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=55): time 3.777e-06/0.2138, allocations: 4 kB / 415.7 MB, free: 5.406 MB / 350.1 MB Notification: Performance of matching and sorting (n=59): time 0.005853/0.2196, allocations: 1.986 MB / 417.6 MB, free: 3.363 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.31e-05/0.2197, allocations: 55.84 kB / 417.7 MB, free: 3.297 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00236/0.2221, allocations: 1.3 MB / 419 MB, free: 2 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.522e-05/0.2222, allocations: 33.7 kB / 419 MB, free: 1.961 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008844/0.223, allocations: 0.7235 MB / 419.8 MB, free: 1.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002406/0.2233, allocations: 210.2 kB / 420 MB, free: 1.023 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002621/0.2236, allocations: 122.3 kB / 420.1 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.2237, allocations: 334 kB / 420.4 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00064/0.2244, allocations: 193.6 kB / 420.6 MB, free: 384 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000759/0.2252, allocations: 367.7 kB / 421 MB, free: 15.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003582/0.2288, allocations: 1.127 MB / 422.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.2288, allocations: 4 kB / 422.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002689/0.2315, allocations: 0.9311 MB / 423 MB, free: 13.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.2315, allocations: 13.22 kB / 423 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001242/0.2317, allocations: 56 kB / 423.1 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006019/0.2323, allocations: 156.7 kB / 423.2 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006821/0.233, allocations: 115.8 kB / 423.4 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004148/0.2371, allocations: 2.513 MB / 425.9 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008365/0.238, allocations: 23.98 kB / 425.9 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.956e-05/0.2381, allocations: 32 kB / 425.9 MB, free: 10.76 MB / 366.1 MB Warning: Assuming fixed start value for the following 2 variables: T2.vbx:VARIABLE(unit = "V" fixed = true ) type: Real T1.vbx:VARIABLE(unit = "V" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 7 (v.counter,$PRE.v.counter,v.counter2,$PRE.v.counter2,v.T0,$PRE.v.T0,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,14,81.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006644/0.2388, allocations: 289.6 kB / 426.2 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002918/0.2391, allocations: 194.8 kB / 426.4 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002567/0.2417, allocations: 0.8826 MB / 427.3 MB, free: 9.383 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/0.2417, allocations: 7.984 kB / 427.3 MB, free: 9.375 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.2417, allocations: 4 kB / 427.3 MB, free: 9.371 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.118e-06/0.2417, allocations: 7.922 kB / 427.3 MB, free: 9.363 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001418/0.2431, allocations: 0.8669 MB / 428.2 MB, free: 8.449 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001093/0.2433, allocations: 52 kB / 428.2 MB, free: 8.398 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004525/0.2437, allocations: 59.95 kB / 428.3 MB, free: 8.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005201/0.2443, allocations: 161 kB / 428.4 MB, free: 8.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.789e-05/0.2443, allocations: 12 kB / 428.4 MB, free: 8.168 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003828/0.2482, allocations: 2.494 MB / 430.9 MB, free: 5.531 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.2482, allocations: 4 kB / 430.9 MB, free: 5.527 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002812/0.251, allocations: 1.073 MB / 432 MB, free: 4.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005371/0.2516, allocations: 259.9 kB / 432.3 MB, free: 4.156 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002006/0.2518, allocations: 8 kB / 432.3 MB, free: 4.148 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006097/0.2524, allocations: 27.92 kB / 432.3 MB, free: 4.121 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001601/0.2526, allocations: 48.38 kB / 432.3 MB, free: 4.074 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.37e-05/0.2527, allocations: 27.98 kB / 432.4 MB, free: 4.047 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001585/0.2543, allocations: 0.8577 MB / 433.2 MB, free: 3.199 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2543, allocations: 0 / 433.2 MB, free: 3.199 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001455/0.2557, allocations: 379.2 kB / 433.6 MB, free: 2.828 MB / 366.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,14,81.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009956/0.2567, allocations: 471.5 kB / 434.1 MB, free: 2.359 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002328/0.2591, allocations: 0.8405 MB / 434.9 MB, free: 1.492 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2591, allocations: 0 / 434.9 MB, free: 1.492 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00145/0.2606, allocations: 0.5786 MB / 435.5 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.2616, allocations: 182.2 kB / 435.7 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004989/0.2666, allocations: 2.432 MB / 438.1 MB, free: 14.25 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009392/0.2676, allocations: 1.174 MB / 439.3 MB, free: 13.04 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007263/0.2683, allocations: 183.2 kB / 439.4 MB, free: 12.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001929/0.2685, allocations: 87.42 kB / 439.5 MB, free: 12.78 MB / 382.1 MB Notification: Performance of SimCode: time 7.52e-07/0.2685, allocations: 0 / 439.5 MB, free: 12.78 MB / 382.1 MB Notification: Performance of Templates: time 0.1854/0.454, allocations: 13.46 MB / 453 MB, free: 73.2 MB / 382.1 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)