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.001276/0.001276, allocations: 99.16 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.001441/0.001442, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.928/1.928, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.0006397/0.0006398, allocations: 15.98 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3317, allocations: 47.59 MB / 326.5 MB, free: 1.641 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.002766/0.3345, allocations: 2.148 MB / 328.6 MB, free: 15.95 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001243/0.3358, allocations: 0.6904 MB / 329.3 MB, free: 15.4 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001373/0.3359, allocations: 4.344 kB / 329.3 MB, free: 15.4 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 6.953e-05/0.336, allocations: 31.06 kB / 329.3 MB, free: 15.37 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003163/0.3363, allocations: 108 kB / 329.4 MB, free: 15.28 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002465/0.3366, allocations: 74.55 kB / 329.5 MB, free: 15.21 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004099/0.337, allocations: 226.3 kB / 329.7 MB, free: 15.07 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002139/0.3372, allocations: 84.31 kB / 329.8 MB, free: 15.03 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000188/0.3374, allocations: 104.3 kB / 329.9 MB, free: 14.97 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001807/0.3376, allocations: 125.8 kB / 330 MB, free: 14.89 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.195e-05/0.3377, allocations: 14.53 kB / 330.1 MB, free: 14.89 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.781e-05/0.3377, allocations: 15.34 kB / 330.1 MB, free: 14.89 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.85e-05/0.3378, allocations: 43.09 kB / 330.1 MB, free: 14.85 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.985e-05/0.3379, allocations: 70.52 kB / 330.2 MB, free: 14.8 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002572/0.3381, allocations: 235.4 kB / 330.4 MB, free: 14.62 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3381, allocations: 0 / 330.4 MB, free: 14.62 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3382, allocations: 0 / 330.4 MB, free: 14.62 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.3382, allocations: 1.281 kB / 330.4 MB, free: 14.62 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.001056/0.3392, allocations: 0.5515 MB / 331 MB, free: 14.13 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.778e-05/0.3393, allocations: 16.59 kB / 331 MB, free: 14.12 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.96e-05/0.3394, allocations: 31.22 kB / 331 MB, free: 14.11 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003737/0.3398, allocations: 258 kB / 331.3 MB, free: 13.84 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.998e-05/0.3398, allocations: 19.16 kB / 331.3 MB, free: 13.84 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.324e-05/0.3399, allocations: 24.12 kB / 331.3 MB, free: 13.83 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005288/0.3404, allocations: 235 kB / 331.5 MB, free: 13.68 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.3404, allocations: 1.312 kB / 331.5 MB, free: 13.68 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.631e-05/0.3405, allocations: 9.969 kB / 331.5 MB, free: 13.68 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.402e-05/0.3405, allocations: 9.719 kB / 331.6 MB, free: 13.67 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005633/0.3411, allocations: 223.3 kB / 331.8 MB, free: 13.58 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001741/0.3428, allocations: 0.9406 MB / 332.7 MB, free: 12.81 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005323/0.3434, allocations: 198.5 kB / 332.9 MB, free: 12.7 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/0.3434, allocations: 2.281 kB / 332.9 MB, free: 12.7 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.3435, allocations: 36.56 kB / 332.9 MB, free: 12.66 MB / 270.1 MB Notification: Performance of pre-optimization done (n=18): time 1.333e-06/0.3435, allocations: 0 / 332.9 MB, free: 12.66 MB / 270.1 MB Notification: Performance of matching and sorting (n=18): time 0.001646/0.3451, allocations: 0.5884 MB / 333.5 MB, free: 12.34 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/0.3452, allocations: 58.59 kB / 333.6 MB, free: 12.28 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000267/0.3454, allocations: 233.8 kB / 333.8 MB, free: 12.07 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.3455, allocations: 29.7 kB / 333.8 MB, free: 12.03 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.3456, allocations: 179.9 kB / 334 MB, free: 11.85 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.882e-05/0.3456, allocations: 63.09 kB / 334.1 MB, free: 11.79 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.029e-05/0.3457, allocations: 4 kB / 334.1 MB, free: 11.78 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.3458, allocations: 330.8 kB / 334.4 MB, free: 11.45 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.3459, allocations: 67.97 kB / 334.5 MB, free: 11.38 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001604/0.3461, allocations: 114 kB / 334.6 MB, free: 11.25 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.3463, allocations: 83.92 kB / 334.7 MB, free: 11.17 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3463, allocations: 3.938 kB / 334.7 MB, free: 11.16 MB / 270.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007189/0.347, allocations: 369.9 kB / 335 MB, free: 10.79 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002554/0.3473, allocations: 0.6202 MB / 335.7 MB, free: 10.12 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.3473, allocations: 0 / 335.7 MB, free: 10.12 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003359/0.3476, allocations: 72.81 kB / 335.7 MB, free: 10.05 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001776/0.3478, allocations: 47.91 kB / 335.8 MB, free: 10 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002279/0.3501, allocations: 1.846 MB / 337.6 MB, free: 8.023 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001787/0.3503, allocations: 23.83 kB / 337.6 MB, free: 8 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.542e-05/0.3503, allocations: 8 kB / 337.7 MB, free: 7.992 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.837e-06/0.3503, allocations: 4 kB / 337.7 MB, free: 7.988 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003289/0.3507, allocations: 216.3 kB / 337.9 MB, free: 7.773 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.3507, allocations: 4 kB / 337.9 MB, free: 7.77 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.957e-05/0.3508, allocations: 36.78 kB / 337.9 MB, free: 7.73 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001648/0.351, allocations: 47.97 kB / 338 MB, free: 7.684 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001241/0.3522, allocations: 1.554 MB / 339.5 MB, free: 6 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001253/0.3524, allocations: 23.81 kB / 339.5 MB, free: 5.977 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/0.3524, allocations: 8 kB / 339.5 MB, free: 5.969 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.0002279/0.3526, allocations: 213.1 kB / 339.7 MB, free: 5.75 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.237e-05/0.3527, allocations: 15.81 kB / 339.8 MB, free: 5.734 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.254e-05/0.3527, allocations: 29.86 kB / 339.8 MB, free: 5.707 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.3527, allocations: 0 / 339.8 MB, free: 5.707 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.3528, allocations: 3.938 kB / 339.8 MB, free: 5.703 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.3528, allocations: 0 / 339.8 MB, free: 5.703 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003723/0.3531, allocations: 313.3 kB / 340.1 MB, free: 5.348 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3532, allocations: 4 kB / 340.1 MB, free: 5.344 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001532/0.3533, allocations: 27.98 kB / 340.1 MB, free: 5.316 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002187/0.3535, allocations: 68.8 kB / 340.2 MB, free: 5.246 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/0.3536, allocations: 8 kB / 340.2 MB, free: 5.238 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001924/0.3555, allocations: 1.772 MB / 342 MB, free: 3.332 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3555, allocations: 0 / 342 MB, free: 3.332 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000721/0.3562, allocations: 439.9 kB / 342.4 MB, free: 2.883 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.032e-05/0.3563, allocations: 104.8 kB / 342.5 MB, free: 2.762 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.434e-05/0.3564, allocations: 0 / 342.5 MB, free: 2.762 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001821/0.3565, allocations: 24.05 kB / 342.5 MB, free: 2.738 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.942e-05/0.3566, allocations: 15.92 kB / 342.6 MB, free: 2.723 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.3566, allocations: 8 kB / 342.6 MB, free: 2.715 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001465/0.3568, allocations: 161.8 kB / 342.7 MB, free: 2.559 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.864e-06/0.3568, allocations: 0 / 342.7 MB, free: 2.559 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0005903/0.3574, allocations: 131.6 kB / 342.8 MB, free: 2.43 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.0001733/0.3575, allocations: 103.2 kB / 342.9 MB, free: 2.32 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0009656/0.3585, allocations: 0.5711 MB / 343.5 MB, free: 1.723 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.3585, allocations: 0.6875 kB / 343.5 MB, free: 1.723 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002886/0.3588, allocations: 224.7 kB / 343.7 MB, free: 1.492 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003665/0.3592, allocations: 32.59 kB / 343.8 MB, free: 1.457 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001819/0.361, allocations: 0.9415 MB / 344.7 MB, free: 500 kB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003205/0.3614, allocations: 0.7638 MB / 345.5 MB, free: 15.7 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001038/0.3615, allocations: 21.94 kB / 345.5 MB, free: 15.68 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.839e-05/0.3615, allocations: 19.44 kB / 345.5 MB, free: 15.66 MB / 286.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3615, allocations: 0 / 345.5 MB, free: 15.66 MB / 286.1 MB Notification: Performance of Templates: time 0.007203/0.3687, allocations: 2.936 MB / 348.5 MB, free: 12.72 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: