Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.1_Modelica.Electrical.Spice3.Examples.Oscillator") translateModel(Modelica.Electrical.Spice3.Examples.Oscillator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.005759/0.005759, allocations: 99.34 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.001055/0.001055, allocations: 195 kB / 16.67 MB, free: 5.977 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.362/1.362, allocations: 205.1 MB / 222.6 MB, free: 4.504 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.001131/0.001131, allocations: 49.98 kB / 326.5 MB, free: 14.34 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08057/0.08171, allocations: 46.62 MB / 373.2 MB, free: 1.344 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.007016/0.08876, allocations: 7.355 MB / 380.5 MB, free: 9.953 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01111/0.0999, allocations: 10.37 MB / 390.9 MB, free: 15.53 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001085/0.101, allocations: 87.19 kB / 391 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001751/0.1028, allocations: 0.6945 MB / 391.7 MB, free: 14.74 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002934/0.1058, allocations: 1.161 MB / 392.8 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00146/0.1073, allocations: 0.6739 MB / 393.5 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003367/0.1106, allocations: 2.486 MB / 396 MB, free: 10.41 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004229/0.1111, allocations: 283.9 kB / 396.3 MB, free: 10.11 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004895/0.1116, allocations: 473.6 kB / 396.7 MB, free: 9.645 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005351/0.1121, allocations: 0.5239 MB / 397.2 MB, free: 9.117 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.393e-05/0.1122, allocations: 55.98 kB / 397.3 MB, free: 9.062 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001394/0.1136, allocations: 0.6948 MB / 398 MB, free: 8.367 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001573/0.1138, allocations: 186.8 kB / 398.2 MB, free: 8.184 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005433/0.1143, allocations: 0.6715 MB / 398.9 MB, free: 7.508 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00199/0.1163, allocations: 1.956 MB / 400.8 MB, free: 5.543 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1164, allocations: 0 / 400.8 MB, free: 5.543 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1164, allocations: 0 / 400.8 MB, free: 5.543 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.599e-05/0.1164, allocations: 4 kB / 400.8 MB, free: 5.539 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.002489/0.1189, allocations: 2.042 MB / 402.9 MB, free: 3.438 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.1189, allocations: 12.03 kB / 402.9 MB, free: 3.426 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002006/0.1191, allocations: 207.7 kB / 403.1 MB, free: 3.223 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001738/0.1209, allocations: 1.354 MB / 404.4 MB, free: 1.824 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.763e-05/0.1209, allocations: 33 kB / 404.5 MB, free: 1.789 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.089e-05/0.121, allocations: 47.95 kB / 404.5 MB, free: 1.742 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008738/0.1219, allocations: 0.508 MB / 405 MB, free: 1.227 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.1219, allocations: 4 kB / 405 MB, free: 1.223 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.776e-05/0.122, allocations: 23.98 kB / 405 MB, free: 1.199 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.597e-05/0.122, allocations: 16 kB / 405.1 MB, free: 1.184 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000895/0.1229, allocations: 476.1 kB / 405.5 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002793/0.1257, allocations: 2.093 MB / 407.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009668/0.1267, allocations: 0.704 MB / 408.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007216/0.1274, allocations: 0.5096 MB / 408.8 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007291/0.1347, allocations: 6.525 MB / 415.3 MB, free: 5.754 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005579/0.1353, allocations: 290.6 kB / 415.6 MB, free: 5.461 MB / 350.1 MB Notification: Performance of pre-optimization done (n=55): time 2.334e-06/0.1353, allocations: 0 / 415.6 MB, free: 5.461 MB / 350.1 MB Notification: Performance of matching and sorting (n=59): time 0.003529/0.1388, allocations: 1.986 MB / 417.6 MB, free: 3.418 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.1389, allocations: 63.84 kB / 417.7 MB, free: 3.344 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001464/0.1404, allocations: 1.3 MB / 419 MB, free: 2.047 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.758e-05/0.1404, allocations: 33.7 kB / 419 MB, free: 2.008 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005562/0.141, allocations: 0.7118 MB / 419.7 MB, free: 1.289 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001512/0.1411, allocations: 218.1 kB / 419.9 MB, free: 1.074 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001627/0.1413, allocations: 122.2 kB / 420.1 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.1414, allocations: 341.9 kB / 420.4 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004/0.1419, allocations: 193.5 kB / 420.6 MB, free: 428 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004968/0.1424, allocations: 363.8 kB / 420.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002214/0.1446, allocations: 1.131 MB / 422.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1446, allocations: 0 / 422.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001557/0.1462, allocations: 0.9312 MB / 423 MB, free: 13.85 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.1462, allocations: 12 kB / 423 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.818e-05/0.1463, allocations: 59.98 kB / 423.1 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003874/0.1467, allocations: 148.7 kB / 423.2 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00043/0.1471, allocations: 115.8 kB / 423.3 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002791/0.1499, allocations: 2.525 MB / 425.9 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000459/0.1504, allocations: 24.03 kB / 425.9 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.048e-05/0.1505, allocations: 36 kB / 425.9 MB, free: 10.8 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.0004624/0.1509, allocations: 293.5 kB / 426.2 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001717/0.1511, allocations: 190.8 kB / 426.4 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00172/0.1528, allocations: 0.8749 MB / 427.3 MB, free: 9.426 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.1529, allocations: 8 kB / 427.3 MB, free: 9.418 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1529, allocations: 0 / 427.3 MB, free: 9.418 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.1529, allocations: 7.984 kB / 427.3 MB, free: 9.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001034/0.1539, allocations: 0.8707 MB / 428.1 MB, free: 8.492 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.318e-05/0.154, allocations: 59.92 kB / 428.2 MB, free: 8.434 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000311/0.1543, allocations: 59.95 kB / 428.3 MB, free: 8.375 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003684/0.1547, allocations: 149 kB / 428.4 MB, free: 8.227 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.31e-05/0.1548, allocations: 23.98 kB / 428.4 MB, free: 8.203 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002612/0.1574, allocations: 2.486 MB / 430.9 MB, free: 5.574 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.1574, allocations: 8 kB / 430.9 MB, free: 5.566 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001837/0.1592, allocations: 1.073 MB / 432 MB, free: 4.469 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000313/0.1596, allocations: 255.9 kB / 432.2 MB, free: 4.199 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000126/0.1597, allocations: 15.94 kB / 432.3 MB, free: 4.184 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003576/0.1601, allocations: 19.97 kB / 432.3 MB, free: 4.164 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/0.1602, allocations: 52.33 kB / 432.3 MB, free: 4.113 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.272e-05/0.1602, allocations: 19.98 kB / 432.4 MB, free: 4.094 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001028/0.1613, allocations: 0.8617 MB / 433.2 MB, free: 3.242 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1613, allocations: 0 / 433.2 MB, free: 3.242 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008904/0.1622, allocations: 379.2 kB / 433.6 MB, free: 2.871 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.0007009/0.1629, allocations: 467.5 kB / 434 MB, free: 2.406 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001555/0.1644, allocations: 0.8366 MB / 434.9 MB, free: 1.543 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.1645, allocations: 4 kB / 434.9 MB, free: 1.539 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000952/0.1654, allocations: 0.5786 MB / 435.5 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007585/0.1662, allocations: 182.3 kB / 435.6 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003458/0.1697, allocations: 2.428 MB / 438.1 MB, free: 14.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000615/0.1703, allocations: 1.17 MB / 439.2 MB, free: 13.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004368/0.1707, allocations: 191.1 kB / 439.4 MB, free: 12.9 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.1709, allocations: 83.44 kB / 439.5 MB, free: 12.82 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.1709, allocations: 0 / 439.5 MB, free: 12.82 MB / 382.1 MB Notification: Performance of Templates: time 0.1922/0.3631, allocations: 13.47 MB / 453 MB, free: 72.76 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Spice3.Examples.Oscillator.makefile (rm -f Modelica_3.1_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Spice3.Examples.Oscillator.sim & ./Modelica_3.1_Modelica.Electrical.Spice3.Examples.Oscillator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1)