Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,tolerance=0.0001,outputFormat="empty",numberOfIntervals=1998,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001212/0.001213, allocations: 90.03 kB / 16.31 MB, free: 6 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.001563/0.001564, allocations: 179.1 kB / 17.21 MB, free: 5.902 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.022/2.022, allocations: 205.4 MB / 223.4 MB, free: 5.488 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.0004828/0.0004828, allocations: 15.98 kB / 280.2 MB, free: 12.8 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2587/0.2592, allocations: 47.59 MB / 327.7 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.002501/0.2617, allocations: 2.269 MB / 330 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001295/0.2631, allocations: 0.6631 MB / 330.7 MB, free: 15.08 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001502/0.2632, allocations: 5.25 kB / 330.7 MB, free: 15.08 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001403/0.2634, allocations: 40.84 kB / 330.7 MB, free: 15.04 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001841/0.2636, allocations: 75.7 kB / 330.8 MB, free: 14.98 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002372/0.2638, allocations: 66.59 kB / 330.9 MB, free: 14.92 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003217/0.2641, allocations: 305.8 kB / 331.2 MB, free: 14.74 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002029/0.2644, allocations: 87.28 kB / 331.2 MB, free: 14.69 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001935/0.2646, allocations: 117.7 kB / 331.4 MB, free: 14.62 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001674/0.2647, allocations: 117.6 kB / 331.5 MB, free: 14.55 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.758e-05/0.2648, allocations: 19.38 kB / 331.5 MB, free: 14.54 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.205e-05/0.2648, allocations: 14.38 kB / 331.5 MB, free: 14.54 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.034e-05/0.2649, allocations: 47.12 kB / 331.6 MB, free: 14.5 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.533e-05/0.265, allocations: 70.83 kB / 331.6 MB, free: 14.45 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002259/0.2652, allocations: 232.1 kB / 331.9 MB, free: 14.28 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.2652, allocations: 1 kB / 331.9 MB, free: 14.28 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.577e-06/0.2652, allocations: 3.984 kB / 331.9 MB, free: 14.28 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.2652, allocations: 0 / 331.9 MB, free: 14.28 MB / 270.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.0008787/0.2661, allocations: 0.5448 MB / 332.4 MB, free: 13.79 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.2662, allocations: 13.41 kB / 332.4 MB, free: 13.79 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.82e-05/0.2662, allocations: 31.34 kB / 332.4 MB, free: 13.77 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003008/0.2665, allocations: 253.7 kB / 332.7 MB, free: 13.51 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.418e-05/0.2666, allocations: 22.02 kB / 332.7 MB, free: 13.5 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.278e-05/0.2666, allocations: 23.62 kB / 332.7 MB, free: 13.49 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005129/0.2671, allocations: 242.2 kB / 333 MB, free: 13.34 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.2672, allocations: 8.859 kB / 333 MB, free: 13.34 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.687e-05/0.2672, allocations: 14.12 kB / 333 MB, free: 13.32 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.2672, allocations: 6.406 kB / 333 MB, free: 13.32 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004811/0.2677, allocations: 223.5 kB / 333.2 MB, free: 13.23 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001463/0.2692, allocations: 0.9356 MB / 334.2 MB, free: 12.46 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004538/0.2696, allocations: 198.8 kB / 334.4 MB, free: 12.36 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003697/0.27, allocations: 159.3 kB / 334.5 MB, free: 12.29 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.703e-05/0.2701, allocations: 2.344 kB / 334.5 MB, free: 12.29 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.2701, allocations: 35.81 kB / 334.5 MB, free: 12.25 MB / 270.1 MB Notification: Performance of pre-optimization done (n=18): time 1.713e-06/0.2701, allocations: 0 / 334.5 MB, free: 12.25 MB / 270.1 MB Notification: Performance of matching and sorting (n=18): time 0.001611/0.2717, allocations: 0.6227 MB / 335.2 MB, free: 11.85 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/0.2718, allocations: 55.41 kB / 335.2 MB, free: 11.79 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000239/0.272, allocations: 228.1 kB / 335.4 MB, free: 11.55 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.272, allocations: 33.7 kB / 335.5 MB, free: 11.51 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.2722, allocations: 171.9 kB / 335.6 MB, free: 11.33 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.202e-05/0.2722, allocations: 67.08 kB / 335.7 MB, free: 11.27 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.129e-05/0.2722, allocations: 8 kB / 335.7 MB, free: 11.26 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.2724, allocations: 330.8 kB / 336 MB, free: 10.93 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.2725, allocations: 67.95 kB / 336.1 MB, free: 10.86 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001743/0.2727, allocations: 118 kB / 336.2 MB, free: 10.72 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.2729, allocations: 76 kB / 336.3 MB, free: 10.65 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2729, allocations: 0 / 336.3 MB, free: 10.65 MB / 270.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007216/0.2736, allocations: 369.9 kB / 336.7 MB, free: 10.28 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.765e-05/0.2737, allocations: 134.4 kB / 336.8 MB, free: 10.12 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.2737, allocations: 4 kB / 336.8 MB, free: 10.12 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003256/0.2741, allocations: 76.69 kB / 336.9 MB, free: 10.04 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001923/0.2743, allocations: 55.97 kB / 336.9 MB, free: 9.984 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002157/0.2764, allocations: 1.807 MB / 338.7 MB, free: 8.043 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001781/0.2766, allocations: 31.77 kB / 338.8 MB, free: 8.012 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.815e-05/0.2767, allocations: 8 kB / 338.8 MB, free: 8.004 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.865e-06/0.2767, allocations: 4 kB / 338.8 MB, free: 8 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003492/0.277, allocations: 216.3 kB / 339 MB, free: 7.785 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.685e-06/0.277, allocations: 0 / 339 MB, free: 7.785 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.055e-05/0.2771, allocations: 40.83 kB / 339 MB, free: 7.742 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001648/0.2773, allocations: 47.92 kB / 339.1 MB, free: 7.695 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001267/0.2786, allocations: 1.542 MB / 340.6 MB, free: 6.023 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001445/0.2788, allocations: 23.81 kB / 340.6 MB, free: 6 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.2788, allocations: 12 kB / 340.6 MB, free: 5.988 MB / 270.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002164/0.279, allocations: 209 kB / 340.9 MB, free: 5.773 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.326e-05/0.2791, allocations: 19.81 kB / 340.9 MB, free: 5.754 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.123e-05/0.2791, allocations: 29.86 kB / 340.9 MB, free: 5.727 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.2791, allocations: 7.938 kB / 340.9 MB, free: 5.719 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.2792, allocations: 0 / 340.9 MB, free: 5.719 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.2792, allocations: 0 / 340.9 MB, free: 5.719 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009821/0.2801, allocations: 0.6472 MB / 341.6 MB, free: 5.012 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.2802, allocations: 0 / 341.6 MB, free: 5.012 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001441/0.2803, allocations: 35.98 kB / 341.6 MB, free: 4.977 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000205/0.2805, allocations: 72.8 kB / 341.7 MB, free: 4.902 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/0.2806, allocations: 8 kB / 341.7 MB, free: 4.895 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00173/0.2823, allocations: 1.737 MB / 343.4 MB, free: 3.023 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.2823, allocations: 8 kB / 343.4 MB, free: 3.016 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007487/0.2831, allocations: 438.1 kB / 343.8 MB, free: 2.57 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.648e-05/0.2832, allocations: 100.8 kB / 343.9 MB, free: 2.453 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.918e-05/0.2832, allocations: 11.98 kB / 344 MB, free: 2.441 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001725/0.2834, allocations: 20.05 kB / 344 MB, free: 2.422 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.909e-05/0.2834, allocations: 15.98 kB / 344 MB, free: 2.406 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.2834, allocations: 4 kB / 344 MB, free: 2.402 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001481/0.2836, allocations: 165.8 kB / 344.2 MB, free: 2.242 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2836, allocations: 0 / 344.2 MB, free: 2.242 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0006469/0.2842, allocations: 123.7 kB / 344.3 MB, free: 2.121 MB / 270.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001475/0.2844, allocations: 103.2 kB / 344.4 MB, free: 2.012 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001024/0.2854, allocations: 0.5715 MB / 344.9 MB, free: 1.414 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.2854, allocations: 0 / 344.9 MB, free: 1.414 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002878/0.2857, allocations: 214.6 kB / 345.2 MB, free: 1.191 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004571/0.2862, allocations: 36.84 kB / 345.2 MB, free: 1.152 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001814/0.288, allocations: 0.9411 MB / 346.1 MB, free: 188 kB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003915/0.2884, allocations: 0.7522 MB / 346.9 MB, free: 15.4 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001214/0.2886, allocations: 21.95 kB / 346.9 MB, free: 15.38 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.577e-05/0.2886, allocations: 19.44 kB / 346.9 MB, free: 15.36 MB / 286.1 MB Notification: Performance of SimCode: time 2.004e-06/0.2886, allocations: 0 / 346.9 MB, free: 15.36 MB / 286.1 MB Notification: Performance of Templates: time 0.007689/0.2963, allocations: 2.952 MB / 349.9 MB, free: 12.41 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1)