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.01097/0.01097, allocations: 99.59 kB / 15.73 MB, free: 6.5 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.002043/0.002043, allocations: 199.6 kB / 16.68 MB, free: 6.371 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.071/2.071, allocations: 205.1 MB / 222.5 MB, free: 4.551 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.001322/0.001322, allocations: 50.23 kB / 326.6 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.15, allocations: 46.62 MB / 373.2 MB, free: 1.277 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.004981/0.1551, allocations: 2.664 MB / 375.9 MB, free: 14.6 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00199/0.1571, allocations: 0.7173 MB / 376.6 MB, free: 13.87 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001692/0.1573, allocations: 8 kB / 376.6 MB, free: 13.86 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002201/0.1576, allocations: 47.5 kB / 376.6 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000222/0.1578, allocations: 87.25 kB / 376.7 MB, free: 13.73 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003135/0.1581, allocations: 91.81 kB / 376.8 MB, free: 13.64 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004467/0.1586, allocations: 338.5 kB / 377.1 MB, free: 13.31 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003489/0.1589, allocations: 121.6 kB / 377.3 MB, free: 13.19 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002579/0.1592, allocations: 123.6 kB / 377.4 MB, free: 13.07 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002179/0.1594, allocations: 147.3 kB / 377.5 MB, free: 12.92 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.083e-05/0.1595, allocations: 32 kB / 377.6 MB, free: 12.89 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.36e-05/0.1595, allocations: 28 kB / 377.6 MB, free: 12.86 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.035e-05/0.1596, allocations: 63.77 kB / 377.7 MB, free: 12.8 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001683/0.1598, allocations: 147.2 kB / 377.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004668/0.1603, allocations: 318.6 kB / 378.1 MB, free: 12.34 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.1603, allocations: 0 / 378.1 MB, free: 12.34 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.1603, allocations: 0 / 378.1 MB, free: 12.34 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.93e-05/0.1603, allocations: 4 kB / 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.001194/0.1615, allocations: 0.5962 MB / 378.7 MB, free: 11.7 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.779e-05/0.1616, allocations: 8.031 kB / 378.7 MB, free: 11.69 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.765e-05/0.1617, allocations: 32.75 kB / 378.7 MB, free: 11.66 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005506/0.1623, allocations: 267.8 kB / 379 MB, free: 11.36 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.84e-05/0.1623, allocations: 20.94 kB / 379 MB, free: 11.34 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.808e-05/0.1624, allocations: 28.33 kB / 379.1 MB, free: 11.31 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005959/0.163, allocations: 245.2 kB / 379.3 MB, free: 11.06 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.163, allocations: 0 / 379.3 MB, free: 11.06 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.673e-05/0.1631, allocations: 12 kB / 379.3 MB, free: 11.05 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/0.1631, allocations: 8 kB / 379.3 MB, free: 11.04 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005248/0.1636, allocations: 214.1 kB / 379.5 MB, free: 10.84 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001834/0.1655, allocations: 0.9215 MB / 380.4 MB, free: 9.844 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000505/0.166, allocations: 183.7 kB / 380.6 MB, free: 9.656 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003969/0.1664, allocations: 156.7 kB / 380.8 MB, free: 9.5 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.07e-05/0.1664, allocations: 4 kB / 380.8 MB, free: 9.496 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/0.1665, allocations: 34.56 kB / 380.8 MB, free: 9.453 MB / 318.1 MB Notification: Performance of pre-optimization done (n=18): time 1.653e-06/0.1665, allocations: 4 kB / 380.8 MB, free: 9.449 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.0016/0.1681, allocations: 0.5348 MB / 381.4 MB, free: 8.887 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.757e-05/0.1682, allocations: 55.41 kB / 381.4 MB, free: 8.82 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000242/0.1685, allocations: 228.2 kB / 381.6 MB, free: 8.586 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.1685, allocations: 25.7 kB / 381.7 MB, free: 8.555 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.1686, allocations: 184.2 kB / 381.8 MB, free: 8.371 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.427e-05/0.1687, allocations: 71.41 kB / 381.9 MB, free: 8.301 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.545e-05/0.1688, allocations: 49.66 kB / 382 MB, free: 8.246 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.169, allocations: 326.8 kB / 382.3 MB, free: 7.918 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001647/0.1691, allocations: 68.83 kB / 382.3 MB, free: 7.848 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001798/0.1693, allocations: 118 kB / 382.5 MB, free: 7.711 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003068/0.1696, allocations: 197.7 kB / 382.7 MB, free: 7.496 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1697, allocations: 0 / 382.7 MB, free: 7.496 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007378/0.1704, allocations: 342 kB / 383 MB, free: 7.152 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.1704, allocations: 4 kB / 383 MB, free: 7.148 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.1705, allocations: 3.984 kB / 383 MB, free: 7.145 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005064/0.171, allocations: 116.8 kB / 383.1 MB, free: 7.027 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001846/0.1712, allocations: 43.92 kB / 383.1 MB, free: 6.984 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002972/0.1741, allocations: 1.931 MB / 385.1 MB, free: 4.914 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001968/0.1744, allocations: 27.88 kB / 385.1 MB, free: 4.887 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.726e-05/0.1744, allocations: 8.047 kB / 385.1 MB, free: 4.879 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002015/0.1746, allocations: 156.1 kB / 385.3 MB, free: 4.723 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001416/0.1747, allocations: 102 kB / 385.4 MB, free: 4.602 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002503/0.175, allocations: 169.9 kB / 385.5 MB, free: 4.414 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.55e-06/0.175, allocations: 3.938 kB / 385.5 MB, free: 4.41 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0004888/0.1755, allocations: 250.3 kB / 385.8 MB, free: 4.156 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.1755, allocations: 8 kB / 385.8 MB, free: 4.148 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.1756, allocations: 0 / 385.8 MB, free: 4.148 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001525/0.1757, allocations: 48.77 kB / 385.8 MB, free: 4.098 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/0.1759, allocations: 55.84 kB / 385.9 MB, free: 4.043 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001512/0.1774, allocations: 1.717 MB / 387.6 MB, free: 2.188 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001454/0.1776, allocations: 20.11 kB / 387.6 MB, free: 2.168 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/0.1776, allocations: 8.062 kB / 387.6 MB, free: 2.16 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.0002116/0.1778, allocations: 200.1 kB / 387.8 MB, free: 1.957 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.728e-05/0.1779, allocations: 23.86 kB / 387.9 MB, free: 1.934 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.524e-05/0.178, allocations: 25.86 kB / 387.9 MB, free: 1.906 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.816e-06/0.178, allocations: 7.938 kB / 387.9 MB, free: 1.898 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.178, allocations: 0 / 387.9 MB, free: 1.898 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.178, allocations: 0 / 387.9 MB, free: 1.898 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/0.1792, allocations: 0.6281 MB / 388.5 MB, free: 1.211 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.1792, allocations: 0 / 388.5 MB, free: 1.211 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001551/0.1793, allocations: 35.92 kB / 388.6 MB, free: 1.176 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002405/0.1796, allocations: 68.8 kB / 388.6 MB, free: 1.105 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.674e-05/0.1796, allocations: 3.984 kB / 388.6 MB, free: 1.102 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002575/0.1822, allocations: 1.873 MB / 390.5 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.1822, allocations: 4.031 kB / 390.5 MB, free: 15.08 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007245/0.1829, allocations: 412.5 kB / 390.9 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.682e-05/0.183, allocations: 108.9 kB / 391 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.743e-05/0.1831, allocations: 4 kB / 391 MB, free: 14.53 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/0.1833, allocations: 15.98 kB / 391 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.218e-05/0.1833, allocations: 11.98 kB / 391 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.175e-05/0.1833, allocations: 12.06 kB / 391.1 MB, free: 14.49 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001848/0.1835, allocations: 165.6 kB / 391.2 MB, free: 14.33 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1835, allocations: 0 / 391.2 MB, free: 14.33 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007019/0.1842, allocations: 127.8 kB / 391.3 MB, free: 14.21 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.0001786/0.1844, allocations: 111.1 kB / 391.4 MB, free: 14.09 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001105/0.1855, allocations: 0.5477 MB / 392 MB, free: 13.51 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1855, allocations: 0 / 392 MB, free: 13.51 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003028/0.1859, allocations: 215.2 kB / 392.2 MB, free: 13.29 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003726/0.1862, allocations: 41.36 kB / 392.2 MB, free: 13.25 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001758/0.188, allocations: 0.7478 MB / 393 MB, free: 12.47 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004364/0.1885, allocations: 0.7559 MB / 393.7 MB, free: 11.69 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001188/0.1886, allocations: 25.94 kB / 393.8 MB, free: 11.67 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.081e-05/0.1886, allocations: 15.44 kB / 393.8 MB, free: 11.65 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1886, allocations: 0 / 393.8 MB, free: 11.65 MB / 334.1 MB Notification: Performance of Templates: time 0.007911/0.1966, allocations: 3.314 MB / 397.1 MB, free: 8.332 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)