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.007688/0.007688, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.00118/0.00118, allocations: 198.6 kB / 16.67 MB, free: 5.934 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.009/2.009, 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.001333/0.001333, allocations: 52.28 kB / 326.6 MB, free: 14.4 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1403, allocations: 46.62 MB / 373.2 MB, free: 1.297 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.005116/0.1455, allocations: 2.671 MB / 375.9 MB, free: 14.61 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001899/0.1474, allocations: 0.7135 MB / 376.6 MB, free: 13.89 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001927/0.1476, allocations: 7.938 kB / 376.6 MB, free: 13.88 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002286/0.1479, allocations: 43.56 kB / 376.6 MB, free: 13.84 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002339/0.1482, allocations: 91.25 kB / 376.7 MB, free: 13.75 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004178/0.1486, allocations: 87.81 kB / 376.8 MB, free: 13.66 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005283/0.1491, allocations: 346.4 kB / 377.2 MB, free: 13.32 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003107/0.1494, allocations: 113.7 kB / 377.3 MB, free: 13.21 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002506/0.1497, allocations: 131.5 kB / 377.4 MB, free: 13.08 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002427/0.15, allocations: 147.4 kB / 377.5 MB, free: 12.93 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.546e-05/0.15, allocations: 31.94 kB / 377.6 MB, free: 12.9 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.871e-05/0.1501, allocations: 24 kB / 377.6 MB, free: 12.88 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.577e-05/0.1502, allocations: 67.7 kB / 377.7 MB, free: 12.81 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000248/0.1504, allocations: 143.3 kB / 377.8 MB, free: 12.67 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005759/0.151, allocations: 318.6 kB / 378.1 MB, free: 12.36 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.151, allocations: 0 / 378.1 MB, free: 12.36 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.151, allocations: 0 / 378.1 MB, free: 12.36 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.698e-06/0.1511, allocations: 0 / 378.1 MB, free: 12.36 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.001294/0.1524, allocations: 0.5962 MB / 378.7 MB, free: 11.71 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.196e-05/0.1524, allocations: 16.03 kB / 378.7 MB, free: 11.7 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.815e-05/0.1525, allocations: 32.75 kB / 378.8 MB, free: 11.67 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006215/0.1532, allocations: 267.8 kB / 379 MB, free: 11.37 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.9e-05/0.1532, allocations: 16.94 kB / 379 MB, free: 11.35 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.986e-05/0.1533, allocations: 28.33 kB / 379.1 MB, free: 11.32 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006063/0.1539, allocations: 249.2 kB / 379.3 MB, free: 11.07 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.1539, allocations: 0 / 379.3 MB, free: 11.07 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.534e-05/0.154, allocations: 15.98 kB / 379.3 MB, free: 11.06 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/0.154, allocations: 8 kB / 379.3 MB, free: 11.05 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005036/0.1545, allocations: 214.1 kB / 379.5 MB, free: 10.84 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001797/0.1563, allocations: 0.9138 MB / 380.5 MB, free: 9.859 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005302/0.1569, allocations: 186.5 kB / 380.6 MB, free: 9.668 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004174/0.1573, allocations: 152.7 kB / 380.8 MB, free: 9.516 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.793e-05/0.1573, allocations: 8 kB / 380.8 MB, free: 9.508 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.832e-05/0.1574, allocations: 30.56 kB / 380.8 MB, free: 9.469 MB / 318.1 MB Notification: Performance of pre-optimization done (n=18): time 1.313e-06/0.1574, allocations: 0 / 380.8 MB, free: 9.469 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.001811/0.1592, allocations: 0.5382 MB / 381.4 MB, free: 8.902 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.964e-05/0.1593, allocations: 51.41 kB / 381.4 MB, free: 8.84 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003187/0.1596, allocations: 232.2 kB / 381.6 MB, free: 8.602 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.735e-05/0.1597, allocations: 29.7 kB / 381.7 MB, free: 8.566 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001701/0.1598, allocations: 180.2 kB / 381.8 MB, free: 8.387 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.284e-05/0.1599, allocations: 71.41 kB / 381.9 MB, free: 8.316 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.179e-05/0.16, allocations: 49.66 kB / 382 MB, free: 8.262 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.1602, allocations: 326.8 kB / 382.3 MB, free: 7.934 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001927/0.1604, allocations: 68.81 kB / 382.3 MB, free: 7.863 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001882/0.1606, allocations: 129.9 kB / 382.5 MB, free: 7.715 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003139/0.1609, allocations: 181.8 kB / 382.6 MB, free: 7.516 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.1609, allocations: 0 / 382.6 MB, free: 7.516 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007384/0.1617, allocations: 338 kB / 383 MB, free: 7.176 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.1617, allocations: 8 kB / 383 MB, free: 7.168 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.1617, allocations: 0 / 383 MB, free: 7.168 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000541/0.1623, allocations: 120.7 kB / 383.1 MB, free: 7.047 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001966/0.1625, allocations: 47.91 kB / 383.2 MB, free: 7 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002961/0.1654, allocations: 1.927 MB / 385.1 MB, free: 4.934 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002258/0.1657, allocations: 31.89 kB / 385.1 MB, free: 4.902 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.102e-05/0.1657, allocations: 12 kB / 385.1 MB, free: 4.891 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002653/0.166, allocations: 152.1 kB / 385.3 MB, free: 4.738 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000163/0.1662, allocations: 102 kB / 385.4 MB, free: 4.617 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002595/0.1664, allocations: 166 kB / 385.5 MB, free: 4.434 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.096e-06/0.1664, allocations: 3.938 kB / 385.5 MB, free: 4.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0005216/0.167, allocations: 258.2 kB / 385.8 MB, free: 4.168 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.167, allocations: 8 kB / 385.8 MB, free: 4.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.167, allocations: 0 / 385.8 MB, free: 4.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001527/0.1672, allocations: 48.72 kB / 385.8 MB, free: 4.109 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002019/0.1674, allocations: 47.97 kB / 385.9 MB, free: 4.062 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001895/0.1693, allocations: 1.721 MB / 387.6 MB, free: 2.203 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000154/0.1694, allocations: 19.95 kB / 387.6 MB, free: 2.184 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.1695, allocations: 15.88 kB / 387.6 MB, free: 2.168 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.0002304/0.1697, allocations: 192.2 kB / 387.8 MB, free: 1.973 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.894e-05/0.1698, allocations: 23.86 kB / 387.9 MB, free: 1.949 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.694e-05/0.1698, allocations: 25.86 kB / 387.9 MB, free: 1.922 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.1699, allocations: 3.938 kB / 387.9 MB, free: 1.918 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.1699, allocations: 0 / 387.9 MB, free: 1.918 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.1699, allocations: 4 kB / 387.9 MB, free: 1.914 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001067/0.171, allocations: 0.6319 MB / 388.5 MB, free: 1.223 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.171, allocations: 0 / 388.5 MB, free: 1.223 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001571/0.1711, allocations: 27.98 kB / 388.5 MB, free: 1.195 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003153/0.1715, allocations: 72.8 kB / 388.6 MB, free: 1.121 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.787e-05/0.1715, allocations: 4 kB / 388.6 MB, free: 1.117 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002237/0.1737, allocations: 1.873 MB / 390.5 MB, free: 15.1 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1737, allocations: 0 / 390.5 MB, free: 15.1 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007763/0.1745, allocations: 412.6 kB / 390.9 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.1746, allocations: 112.9 kB / 391 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.521e-05/0.1747, allocations: 0 / 391 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002051/0.1749, allocations: 19.98 kB / 391 MB, free: 14.53 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.086e-05/0.1749, allocations: 19.98 kB / 391 MB, free: 14.51 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.175, allocations: 4 kB / 391.1 MB, free: 14.51 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001907/0.1752, allocations: 169.6 kB / 391.2 MB, free: 14.34 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1752, allocations: 0 / 391.2 MB, free: 14.34 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007079/0.1759, allocations: 127.8 kB / 391.3 MB, free: 14.22 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.000209/0.1761, allocations: 99.25 kB / 391.4 MB, free: 14.11 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001138/0.1772, allocations: 0.5524 MB / 392 MB, free: 13.53 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 8.726e-06/0.1773, allocations: 0.75 kB / 392 MB, free: 13.53 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000321/0.1776, allocations: 226.4 kB / 392.2 MB, free: 13.3 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004364/0.178, allocations: 40.84 kB / 392.3 MB, free: 13.25 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002061/0.1801, allocations: 0.7479 MB / 393 MB, free: 12.48 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004273/0.1806, allocations: 0.7559 MB / 393.8 MB, free: 11.7 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001079/0.1807, allocations: 25.94 kB / 393.8 MB, free: 11.68 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.829e-05/0.1807, allocations: 19.44 kB / 393.8 MB, free: 11.66 MB / 334.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1807, allocations: 0 / 393.8 MB, free: 11.66 MB / 334.1 MB Notification: Performance of Templates: time 0.008037/0.1888, allocations: 3.306 MB / 397.1 MB, free: 8.344 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)