Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.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.Analog.Examples.OpAmps.LCOscillator,tolerance=0.0001,outputFormat="empty",numberOfIntervals=1998,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,tolerance=0.0001,outputFormat="empty",numberOfIntervals=1998,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00985/0.00985, allocations: 106.8 kB / 15.74 MB, free: 6.039 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.00159/0.00159, allocations: 195.2 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.131/2.131, allocations: 205.1 MB / 222.5 MB, free: 4.508 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.001278/0.001278, allocations: 50.53 kB / 326.6 MB, free: 14.34 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1448, allocations: 46.63 MB / 373.2 MB, free: 1.285 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.005157/0.15, allocations: 2.664 MB / 375.9 MB, free: 14.61 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002086/0.1521, allocations: 0.7251 MB / 376.6 MB, free: 13.87 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002136/0.1524, allocations: 4 kB / 376.6 MB, free: 13.87 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002294/0.1527, allocations: 47.52 kB / 376.6 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002429/0.1529, allocations: 83.25 kB / 376.7 MB, free: 13.74 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003495/0.1533, allocations: 87.89 kB / 376.8 MB, free: 13.65 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005249/0.1538, allocations: 346.4 kB / 377.2 MB, free: 13.31 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003155/0.1542, allocations: 117.6 kB / 377.3 MB, free: 13.2 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002532/0.1544, allocations: 131.5 kB / 377.4 MB, free: 13.07 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002088/0.1546, allocations: 143.3 kB / 377.5 MB, free: 12.93 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.078e-05/0.1547, allocations: 28 kB / 377.6 MB, free: 12.9 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.833e-05/0.1548, allocations: 28 kB / 377.6 MB, free: 12.87 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.49e-05/0.1549, allocations: 67.75 kB / 377.7 MB, free: 12.8 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001777/0.1551, allocations: 143.3 kB / 377.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004412/0.1555, allocations: 322.8 kB / 378.1 MB, free: 12.35 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.1555, allocations: 4 kB / 378.1 MB, free: 12.34 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.1555, allocations: 0 / 378.1 MB, free: 12.34 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.03e-05/0.1556, allocations: 0 / 378.1 MB, free: 12.34 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001122/0.1567, allocations: 0.5849 MB / 378.7 MB, free: 11.71 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.1567, allocations: 8.031 kB / 378.7 MB, free: 11.7 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.308e-05/0.1568, allocations: 44.55 kB / 378.8 MB, free: 11.66 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005085/0.1573, allocations: 259.8 kB / 379 MB, free: 11.37 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.589e-05/0.1574, allocations: 20.94 kB / 379 MB, free: 11.35 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.532e-05/0.1574, allocations: 24.38 kB / 379.1 MB, free: 11.32 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004711/0.1579, allocations: 249.1 kB / 379.3 MB, free: 11.07 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.158, allocations: 0 / 379.3 MB, free: 11.07 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.117e-05/0.158, allocations: 16 kB / 379.3 MB, free: 11.06 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/0.158, allocations: 4 kB / 379.3 MB, free: 11.05 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004628/0.1585, allocations: 218.1 kB / 379.5 MB, free: 10.84 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001612/0.1601, allocations: 0.9134 MB / 380.4 MB, free: 9.859 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005194/0.1606, allocations: 190.6 kB / 380.6 MB, free: 9.664 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003888/0.161, allocations: 148.7 kB / 380.8 MB, free: 9.516 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.22e-05/0.1611, allocations: 0 / 380.8 MB, free: 9.516 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.519e-05/0.1611, allocations: 46.55 kB / 380.8 MB, free: 9.461 MB / 318.1 MB Notification: Performance of pre-optimization done (n=18): time 1.473e-06/0.1611, allocations: 0 / 380.8 MB, free: 9.461 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.001566/0.1627, allocations: 0.5341 MB / 381.4 MB, free: 8.898 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.398e-05/0.1628, allocations: 55.41 kB / 381.4 MB, free: 8.832 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002614/0.163, allocations: 224.2 kB / 381.6 MB, free: 8.602 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.821e-05/0.1631, allocations: 33.7 kB / 381.7 MB, free: 8.562 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/0.1632, allocations: 175.8 kB / 381.8 MB, free: 8.387 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.449e-05/0.1633, allocations: 67.02 kB / 381.9 MB, free: 8.32 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.162e-05/0.1634, allocations: 45.7 kB / 381.9 MB, free: 8.27 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.1636, allocations: 330.8 kB / 382.3 MB, free: 7.938 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001458/0.1637, allocations: 68.83 kB / 382.3 MB, free: 7.867 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001846/0.1639, allocations: 126 kB / 382.5 MB, free: 7.723 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003359/0.1643, allocations: 189.7 kB / 382.6 MB, free: 7.516 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.1643, allocations: 0 / 382.6 MB, free: 7.516 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007047/0.165, allocations: 337.9 kB / 383 MB, free: 7.176 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.165, allocations: 7.984 kB / 383 MB, free: 7.168 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.689e-06/0.165, allocations: 4 kB / 383 MB, free: 7.164 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004854/0.1655, allocations: 104.8 kB / 383.1 MB, free: 7.059 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001902/0.1657, allocations: 55.91 kB / 383.1 MB, free: 7.004 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002579/0.1683, allocations: 1.923 MB / 385.1 MB, free: 4.941 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001927/0.1685, allocations: 31.77 kB / 385.1 MB, free: 4.91 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.909e-05/0.1686, allocations: 12 kB / 385.1 MB, free: 4.898 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002041/0.1688, allocations: 152.1 kB / 385.2 MB, free: 4.746 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001267/0.1689, allocations: 102 kB / 385.3 MB, free: 4.625 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002491/0.1692, allocations: 173.9 kB / 385.5 MB, free: 4.434 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.741e-06/0.1692, allocations: 7.938 kB / 385.5 MB, free: 4.426 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0004195/0.1696, allocations: 254 kB / 385.8 MB, free: 4.168 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.1696, allocations: 4 kB / 385.8 MB, free: 4.164 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.1696, allocations: 4 kB / 385.8 MB, free: 4.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001264/0.1698, allocations: 44.77 kB / 385.8 MB, free: 4.113 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001774/0.17, allocations: 47.92 kB / 385.9 MB, free: 4.066 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001489/0.1714, allocations: 1.717 MB / 387.6 MB, free: 2.211 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001556/0.1716, allocations: 27.75 kB / 387.6 MB, free: 2.184 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.127e-05/0.1717, allocations: 8 kB / 387.6 MB, free: 2.176 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001643/0.1718, allocations: 200.1 kB / 387.8 MB, free: 1.973 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.09e-05/0.1719, allocations: 15.81 kB / 387.8 MB, free: 1.957 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.701e-05/0.1719, allocations: 25.86 kB / 387.9 MB, free: 1.93 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.172, allocations: 7.938 kB / 387.9 MB, free: 1.922 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.172, allocations: 0 / 387.9 MB, free: 1.922 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.172, allocations: 0 / 387.9 MB, free: 1.922 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.173, allocations: 0.6241 MB / 388.5 MB, free: 1.238 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.173, allocations: 0 / 388.5 MB, free: 1.238 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000157/0.1732, allocations: 35.98 kB / 388.5 MB, free: 1.203 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000232/0.1734, allocations: 68.73 kB / 388.6 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/0.1734, allocations: 8 kB / 388.6 MB, free: 1.125 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002115/0.1755, allocations: 1.873 MB / 390.5 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1756, allocations: 0 / 390.5 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007014/0.1763, allocations: 416.5 kB / 390.9 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.499e-05/0.1764, allocations: 100.7 kB / 391 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.779e-05/0.1764, allocations: 8 kB / 391 MB, free: 14.56 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.1766, allocations: 11.98 kB / 391 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.645e-05/0.1766, allocations: 20.05 kB / 391 MB, free: 14.53 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.1767, allocations: 7.984 kB / 391 MB, free: 14.52 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001692/0.1768, allocations: 165.6 kB / 391.2 MB, free: 14.36 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1768, allocations: 0 / 391.2 MB, free: 14.36 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006522/0.1775, allocations: 131.7 kB / 391.3 MB, free: 14.23 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (c.v,l.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001963/0.1777, allocations: 95.25 kB / 391.4 MB, free: 14.12 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001099/0.1788, allocations: 0.5407 MB / 392 MB, free: 13.56 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.1788, allocations: 4.75 kB / 392 MB, free: 13.55 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003214/0.1792, allocations: 218.6 kB / 392.2 MB, free: 13.33 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004336/0.1796, allocations: 40.84 kB / 392.2 MB, free: 13.29 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001919/0.1815, allocations: 0.7447 MB / 393 MB, free: 12.52 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005365/0.1821, allocations: 0.7598 MB / 393.7 MB, free: 11.73 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001257/0.1822, allocations: 25.92 kB / 393.7 MB, free: 11.71 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.903e-05/0.1823, allocations: 19.44 kB / 393.8 MB, free: 11.69 MB / 334.1 MB Notification: Performance of SimCode: time 7.02e-07/0.1823, allocations: 0 / 393.8 MB, free: 11.69 MB / 334.1 MB Notification: Performance of Templates: time 0.009367/0.1917, allocations: 3.299 MB / 397.1 MB, free: 8.383 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1)