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.001506/0.001506, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002465/0.002465, allocations: 193.3 kB / 16.13 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.856/1.856, allocations: 205.1 MB / 222 MB, free: 4.75 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.001333/0.001333, allocations: 47.92 kB / 278.1 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4032/0.4046, allocations: 46.63 MB / 324.7 MB, free: 1.934 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.00577/0.4104, allocations: 2.734 MB / 327.4 MB, free: 15.77 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001704/0.4122, allocations: 0.7007 MB / 328.1 MB, free: 15.2 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002089/0.4124, allocations: 8.531 kB / 328.1 MB, free: 15.19 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002334/0.4128, allocations: 33.19 kB / 328.2 MB, free: 15.16 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002085/0.413, allocations: 71.55 kB / 328.2 MB, free: 15.1 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000312/0.4133, allocations: 78.61 kB / 328.3 MB, free: 15.04 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005137/0.4139, allocations: 330.6 kB / 328.6 MB, free: 14.84 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002751/0.4141, allocations: 97.12 kB / 328.7 MB, free: 14.79 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002584/0.4144, allocations: 118.6 kB / 328.8 MB, free: 14.72 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000243/0.4147, allocations: 135.9 kB / 329 MB, free: 14.63 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.048e-05/0.4147, allocations: 23.31 kB / 329 MB, free: 14.62 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.319e-05/0.4148, allocations: 19.53 kB / 329 MB, free: 14.62 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.457e-05/0.4149, allocations: 54.67 kB / 329.1 MB, free: 14.58 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002101/0.4151, allocations: 133.1 kB / 329.2 MB, free: 14.49 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004082/0.4155, allocations: 309.8 kB / 329.5 MB, free: 14.26 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.4155, allocations: 0 / 329.5 MB, free: 14.26 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.4155, allocations: 0 / 329.5 MB, free: 14.26 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.707e-06/0.4156, allocations: 1.156 kB / 329.5 MB, free: 14.26 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.001364/0.4169, allocations: 0.5885 MB / 330.1 MB, free: 13.74 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.833e-05/0.417, allocations: 9.125 kB / 330.1 MB, free: 13.74 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.838e-05/0.4171, allocations: 28.75 kB / 330.1 MB, free: 13.73 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004244/0.4175, allocations: 259 kB / 330.4 MB, free: 13.46 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.934e-05/0.4176, allocations: 23 kB / 330.4 MB, free: 13.45 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.06e-05/0.4177, allocations: 24.19 kB / 330.4 MB, free: 13.44 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005665/0.4182, allocations: 249.7 kB / 330.7 MB, free: 13.29 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.4183, allocations: 1.125 kB / 330.7 MB, free: 13.29 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.624e-05/0.4183, allocations: 10.28 kB / 330.7 MB, free: 13.28 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.402e-05/0.4183, allocations: 9.406 kB / 330.7 MB, free: 13.28 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005181/0.4188, allocations: 219.5 kB / 330.9 MB, free: 13.18 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001895/0.4207, allocations: 0.9313 MB / 331.8 MB, free: 12.41 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006109/0.4214, allocations: 187.2 kB / 332 MB, free: 12.3 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004564/0.4218, allocations: 158.5 kB / 332.2 MB, free: 12.23 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.541e-05/0.4219, allocations: 2.156 kB / 332.2 MB, free: 12.23 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.447e-05/0.4219, allocations: 36.06 kB / 332.2 MB, free: 12.19 MB / 270.1 MB Notification: Performance of pre-optimization done (n=18): time 1.383e-06/0.4219, allocations: 0 / 332.2 MB, free: 12.19 MB / 270.1 MB Notification: Performance of matching and sorting (n=18): time 0.001828/0.4238, allocations: 0.5401 MB / 332.8 MB, free: 11.86 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.195e-05/0.4239, allocations: 53.09 kB / 332.8 MB, free: 11.8 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003166/0.4242, allocations: 221.9 kB / 333 MB, free: 11.58 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.563e-05/0.4242, allocations: 33.7 kB / 333.1 MB, free: 11.54 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/0.4244, allocations: 183.8 kB / 333.2 MB, free: 11.36 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.06e-05/0.4245, allocations: 63.09 kB / 333.3 MB, free: 11.29 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.441e-05/0.4246, allocations: 45.7 kB / 333.3 MB, free: 11.24 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.4247, allocations: 326.8 kB / 333.7 MB, free: 10.91 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/0.4249, allocations: 72.81 kB / 333.7 MB, free: 10.84 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001959/0.4251, allocations: 121.9 kB / 333.8 MB, free: 10.7 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000315/0.4254, allocations: 181.9 kB / 334 MB, free: 10.5 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.4254, allocations: 0 / 334 MB, free: 10.5 MB / 270.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006971/0.4261, allocations: 337.9 kB / 334.4 MB, free: 10.16 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.836e-05/0.4262, allocations: 4 kB / 334.4 MB, free: 10.16 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.4262, allocations: 4 kB / 334.4 MB, free: 10.15 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005237/0.4267, allocations: 112.8 kB / 334.5 MB, free: 10.04 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001994/0.4269, allocations: 51.91 kB / 334.5 MB, free: 9.988 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002309/0.4293, allocations: 1.74 MB / 336.3 MB, free: 8.113 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002072/0.4295, allocations: 27.75 kB / 336.3 MB, free: 8.086 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/0.4295, allocations: 7.984 kB / 336.3 MB, free: 8.078 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001966/0.4297, allocations: 152.1 kB / 336.4 MB, free: 7.926 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001396/0.4299, allocations: 110.5 kB / 336.6 MB, free: 7.797 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002243/0.4301, allocations: 173.9 kB / 336.7 MB, free: 7.605 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.755e-06/0.4301, allocations: 4 kB / 336.7 MB, free: 7.602 MB / 270.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0004102/0.4305, allocations: 249.9 kB / 337 MB, free: 7.348 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.4305, allocations: 4 kB / 337 MB, free: 7.344 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.4306, allocations: 12.17 kB / 337 MB, free: 7.332 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001284/0.4307, allocations: 36.84 kB / 337 MB, free: 7.293 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001767/0.4309, allocations: 51.91 kB / 337.1 MB, free: 7.242 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001331/0.4322, allocations: 1.545 MB / 338.6 MB, free: 5.566 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000155/0.4324, allocations: 15.84 kB / 338.6 MB, free: 5.551 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.4324, allocations: 8 kB / 338.6 MB, free: 5.543 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.0002068/0.4326, allocations: 200.7 kB / 338.8 MB, free: 5.34 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.359e-05/0.4327, allocations: 23.88 kB / 338.9 MB, free: 5.316 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.686e-05/0.4328, allocations: 22.06 kB / 338.9 MB, free: 5.297 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.4328, allocations: 0 / 338.9 MB, free: 5.297 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.4328, allocations: 8 kB / 338.9 MB, free: 5.289 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.4328, allocations: 3.984 kB / 338.9 MB, free: 5.285 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009696/0.4338, allocations: 0.6276 MB / 339.5 MB, free: 4.598 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.4338, allocations: 0 / 339.5 MB, free: 4.598 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001541/0.4339, allocations: 31.97 kB / 339.6 MB, free: 4.566 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002317/0.4342, allocations: 64.81 kB / 339.6 MB, free: 4.5 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.4342, allocations: 7.938 kB / 339.6 MB, free: 4.492 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001772/0.436, allocations: 1.686 MB / 341.3 MB, free: 2.672 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.436, allocations: 192 / 341.3 MB, free: 2.672 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007483/0.4368, allocations: 418.3 kB / 341.7 MB, free: 2.246 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.206e-05/0.4368, allocations: 100.9 kB / 341.8 MB, free: 2.129 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.515e-05/0.4369, allocations: 4.062 kB / 341.8 MB, free: 2.125 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/0.4371, allocations: 19.98 kB / 341.8 MB, free: 2.105 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.253e-05/0.4371, allocations: 11.98 kB / 341.9 MB, free: 2.094 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.4371, allocations: 11.98 kB / 341.9 MB, free: 2.082 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001817/0.4373, allocations: 161.6 kB / 342 MB, free: 1.926 MB / 270.1 MB Notification: Performance of sort global known variables: time 6.321e-06/0.4373, allocations: 0 / 342 MB, free: 1.926 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000715/0.4381, allocations: 135.6 kB / 342.2 MB, free: 1.793 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.0002395/0.4383, allocations: 111.2 kB / 342.3 MB, free: 1.676 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001079/0.4394, allocations: 0.5409 MB / 342.8 MB, free: 1.109 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.4394, allocations: 0 / 342.8 MB, free: 1.109 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002947/0.4397, allocations: 206.6 kB / 343 MB, free: 0.8945 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005054/0.4402, allocations: 36.95 kB / 343 MB, free: 0.8555 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001999/0.4422, allocations: 0.8375 MB / 343.9 MB, free: 15.99 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005315/0.4428, allocations: 0.7522 MB / 344.6 MB, free: 15.21 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001643/0.443, allocations: 25.94 kB / 344.7 MB, free: 15.18 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.632e-05/0.443, allocations: 19.44 kB / 344.7 MB, free: 15.16 MB / 286.1 MB Notification: Performance of SimCode: time 3.81e-07/0.443, allocations: 0 / 344.7 MB, free: 15.16 MB / 286.1 MB Notification: Performance of Templates: time 0.008959/0.452, allocations: 3.072 MB / 347.8 MB, free: 12.09 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)