Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Analog.Examples.ResonanceCircuits.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.ResonanceCircuits,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.ResonanceCircuits") translateModel(Modelica.Electrical.Analog.Examples.ResonanceCircuits,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.ResonanceCircuits") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008259/0.000826, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.007158/0.007158, allocations: 169 kB / 16.26 MB, free: 6.652 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.978/1.978, allocations: 205.4 MB / 222.5 MB, free: 5.555 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.0006185/0.0006186, allocations: 12 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3748/0.3754, allocations: 47.59 MB / 327 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.006205/0.3817, allocations: 4.879 MB / 331.9 MB, free: 13.49 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.004494/0.3863, allocations: 1.442 MB / 333.4 MB, free: 12.3 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001345/0.3877, allocations: 22.97 kB / 333.4 MB, free: 12.29 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005339/0.3882, allocations: 174.6 kB / 333.5 MB, free: 12.14 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008563/0.3891, allocations: 149.8 kB / 333.7 MB, free: 12.01 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00105/0.3902, allocations: 342.4 kB / 334 MB, free: 11.74 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001521/0.3917, allocations: 1.061 MB / 335.1 MB, free: 11.11 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009066/0.3926, allocations: 420.8 kB / 335.5 MB, free: 10.85 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007325/0.3933, allocations: 333.8 kB / 335.8 MB, free: 10.55 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004832/0.3938, allocations: 373.5 kB / 336.2 MB, free: 10.18 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.757e-05/0.3939, allocations: 40 kB / 336.2 MB, free: 10.14 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001925/0.3941, allocations: 55.98 kB / 336.3 MB, free: 10.09 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000152/0.3943, allocations: 151.2 kB / 336.4 MB, free: 9.938 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004437/0.3948, allocations: 482.6 kB / 336.9 MB, free: 9.457 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009926/0.3958, allocations: 1.001 MB / 337.9 MB, free: 8.453 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.3958, allocations: 0 / 337.9 MB, free: 8.453 MB / 270.1 MB Notification: Performance of FrontEnd: time 4.639e-06/0.3958, allocations: 0 / 337.9 MB, free: 8.453 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.389e-05/0.3958, allocations: 3.938 kB / 337.9 MB, free: 8.449 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.002019/0.3978, allocations: 1.122 MB / 339 MB, free: 7.273 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.542e-05/0.3979, allocations: 12.03 kB / 339 MB, free: 7.262 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002487/0.3982, allocations: 126.5 kB / 339.2 MB, free: 7.137 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009466/0.3991, allocations: 0.6146 MB / 339.8 MB, free: 6.477 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.627e-05/0.3992, allocations: 77.94 kB / 339.9 MB, free: 6.402 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001404/0.3993, allocations: 103.9 kB / 340 MB, free: 6.301 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001823/0.4012, allocations: 1.031 MB / 341 MB, free: 5.145 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.533e-05/0.4012, allocations: 7.938 kB / 341 MB, free: 5.137 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.58e-05/0.4013, allocations: 44 kB / 341 MB, free: 5.094 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.838e-05/0.4013, allocations: 28 kB / 341.1 MB, free: 5.066 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001201/0.4025, allocations: 0.5617 MB / 341.6 MB, free: 4.504 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005487/0.408, allocations: 5.528 MB / 347.2 MB, free: 14.69 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006165/0.4087, allocations: 248.8 kB / 347.4 MB, free: 14.43 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003065/0.409, allocations: 161.6 kB / 347.6 MB, free: 14.26 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002151/0.4092, allocations: 89.08 kB / 347.6 MB, free: 14.16 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.88e-05/0.4093, allocations: 34.56 kB / 347.7 MB, free: 14.11 MB / 286.1 MB Notification: Performance of pre-optimization done (n=28): time 2.234e-06/0.4093, allocations: 4 kB / 347.7 MB, free: 14.11 MB / 286.1 MB Notification: Performance of matching and sorting (n=40): time 0.004211/0.4135, allocations: 1.767 MB / 349.4 MB, free: 12.24 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.033e-05/0.4136, allocations: 85.05 kB / 349.5 MB, free: 12.14 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007363/0.4143, allocations: 0.6294 MB / 350.2 MB, free: 11.5 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.237e-05/0.4144, allocations: 33.7 kB / 350.2 MB, free: 11.46 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004318/0.4148, allocations: 0.6064 MB / 350.8 MB, free: 10.84 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.4149, allocations: 138 kB / 350.9 MB, free: 10.71 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.297e-05/0.415, allocations: 73.67 kB / 351 MB, free: 10.63 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.4152, allocations: 386.7 kB / 351.4 MB, free: 10.24 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003212/0.4155, allocations: 161.9 kB / 351.5 MB, free: 10.09 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005423/0.4161, allocations: 0.4933 MB / 352 MB, free: 9.426 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009014/0.417, allocations: 0.7143 MB / 352.7 MB, free: 8.551 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.391e-06/0.417, allocations: 8 kB / 352.8 MB, free: 8.543 MB / 286.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001184/0.4182, allocations: 0.7234 MB / 353.5 MB, free: 7.812 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.4182, allocations: 12.12 kB / 353.5 MB, free: 7.801 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.4182, allocations: 16 kB / 353.5 MB, free: 7.785 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.451e-05/0.4183, allocations: 16 kB / 353.5 MB, free: 7.77 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006177/0.4189, allocations: 199.7 kB / 353.7 MB, free: 7.574 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.359e-05/0.4189, allocations: 27.86 kB / 353.7 MB, free: 7.547 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003563/0.4193, allocations: 43.94 kB / 353.8 MB, free: 7.504 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.748e-05/0.4193, allocations: 39.98 kB / 353.8 MB, free: 7.465 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (96): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003099/0.4197, allocations: 225.5 kB / 354 MB, free: 7.234 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/0.4198, allocations: 75.06 kB / 354.1 MB, free: 7.16 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001306/0.4199, allocations: 74.53 kB / 354.2 MB, free: 7.086 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.4199, allocations: 4 kB / 354.2 MB, free: 7.082 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/0.42, allocations: 3.938 kB / 354.2 MB, free: 7.078 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.42, allocations: 0 / 354.2 MB, free: 7.078 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002094/0.4221, allocations: 1.352 MB / 355.6 MB, free: 5.652 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.4221, allocations: 4 kB / 355.6 MB, free: 5.648 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004603/0.4226, allocations: 112 kB / 355.7 MB, free: 5.539 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.4226, allocations: 7.984 kB / 355.7 MB, free: 5.531 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.907e-05/0.4226, allocations: 15.94 kB / 355.7 MB, free: 5.516 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.161e-06/0.4226, allocations: 7.938 kB / 355.7 MB, free: 5.508 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.4226, allocations: 7.984 kB / 355.7 MB, free: 5.5 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/0.4237, allocations: 0.7244 MB / 356.4 MB, free: 4.742 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/0.4238, allocations: 132.2 kB / 356.6 MB, free: 4.594 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.848e-05/0.4239, allocations: 16 kB / 356.6 MB, free: 4.578 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002891/0.4242, allocations: 35.95 kB / 356.6 MB, free: 4.543 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.512e-05/0.4243, allocations: 27.91 kB / 356.6 MB, free: 4.516 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.771e-05/0.4243, allocations: 15.98 kB / 356.7 MB, free: 4.5 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0004502/0.4247, allocations: 423 kB / 357.1 MB, free: 4.09 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4248, allocations: 0 / 357.1 MB, free: 4.09 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006822/0.4254, allocations: 140 kB / 357.2 MB, free: 3.953 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (inductor2.i,capacitor2.v,inductor1.i,capacitor1.v) * 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 (40): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001586/0.4256, allocations: 115.1 kB / 357.3 MB, free: 3.828 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008045/0.4264, allocations: 448.1 kB / 357.8 MB, free: 3.395 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.4264, allocations: 4 kB / 357.8 MB, free: 3.391 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002902/0.4267, allocations: 164.2 kB / 357.9 MB, free: 3.23 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006978/0.4274, allocations: 79.23 kB / 358 MB, free: 3.156 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003016/0.4305, allocations: 2.203 MB / 360.2 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006172/0.4311, allocations: 1.004 MB / 361.2 MB, free: 15.88 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002969/0.4314, allocations: 94 kB / 361.3 MB, free: 15.78 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001338/0.4315, allocations: 67.41 kB / 361.4 MB, free: 15.71 MB / 302.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4316, allocations: 4 kB / 361.4 MB, free: 15.71 MB / 302.1 MB Notification: Performance of Templates: time 0.01042/0.442, allocations: 4.623 MB / 366 MB, free: 11.09 MB / 302.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.ResonanceCircuits.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.ResonanceCircuits.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.ResonanceCircuits -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1)