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.001369/0.001369, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001446/0.001446, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.031/2.031, allocations: 205.4 MB / 222.1 MB, free: 5.535 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.0007042/0.0007046, allocations: 12 kB / 278.9 MB, free: 12.71 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.3367, allocations: 47.58 MB / 326.5 MB, free: 1.445 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.004004/0.3408, allocations: 2.152 MB / 328.6 MB, free: 15.76 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002625/0.3435, allocations: 0.6865 MB / 329.3 MB, free: 15.2 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006493/0.3442, allocations: 4.656 kB / 329.3 MB, free: 15.2 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001906/0.3444, allocations: 34.62 kB / 329.3 MB, free: 15.17 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004542/0.3449, allocations: 103.4 kB / 329.4 MB, free: 15.08 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003283/0.3453, allocations: 74.59 kB / 329.5 MB, free: 15.02 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003972/0.3457, allocations: 227.3 kB / 329.7 MB, free: 14.88 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002455/0.3459, allocations: 79.56 kB / 329.8 MB, free: 14.84 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000228/0.3462, allocations: 112.5 kB / 329.9 MB, free: 14.77 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002101/0.3464, allocations: 114.3 kB / 330 MB, free: 14.7 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.956e-05/0.3464, allocations: 15.16 kB / 330 MB, free: 14.7 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.302e-05/0.3465, allocations: 14.84 kB / 330.1 MB, free: 14.7 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.949e-05/0.3466, allocations: 50.81 kB / 330.1 MB, free: 14.66 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.562e-05/0.3467, allocations: 74.67 kB / 330.2 MB, free: 14.6 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002659/0.3469, allocations: 230.8 kB / 330.4 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.3469, allocations: 1 kB / 330.4 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.3469, allocations: 0 / 330.4 MB, free: 14.43 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.665e-06/0.347, allocations: 0 / 330.4 MB, free: 14.43 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.001232/0.3482, allocations: 0.5479 MB / 331 MB, free: 13.94 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.048e-05/0.3483, allocations: 12.59 kB / 331 MB, free: 13.94 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001406/0.3484, allocations: 32.09 kB / 331 MB, free: 13.92 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00053/0.349, allocations: 261.7 kB / 331.3 MB, free: 13.65 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.359e-05/0.349, allocations: 18.38 kB / 331.3 MB, free: 13.64 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.97e-05/0.3491, allocations: 28.12 kB / 331.3 MB, free: 13.63 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006873/0.3498, allocations: 247.8 kB / 331.5 MB, free: 13.48 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.3498, allocations: 0 / 331.5 MB, free: 13.48 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.487e-05/0.3499, allocations: 11.09 kB / 331.5 MB, free: 13.47 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.016e-05/0.3499, allocations: 5.5 kB / 331.6 MB, free: 13.47 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006405/0.3505, allocations: 227.4 kB / 331.8 MB, free: 13.37 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001982/0.3525, allocations: 0.9324 MB / 332.7 MB, free: 12.61 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006366/0.3532, allocations: 195.4 kB / 332.9 MB, free: 12.51 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.525e-05/0.3533, allocations: 13.52 kB / 332.9 MB, free: 12.5 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.657e-05/0.3533, allocations: 37.28 kB / 332.9 MB, free: 12.45 MB / 270.1 MB Notification: Performance of pre-optimization done (n=18): time 2.926e-06/0.3533, allocations: 0 / 332.9 MB, free: 12.45 MB / 270.1 MB Notification: Performance of matching and sorting (n=18): time 0.001888/0.3552, allocations: 0.5878 MB / 333.5 MB, free: 12.14 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.175e-05/0.3553, allocations: 53.56 kB / 333.6 MB, free: 12.07 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003671/0.3557, allocations: 238 kB / 333.8 MB, free: 11.88 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.959e-05/0.3557, allocations: 25.7 kB / 333.8 MB, free: 11.85 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002296/0.3559, allocations: 179.9 kB / 334 MB, free: 11.67 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.868e-05/0.356, allocations: 59.11 kB / 334.1 MB, free: 11.61 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.219e-05/0.356, allocations: 4 kB / 334.1 MB, free: 11.61 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.3562, allocations: 330.8 kB / 334.4 MB, free: 11.27 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.3564, allocations: 63.97 kB / 334.5 MB, free: 11.21 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001876/0.3566, allocations: 125.9 kB / 334.6 MB, free: 11.07 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003878/0.357, allocations: 83.98 kB / 334.7 MB, free: 10.98 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.357, allocations: 0 / 334.7 MB, free: 10.98 MB / 270.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008091/0.3578, allocations: 369.9 kB / 335 MB, free: 10.61 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004358/0.3582, allocations: 0.6124 MB / 335.6 MB, free: 9.953 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.3583, allocations: 0 / 335.6 MB, free: 9.953 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003828/0.3586, allocations: 76.8 kB / 335.7 MB, free: 9.875 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001957/0.3589, allocations: 55.91 kB / 335.8 MB, free: 9.82 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002531/0.3614, allocations: 1.838 MB / 337.6 MB, free: 7.848 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00024/0.3617, allocations: 27.83 kB / 337.6 MB, free: 7.82 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.69e-05/0.3617, allocations: 11.94 kB / 337.7 MB, free: 7.809 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.468e-06/0.3617, allocations: 4 kB / 337.7 MB, free: 7.805 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003815/0.3621, allocations: 220.5 kB / 337.9 MB, free: 7.586 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.3621, allocations: 4 kB / 337.9 MB, free: 7.582 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001132/0.3622, allocations: 36.84 kB / 337.9 MB, free: 7.543 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/0.3624, allocations: 51.91 kB / 338 MB, free: 7.492 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001394/0.3638, allocations: 1.538 MB / 339.5 MB, free: 5.824 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002168/0.364, allocations: 23.73 kB / 339.5 MB, free: 5.801 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.3641, allocations: 12 kB / 339.5 MB, free: 5.789 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.0002817/0.3644, allocations: 213 kB / 339.7 MB, free: 5.57 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.685e-05/0.3644, allocations: 19.88 kB / 339.8 MB, free: 5.551 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.269e-05/0.3645, allocations: 29.86 kB / 339.8 MB, free: 5.523 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.3645, allocations: 0 / 339.8 MB, free: 5.523 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.3645, allocations: 384 / 339.8 MB, free: 5.523 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.3645, allocations: 0 / 339.8 MB, free: 5.523 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000425/0.365, allocations: 317.3 kB / 340.1 MB, free: 5.164 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.365, allocations: 0 / 340.1 MB, free: 5.164 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001632/0.3652, allocations: 27.98 kB / 340.1 MB, free: 5.137 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002722/0.3654, allocations: 72.81 kB / 340.2 MB, free: 5.062 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.3655, allocations: 7.984 kB / 340.2 MB, free: 5.055 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002264/0.3677, allocations: 1.768 MB / 342 MB, free: 3.152 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.3678, allocations: 3.938 kB / 342 MB, free: 3.148 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000863/0.3686, allocations: 444.3 kB / 342.4 MB, free: 2.695 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.3687, allocations: 100.8 kB / 342.5 MB, free: 2.578 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.727e-05/0.3688, allocations: 4 kB / 342.5 MB, free: 2.574 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002043/0.369, allocations: 23.98 kB / 342.5 MB, free: 2.551 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.918e-05/0.369, allocations: 11.98 kB / 342.6 MB, free: 2.539 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.3691, allocations: 4 kB / 342.6 MB, free: 2.535 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001942/0.3693, allocations: 169.9 kB / 342.7 MB, free: 2.371 MB / 270.1 MB Notification: Performance of sort global known variables: time 2.204e-06/0.3693, allocations: 0 / 342.7 MB, free: 2.371 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000736/0.37, allocations: 131.6 kB / 342.9 MB, free: 2.242 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.0001676/0.3702, allocations: 103.2 kB / 343 MB, free: 2.133 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001072/0.3713, allocations: 0.5672 MB / 343.5 MB, free: 1.539 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.3713, allocations: 0 / 343.5 MB, free: 1.539 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003029/0.3716, allocations: 221.5 kB / 343.7 MB, free: 1.312 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003748/0.372, allocations: 40.61 kB / 343.8 MB, free: 1.27 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002144/0.3741, allocations: 0.9295 MB / 344.7 MB, free: 320 kB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005763/0.3747, allocations: 0.7638 MB / 345.5 MB, free: 15.52 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001406/0.3749, allocations: 17.94 kB / 345.5 MB, free: 15.5 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.936e-05/0.3749, allocations: 23.44 kB / 345.5 MB, free: 15.48 MB / 286.1 MB Notification: Performance of SimCode: time 1.573e-06/0.3749, allocations: 0 / 345.5 MB, free: 15.48 MB / 286.1 MB Notification: Performance of Templates: time 0.007861/0.3828, allocations: 2.932 MB / 348.4 MB, free: 12.55 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: