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.001145/0.001145, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.01089/0.01089, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.064/2.064, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.0005039/0.0005039, allocations: 12 kB / 279.5 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3539/0.3544, allocations: 47.59 MB / 327 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.002923/0.3574, allocations: 2.361 MB / 329.4 MB, free: 15.53 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001269/0.3587, allocations: 0.6949 MB / 330.1 MB, free: 14.96 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001472/0.3589, allocations: 4.094 kB / 330.1 MB, free: 14.96 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001544/0.359, allocations: 37.47 kB / 330.1 MB, free: 14.93 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002099/0.3593, allocations: 72.09 kB / 330.2 MB, free: 14.86 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002712/0.3595, allocations: 86.33 kB / 330.3 MB, free: 14.79 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003789/0.3599, allocations: 321.5 kB / 330.6 MB, free: 14.61 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002282/0.3602, allocations: 93.03 kB / 330.7 MB, free: 14.55 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002084/0.3604, allocations: 113 kB / 330.8 MB, free: 14.49 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001979/0.3606, allocations: 130.3 kB / 330.9 MB, free: 14.4 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.998e-05/0.3606, allocations: 14.94 kB / 331 MB, free: 14.4 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.292e-05/0.3607, allocations: 14.59 kB / 331 MB, free: 14.4 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.199e-05/0.3607, allocations: 43.41 kB / 331 MB, free: 14.37 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00015/0.3609, allocations: 160.5 kB / 331.2 MB, free: 14.25 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003597/0.3613, allocations: 299.4 kB / 331.5 MB, free: 14.03 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3613, allocations: 0 / 331.5 MB, free: 14.03 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3613, allocations: 0 / 331.5 MB, free: 14.03 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.523e-06/0.3613, allocations: 1.125 kB / 331.5 MB, free: 14.03 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.001052/0.3624, allocations: 0.5414 MB / 332 MB, free: 13.54 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.397e-05/0.3624, allocations: 13.22 kB / 332 MB, free: 13.54 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.802e-05/0.3625, allocations: 36.36 kB / 332 MB, free: 13.52 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003793/0.3629, allocations: 262.7 kB / 332.3 MB, free: 13.25 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.3e-05/0.363, allocations: 19.28 kB / 332.3 MB, free: 13.24 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.667e-05/0.363, allocations: 25 kB / 332.3 MB, free: 13.23 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005067/0.3636, allocations: 243.9 kB / 332.6 MB, free: 13.09 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.3636, allocations: 0 / 332.6 MB, free: 13.09 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.502e-05/0.3636, allocations: 11.41 kB / 332.6 MB, free: 13.08 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.53e-05/0.3637, allocations: 9.062 kB / 332.6 MB, free: 13.07 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005089/0.3642, allocations: 229.1 kB / 332.8 MB, free: 12.98 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001727/0.3659, allocations: 0.9401 MB / 333.8 MB, free: 12.21 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005583/0.3665, allocations: 197.6 kB / 334 MB, free: 12.11 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003721/0.3669, allocations: 157.6 kB / 334.1 MB, free: 12.04 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.998e-05/0.3669, allocations: 5.234 kB / 334.1 MB, free: 12.04 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.3669, allocations: 40.8 kB / 334.2 MB, free: 11.99 MB / 270.1 MB Notification: Performance of pre-optimization done (n=18): time 1.583e-06/0.3669, allocations: 0 / 334.2 MB, free: 11.99 MB / 270.1 MB Notification: Performance of matching and sorting (n=18): time 0.001822/0.3688, allocations: 0.6247 MB / 334.8 MB, free: 11.4 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.345e-05/0.3688, allocations: 55.41 kB / 334.8 MB, free: 11.33 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002969/0.3691, allocations: 228.2 kB / 335.1 MB, free: 11.09 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.3692, allocations: 29.7 kB / 335.1 MB, free: 11.06 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.3693, allocations: 175.9 kB / 335.3 MB, free: 10.88 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.221e-05/0.3694, allocations: 63.02 kB / 335.3 MB, free: 10.82 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.202e-05/0.3695, allocations: 25.7 kB / 335.4 MB, free: 10.79 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.3697, allocations: 334.8 kB / 335.7 MB, free: 10.45 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/0.3698, allocations: 63.97 kB / 335.7 MB, free: 10.39 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002032/0.37, allocations: 126 kB / 335.9 MB, free: 10.24 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003337/0.3704, allocations: 197.8 kB / 336.1 MB, free: 10.03 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.3704, allocations: 0 / 336.1 MB, free: 10.03 MB / 270.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008161/0.3712, allocations: 369.8 kB / 336.4 MB, free: 9.656 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001025/0.3713, allocations: 138.2 kB / 336.6 MB, free: 9.496 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.3713, allocations: 0 / 336.6 MB, free: 9.496 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005634/0.3719, allocations: 136.8 kB / 336.7 MB, free: 9.359 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001961/0.3721, allocations: 55.84 kB / 336.7 MB, free: 9.305 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002615/0.3747, allocations: 1.815 MB / 338.6 MB, free: 7.355 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002269/0.375, allocations: 35.73 kB / 338.6 MB, free: 7.32 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.945e-05/0.375, allocations: 12 kB / 338.6 MB, free: 7.309 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.375, allocations: 4 kB / 338.6 MB, free: 7.305 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003842/0.3754, allocations: 204.4 kB / 338.8 MB, free: 7.102 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.3754, allocations: 4 kB / 338.8 MB, free: 7.098 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001035/0.3755, allocations: 44.95 kB / 338.9 MB, free: 7.051 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001764/0.3757, allocations: 47.98 kB / 338.9 MB, free: 7.004 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001291/0.377, allocations: 1.538 MB / 340.4 MB, free: 5.336 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001717/0.3772, allocations: 15.88 kB / 340.5 MB, free: 5.32 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.3772, allocations: 11.94 kB / 340.5 MB, free: 5.309 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.0002241/0.3775, allocations: 209.1 kB / 340.7 MB, free: 5.094 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.954e-05/0.3775, allocations: 27.66 kB / 340.7 MB, free: 5.066 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.619e-05/0.3776, allocations: 29.92 kB / 340.7 MB, free: 5.039 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.3776, allocations: 0 / 340.7 MB, free: 5.039 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.3776, allocations: 0 / 340.7 MB, free: 5.039 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.3776, allocations: 0 / 340.7 MB, free: 5.039 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/0.3787, allocations: 0.6511 MB / 341.4 MB, free: 4.328 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.3787, allocations: 0 / 341.4 MB, free: 4.328 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001585/0.3789, allocations: 39.92 kB / 341.4 MB, free: 4.289 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002397/0.3791, allocations: 72.8 kB / 341.5 MB, free: 4.215 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.3791, allocations: 0 / 341.5 MB, free: 4.215 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002065/0.3812, allocations: 1.748 MB / 343.2 MB, free: 2.332 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3812, allocations: 0 / 343.2 MB, free: 2.332 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007684/0.382, allocations: 450 kB / 343.7 MB, free: 1.875 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.416e-05/0.3821, allocations: 96.91 kB / 343.8 MB, free: 1.762 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.317e-05/0.3821, allocations: 0 / 343.8 MB, free: 1.762 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001862/0.3823, allocations: 23.98 kB / 343.8 MB, free: 1.738 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.629e-05/0.3824, allocations: 7.984 kB / 343.8 MB, free: 1.73 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/0.3824, allocations: 16 kB / 343.8 MB, free: 1.715 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001914/0.3826, allocations: 169.6 kB / 344 MB, free: 1.551 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3826, allocations: 0 / 344 MB, free: 1.551 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0006518/0.3833, allocations: 135.5 kB / 344.1 MB, free: 1.418 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.0002309/0.3835, allocations: 103.2 kB / 344.2 MB, free: 1.309 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001214/0.3847, allocations: 0.5711 MB / 344.8 MB, free: 0.7109 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.3847, allocations: 3.938 kB / 344.8 MB, free: 0.707 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003649/0.3851, allocations: 219.2 kB / 345 MB, free: 492 kB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005049/0.3856, allocations: 36.59 kB / 345 MB, free: 452 kB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002195/0.3878, allocations: 0.9648 MB / 346 MB, free: 15.45 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004525/0.3883, allocations: 0.7561 MB / 346.8 MB, free: 14.66 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001397/0.3884, allocations: 25.89 kB / 346.8 MB, free: 14.64 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.947e-05/0.3885, allocations: 15.44 kB / 346.8 MB, free: 14.62 MB / 286.1 MB Notification: Performance of SimCode: time 1.142e-06/0.3885, allocations: 0 / 346.8 MB, free: 14.62 MB / 286.1 MB Notification: Performance of Templates: time 0.007732/0.3962, allocations: 3.042 MB / 349.8 MB, free: 11.58 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)