Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.00122/0.00122, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001623/0.001623, allocations: 190.6 kB / 16.25 MB, free: 6.617 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.171/2.171, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.001474/0.001474, allocations: 51.94 kB / 278.2 MB, free: 12.67 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4318/0.4333, allocations: 46.63 MB / 324.9 MB, free: 1.945 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.004702/0.4381, allocations: 2.732 MB / 327.6 MB, free: 15.79 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002102/0.4402, allocations: 0.6994 MB / 328.3 MB, free: 15.21 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002205/0.4405, allocations: 4.219 kB / 328.3 MB, free: 15.21 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001995/0.4408, allocations: 33.2 kB / 328.3 MB, free: 15.18 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002207/0.441, allocations: 79.86 kB / 328.4 MB, free: 15.11 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003237/0.4413, allocations: 80.03 kB / 328.5 MB, free: 15.05 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004697/0.4418, allocations: 340.7 kB / 328.8 MB, free: 14.85 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002737/0.4421, allocations: 110.9 kB / 328.9 MB, free: 14.79 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002514/0.4424, allocations: 132.4 kB / 329.1 MB, free: 14.71 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002197/0.4426, allocations: 138.1 kB / 329.2 MB, free: 14.61 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.781e-05/0.4427, allocations: 26.97 kB / 329.2 MB, free: 14.61 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.707e-05/0.4427, allocations: 28.25 kB / 329.2 MB, free: 14.61 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.937e-05/0.4428, allocations: 63.05 kB / 329.3 MB, free: 14.56 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001864/0.443, allocations: 145.2 kB / 329.4 MB, free: 14.46 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004333/0.4435, allocations: 317.8 kB / 329.8 MB, free: 14.23 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.279e-06/0.4435, allocations: 0 / 329.8 MB, free: 14.23 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.4435, allocations: 5.156 kB / 329.8 MB, free: 14.22 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.4435, allocations: 0 / 329.8 MB, free: 14.22 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.001175/0.4447, allocations: 0.5882 MB / 330.3 MB, free: 13.7 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.4447, allocations: 9.312 kB / 330.4 MB, free: 13.7 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.908e-05/0.4448, allocations: 29.16 kB / 330.4 MB, free: 13.69 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000394/0.4452, allocations: 258.6 kB / 330.6 MB, free: 13.43 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.969e-05/0.4453, allocations: 19.66 kB / 330.7 MB, free: 13.42 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.698e-05/0.4454, allocations: 31.5 kB / 330.7 MB, free: 13.4 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006285/0.4461, allocations: 250 kB / 330.9 MB, free: 13.25 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.4461, allocations: 5.438 kB / 330.9 MB, free: 13.24 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.14e-05/0.4461, allocations: 9.344 kB / 330.9 MB, free: 13.23 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.4461, allocations: 6.531 kB / 331 MB, free: 13.23 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005627/0.4467, allocations: 211.2 kB / 331.2 MB, free: 13.14 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001932/0.4487, allocations: 0.9316 MB / 332.1 MB, free: 12.37 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006186/0.4493, allocations: 186.5 kB / 332.3 MB, free: 12.27 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004278/0.4497, allocations: 155 kB / 332.4 MB, free: 12.2 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.971e-05/0.4498, allocations: 2.156 kB / 332.4 MB, free: 12.2 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.4498, allocations: 36.03 kB / 332.5 MB, free: 12.16 MB / 270.1 MB Notification: Performance of pre-optimization done (n=18): time 1.203e-06/0.4498, allocations: 0 / 332.5 MB, free: 12.16 MB / 270.1 MB Notification: Performance of matching and sorting (n=18): time 0.001803/0.4516, allocations: 0.5441 MB / 333 MB, free: 11.74 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.194e-05/0.4517, allocations: 55.41 kB / 333.1 MB, free: 11.68 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002835/0.452, allocations: 220.2 kB / 333.3 MB, free: 11.45 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.362e-05/0.452, allocations: 33.7 kB / 333.3 MB, free: 11.41 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001625/0.4522, allocations: 171.8 kB / 333.5 MB, free: 11.23 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.037e-05/0.4523, allocations: 67.09 kB / 333.5 MB, free: 11.16 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.386e-05/0.4524, allocations: 45.7 kB / 333.6 MB, free: 11.11 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.4526, allocations: 326.8 kB / 333.9 MB, free: 10.79 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.4527, allocations: 76.81 kB / 334 MB, free: 10.71 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002011/0.4529, allocations: 110 kB / 334.1 MB, free: 10.58 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003658/0.4533, allocations: 193.8 kB / 334.3 MB, free: 10.37 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.4533, allocations: 0 / 334.3 MB, free: 10.37 MB / 270.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007387/0.4541, allocations: 345.6 kB / 334.6 MB, free: 10.02 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.739e-05/0.4541, allocations: 7.938 kB / 334.6 MB, free: 10.01 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.4542, allocations: 8.188 kB / 334.6 MB, free: 10 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005909/0.4547, allocations: 104.7 kB / 334.7 MB, free: 9.898 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002357/0.455, allocations: 55.91 kB / 334.8 MB, free: 9.844 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002819/0.4578, allocations: 1.931 MB / 336.7 MB, free: 7.773 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002569/0.4581, allocations: 27.73 kB / 336.7 MB, free: 7.746 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.212e-05/0.4581, allocations: 8 kB / 336.8 MB, free: 7.738 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002641/0.4584, allocations: 148.1 kB / 336.9 MB, free: 7.59 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001587/0.4586, allocations: 110.5 kB / 337 MB, free: 7.461 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00026/0.4589, allocations: 169.7 kB / 337.2 MB, free: 7.273 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.892e-06/0.4589, allocations: 7.938 kB / 337.2 MB, free: 7.266 MB / 270.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0004961/0.4594, allocations: 246 kB / 337.4 MB, free: 7.016 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.4594, allocations: 7.984 kB / 337.4 MB, free: 7.008 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.4594, allocations: 4 kB / 337.4 MB, free: 7.004 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001562/0.4596, allocations: 44.97 kB / 337.5 MB, free: 6.957 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001866/0.4598, allocations: 51.91 kB / 337.5 MB, free: 6.906 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001952/0.4617, allocations: 1.724 MB / 339.2 MB, free: 5.047 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002133/0.462, allocations: 15.84 kB / 339.3 MB, free: 5.031 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.462, allocations: 8 kB / 339.3 MB, free: 5.023 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 (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.0002396/0.4622, allocations: 196.3 kB / 339.5 MB, free: 4.824 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.105e-05/0.4623, allocations: 15.81 kB / 339.5 MB, free: 4.809 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.395e-05/0.4624, allocations: 25.86 kB / 339.5 MB, free: 4.785 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.4624, allocations: 7.938 kB / 339.5 MB, free: 4.777 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.4624, allocations: 0 / 339.5 MB, free: 4.777 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.4624, allocations: 0 / 339.5 MB, free: 4.777 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001147/0.4636, allocations: 0.6316 MB / 340.1 MB, free: 4.086 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.4636, allocations: 0 / 340.1 MB, free: 4.086 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001777/0.4638, allocations: 27.98 kB / 340.2 MB, free: 4.059 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002705/0.4641, allocations: 76.73 kB / 340.2 MB, free: 3.98 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.4641, allocations: 0 / 340.2 MB, free: 3.98 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002292/0.4664, allocations: 1.877 MB / 342.1 MB, free: 1.965 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.4664, allocations: 0 / 342.1 MB, free: 1.965 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007341/0.4671, allocations: 414.2 kB / 342.5 MB, free: 1.543 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.008e-05/0.4673, allocations: 104.9 kB / 342.6 MB, free: 1.422 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.389e-05/0.4673, allocations: 0 / 342.6 MB, free: 1.422 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001846/0.4675, allocations: 24.05 kB / 342.7 MB, free: 1.398 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.922e-05/0.4675, allocations: 15.92 kB / 342.7 MB, free: 1.383 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.4675, allocations: 4 kB / 342.7 MB, free: 1.379 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001621/0.4677, allocations: 165.6 kB / 342.8 MB, free: 1.219 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4677, allocations: 7.938 kB / 342.8 MB, free: 1.211 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0006455/0.4684, allocations: 127.7 kB / 343 MB, free: 1.086 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 (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.0001893/0.4686, allocations: 99.25 kB / 343.1 MB, free: 0.9805 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001038/0.4696, allocations: 0.5489 MB / 343.6 MB, free: 416 kB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.4696, allocations: 4.25 kB / 343.6 MB, free: 412 kB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003356/0.47, allocations: 218.5 kB / 343.8 MB, free: 180 kB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005194/0.4705, allocations: 40.53 kB / 343.9 MB, free: 136 kB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001912/0.4724, allocations: 0.8359 MB / 344.7 MB, free: 15.27 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003628/0.4728, allocations: 0.7522 MB / 345.5 MB, free: 14.49 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001224/0.4729, allocations: 21.95 kB / 345.5 MB, free: 14.47 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.995e-05/0.473, allocations: 23.44 kB / 345.5 MB, free: 14.45 MB / 286.1 MB Notification: Performance of SimCode: time 8.42e-07/0.473, allocations: 0 / 345.5 MB, free: 14.45 MB / 286.1 MB Notification: Performance of Templates: time 0.00912/0.4821, allocations: 3.252 MB / 348.8 MB, free: 11.19 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1)