Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001317/0.001317, allocations: 109.9 kB / 17.06 MB, free: 5.969 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.001602/0.001602, allocations: 200 kB / 18.01 MB, free: 5.055 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.003/2.003, allocations: 205.1 MB / 223.9 MB, free: 12.2 MB / 190.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.00156/0.00156, allocations: 55.91 kB / 327.9 MB, free: 3.242 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1441, allocations: 46.61 MB / 374.5 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.005138/0.1493, allocations: 2.674 MB / 377.2 MB, free: 1.836 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002082/0.1515, allocations: 0.7174 MB / 377.9 MB, free: 1.109 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002735/0.1518, allocations: 4 kB / 377.9 MB, free: 1.105 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002513/0.1521, allocations: 47.5 kB / 378 MB, free: 1.059 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002254/0.1523, allocations: 83.27 kB / 378 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003338/0.1527, allocations: 95.8 kB / 378.1 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004/0.1531, allocations: 338.4 kB / 378.5 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003058/0.1534, allocations: 117.6 kB / 378.6 MB, free: 444 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002433/0.1536, allocations: 127.5 kB / 378.7 MB, free: 316 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002679/0.1539, allocations: 143.4 kB / 378.8 MB, free: 172 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.866e-05/0.154, allocations: 28 kB / 378.9 MB, free: 144 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.295e-05/0.1541, allocations: 28 kB / 378.9 MB, free: 116 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.123e-05/0.1541, allocations: 67.7 kB / 379 MB, free: 48 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.3507/0.5049, allocations: 135.8 kB / 379.1 MB, free: 10.12 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009086/0.5059, allocations: 322.8 kB / 379.4 MB, free: 10.11 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.102e-05/0.5059, allocations: 0 / 379.4 MB, free: 10.11 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.506, allocations: 0 / 379.4 MB, free: 10.11 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.139e-05/0.506, allocations: 1.375 kB / 379.4 MB, free: 10.11 MB / 318.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.001596/0.5076, allocations: 0.5929 MB / 380 MB, free: 9.684 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.023e-05/0.5077, allocations: 10 kB / 380 MB, free: 9.684 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001278/0.5078, allocations: 32.34 kB / 380 MB, free: 9.668 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006863/0.5085, allocations: 263.8 kB / 380.3 MB, free: 9.445 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.345e-05/0.5086, allocations: 22 kB / 380.3 MB, free: 9.445 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.632e-05/0.5087, allocations: 25.72 kB / 380.4 MB, free: 9.445 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00071/0.5094, allocations: 244.1 kB / 380.6 MB, free: 9.41 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.5094, allocations: 5.312 kB / 380.6 MB, free: 9.406 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.491e-05/0.5095, allocations: 11.73 kB / 380.6 MB, free: 9.406 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.279e-05/0.5095, allocations: 5.375 kB / 380.6 MB, free: 9.406 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006853/0.5102, allocations: 218.9 kB / 380.8 MB, free: 9.402 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002354/0.5126, allocations: 0.9128 MB / 381.7 MB, free: 8.996 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007172/0.5133, allocations: 186.8 kB / 381.9 MB, free: 8.969 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006328/0.5139, allocations: 149.7 kB / 382.1 MB, free: 8.961 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.954e-05/0.514, allocations: 5.281 kB / 382.1 MB, free: 8.961 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/0.514, allocations: 34.12 kB / 382.1 MB, free: 8.922 MB / 318.1 MB Notification: Performance of pre-optimization done (n=18): time 3.136e-06/0.514, allocations: 0.5312 kB / 382.1 MB, free: 8.922 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.002198/0.5162, allocations: 0.5357 MB / 382.6 MB, free: 8.762 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.143e-05/0.5163, allocations: 57.91 kB / 382.7 MB, free: 8.695 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004287/0.5168, allocations: 229.6 kB / 382.9 MB, free: 8.586 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.16e-05/0.5168, allocations: 29.98 kB / 383 MB, free: 8.555 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001972/0.517, allocations: 170 kB / 383.1 MB, free: 8.434 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.142e-05/0.5171, allocations: 71.42 kB / 383.2 MB, free: 8.391 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00013/0.5173, allocations: 45.38 kB / 383.2 MB, free: 8.375 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.5174, allocations: 336.2 kB / 383.6 MB, free: 8.062 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002119/0.5177, allocations: 72.03 kB / 383.6 MB, free: 8.051 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002894/0.518, allocations: 117.7 kB / 383.7 MB, free: 7.992 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004425/0.5184, allocations: 193.4 kB / 383.9 MB, free: 7.93 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.5184, allocations: 1.188 kB / 383.9 MB, free: 7.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009965/0.5194, allocations: 338.8 kB / 384.3 MB, free: 7.867 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.54e-05/0.5195, allocations: 5.969 kB / 384.3 MB, free: 7.867 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/0.5195, allocations: 2 kB / 384.3 MB, free: 7.867 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006948/0.5202, allocations: 112.2 kB / 384.4 MB, free: 7.855 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000254/0.5205, allocations: 51.11 kB / 384.4 MB, free: 7.855 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003062/0.5235, allocations: 1.931 MB / 386.4 MB, free: 6.34 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002522/0.5238, allocations: 22.47 kB / 386.4 MB, free: 6.332 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.557e-05/0.5238, allocations: 14.72 kB / 386.4 MB, free: 6.332 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002416/0.5241, allocations: 149.5 kB / 386.5 MB, free: 6.227 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000167/0.5243, allocations: 101.8 kB / 386.6 MB, free: 6.148 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002745/0.5246, allocations: 173 kB / 386.8 MB, free: 6.031 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.062e-06/0.5246, allocations: 0 / 386.8 MB, free: 6.031 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0005868/0.5252, allocations: 259.3 kB / 387.1 MB, free: 5.91 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.855e-05/0.5252, allocations: 5 kB / 387.1 MB, free: 5.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.5252, allocations: 2.25 kB / 387.1 MB, free: 5.91 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001828/0.5254, allocations: 46.84 kB / 387.1 MB, free: 5.891 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002266/0.5256, allocations: 53.11 kB / 387.2 MB, free: 5.887 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001554/0.5272, allocations: 1.713 MB / 388.9 MB, free: 4.258 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001753/0.5274, allocations: 24.59 kB / 388.9 MB, free: 4.238 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.238e-05/0.5274, allocations: 14.91 kB / 388.9 MB, free: 4.234 MB / 318.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.0001827/0.5276, allocations: 196.4 kB / 389.1 MB, free: 4.043 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.444e-05/0.5277, allocations: 18.03 kB / 389.1 MB, free: 4.035 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.62e-05/0.5278, allocations: 26.03 kB / 389.2 MB, free: 4.02 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.5278, allocations: 2.641 kB / 389.2 MB, free: 4.02 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.5278, allocations: 11.94 kB / 389.2 MB, free: 4.008 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.707e-06/0.5278, allocations: 1.5 kB / 389.2 MB, free: 4.008 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001289/0.5291, allocations: 0.6155 MB / 389.8 MB, free: 3.59 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.752e-06/0.5291, allocations: 2 kB / 389.8 MB, free: 3.59 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001706/0.5293, allocations: 37.92 kB / 389.8 MB, free: 3.582 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003029/0.5296, allocations: 63.28 kB / 389.9 MB, free: 3.566 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.19e-05/0.5296, allocations: 5.188 kB / 389.9 MB, free: 3.562 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00284/0.5325, allocations: 1.873 MB / 391.8 MB, free: 1.906 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.5325, allocations: 1.125 kB / 391.8 MB, free: 1.906 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.5335, allocations: 414.1 kB / 392.2 MB, free: 1.676 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.5336, allocations: 104.7 kB / 392.3 MB, free: 1.562 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.334e-05/0.5337, allocations: 6 kB / 392.3 MB, free: 1.559 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002288/0.5339, allocations: 21.55 kB / 392.3 MB, free: 1.555 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.486e-05/0.534, allocations: 16.89 kB / 392.3 MB, free: 1.551 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-05/0.534, allocations: 5.078 kB / 392.3 MB, free: 1.551 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002764/0.5343, allocations: 169.5 kB / 392.5 MB, free: 1.445 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5343, allocations: 0 / 392.5 MB, free: 1.445 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009168/0.5352, allocations: 129.3 kB / 392.6 MB, free: 1.418 MB / 318.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.0002419/0.5355, allocations: 101.4 kB / 392.7 MB, free: 1.328 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001583/0.5371, allocations: 0.5482 MB / 393.3 MB, free: 1.008 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.5371, allocations: 0 / 393.3 MB, free: 1.008 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003995/0.5375, allocations: 211.1 kB / 393.5 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005856/0.5381, allocations: 39.33 kB / 393.5 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002512/0.5406, allocations: 0.738 MB / 394.2 MB, free: 488 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005924/0.5412, allocations: 0.7581 MB / 395 MB, free: 15.77 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001653/0.5414, allocations: 22.8 kB / 395 MB, free: 15.77 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.409e-05/0.5415, allocations: 18.53 kB / 395 MB, free: 15.76 MB / 334.1 MB Notification: Performance of SimCode: time 4.91e-07/0.5415, allocations: 0 / 395 MB, free: 15.76 MB / 334.1 MB Notification: Performance of Templates: time 0.01316/0.5546, allocations: 3.418 MB / 398.5 MB, free: 15.49 MB / 334.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1)