Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.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.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 91.06 kB / 15.06 MB, free: 1.098 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.00147/0.00147, allocations: 172.7 kB / 15.95 MB, free: 208 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.46/1.46, allocations: 205.4 MB / 222.1 MB, free: 5.516 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.0004714/0.0004715, allocations: 12 kB / 278.9 MB, free: 12.69 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.3394, allocations: 47.58 MB / 326.5 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.002816/0.3423, allocations: 2.262 MB / 328.7 MB, free: 15.64 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002011/0.3444, allocations: 1.081 MB / 329.8 MB, free: 14.78 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001669/0.3446, allocations: 7.156 kB / 329.8 MB, free: 14.78 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003795/0.3449, allocations: 96.89 kB / 329.9 MB, free: 14.71 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003649/0.3453, allocations: 101.2 kB / 330 MB, free: 14.64 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001217/0.3465, allocations: 0.5529 MB / 330.6 MB, free: 14.22 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005044/0.3471, allocations: 270.5 kB / 330.8 MB, free: 14.07 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001216/0.3483, allocations: 0.5219 MB / 331.4 MB, free: 13.66 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002917/0.3486, allocations: 106.4 kB / 331.5 MB, free: 13.61 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003199/0.3489, allocations: 140.4 kB / 331.6 MB, free: 13.53 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.092e-05/0.349, allocations: 13.41 kB / 331.6 MB, free: 13.53 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005278/0.3495, allocations: 156 kB / 331.8 MB, free: 13.46 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.157e-05/0.3496, allocations: 45.58 kB / 331.8 MB, free: 13.43 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.3497, allocations: 77.2 kB / 331.9 MB, free: 13.37 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006163/0.3503, allocations: 370 kB / 332.3 MB, free: 13.1 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.812e-06/0.3504, allocations: 0 / 332.3 MB, free: 13.1 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.3504, allocations: 0 / 332.3 MB, free: 13.1 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.745e-05/0.3504, allocations: 0 / 332.3 MB, free: 13.1 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001884/0.3523, allocations: 0.6794 MB / 332.9 MB, free: 12.52 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.3523, allocations: 9.219 kB / 332.9 MB, free: 12.52 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008289/0.3532, allocations: 114 kB / 333.1 MB, free: 12.48 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003947/0.3536, allocations: 254.8 kB / 333.3 MB, free: 12.21 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.31e-05/0.3536, allocations: 29.33 kB / 333.3 MB, free: 12.2 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.175e-05/0.3537, allocations: 33 kB / 333.4 MB, free: 12.18 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006404/0.3543, allocations: 340.1 kB / 333.7 MB, free: 11.96 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.306e-05/0.3544, allocations: 4 kB / 333.7 MB, free: 11.96 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.979e-05/0.3544, allocations: 10.94 kB / 333.7 MB, free: 11.95 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.3544, allocations: 8.156 kB / 333.7 MB, free: 11.95 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004703/0.3549, allocations: 233.9 kB / 333.9 MB, free: 11.84 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002218/0.3571, allocations: 1.454 MB / 335.4 MB, free: 10.28 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006756/0.3578, allocations: 0.6893 MB / 336.1 MB, free: 9.473 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001707/0.358, allocations: 105.2 kB / 336.2 MB, free: 9.367 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001291/0.3582, allocations: 97.02 kB / 336.3 MB, free: 9.254 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.625e-05/0.3582, allocations: 34.56 kB / 336.3 MB, free: 9.211 MB / 270.1 MB Notification: Performance of pre-optimization done (n=24): time 3.416e-06/0.3582, allocations: 0 / 336.3 MB, free: 9.211 MB / 270.1 MB Notification: Performance of matching and sorting (n=24): time 0.001266/0.3595, allocations: 0.4993 MB / 336.8 MB, free: 8.684 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.3595, allocations: 55.34 kB / 336.9 MB, free: 8.617 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.3597, allocations: 171.3 kB / 337 MB, free: 8.438 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.3598, allocations: 25.7 kB / 337.1 MB, free: 8.406 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/0.3599, allocations: 176 kB / 337.2 MB, free: 8.227 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.17e-05/0.36, allocations: 82.75 kB / 337.3 MB, free: 8.145 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.373e-05/0.36, allocations: 11.94 kB / 337.3 MB, free: 8.133 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.3601, allocations: 326.8 kB / 337.7 MB, free: 7.805 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.3603, allocations: 68.53 kB / 337.7 MB, free: 7.738 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001556/0.3604, allocations: 128.2 kB / 337.8 MB, free: 7.59 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001673/0.3606, allocations: 85.17 kB / 337.9 MB, free: 7.508 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.3606, allocations: 4 kB / 337.9 MB, free: 7.504 MB / 270.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005689/0.3612, allocations: 320.8 kB / 338.2 MB, free: 7.184 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.3612, allocations: 8.219 kB / 338.3 MB, free: 7.176 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.3612, allocations: 4 kB / 338.3 MB, free: 7.172 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003117/0.3616, allocations: 76.75 kB / 338.3 MB, free: 7.094 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000161/0.3617, allocations: 39.97 kB / 338.4 MB, free: 7.055 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002071/0.3638, allocations: 1.846 MB / 340.2 MB, free: 5.074 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001561/0.364, allocations: 27.81 kB / 340.2 MB, free: 5.047 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.108e-05/0.364, allocations: 8 kB / 340.3 MB, free: 5.039 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (25): * Single equations (assignments): 24 * 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: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001798/0.3642, allocations: 141.8 kB / 340.4 MB, free: 4.891 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.724e-05/0.3642, allocations: 19.77 kB / 340.4 MB, free: 4.871 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005539/0.3648, allocations: 300.5 kB / 340.7 MB, free: 4.574 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.3648, allocations: 4 kB / 340.7 MB, free: 4.57 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.3648, allocations: 4 kB / 340.7 MB, free: 4.566 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.3648, allocations: 0 / 340.7 MB, free: 4.566 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009944/0.3658, allocations: 0.6827 MB / 341.4 MB, free: 3.824 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.3659, allocations: 0 / 341.4 MB, free: 3.824 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001254/0.366, allocations: 27.98 kB / 341.4 MB, free: 3.797 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002115/0.3662, allocations: 68.75 kB / 341.5 MB, free: 3.727 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/0.3662, allocations: 8 kB / 341.5 MB, free: 3.719 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001886/0.3681, allocations: 1.839 MB / 343.3 MB, free: 1.742 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3681, allocations: 3.938 kB / 343.3 MB, free: 1.738 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006663/0.3688, allocations: 443.6 kB / 343.8 MB, free: 1.285 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/0.3689, allocations: 112.9 kB / 343.9 MB, free: 1.156 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.606e-05/0.369, allocations: 4 kB / 343.9 MB, free: 1.152 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.3691, allocations: 16.06 kB / 343.9 MB, free: 1.137 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.55e-05/0.3692, allocations: 15.97 kB / 343.9 MB, free: 1.121 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.3692, allocations: 8 kB / 343.9 MB, free: 1.113 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001204/0.3693, allocations: 123.5 kB / 344 MB, free: 0.9922 MB / 270.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.3693, allocations: 0 / 344 MB, free: 0.9922 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0005363/0.3698, allocations: 95.84 kB / 344.1 MB, free: 0.8984 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (constantSource.port_p.reference.gamma) * 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 (15): * Single equations (assignments): 14 * 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: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002313/0.3701, allocations: 119.2 kB / 344.3 MB, free: 0.7734 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0006691/0.3708, allocations: 346.3 kB / 344.6 MB, free: 432 kB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3708, allocations: 448 / 344.6 MB, free: 432 kB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003753/0.3712, allocations: 255 kB / 344.8 MB, free: 164 kB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003522/0.3715, allocations: 23.89 kB / 344.9 MB, free: 140 kB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.3727, allocations: 0.706 MB / 345.6 MB, free: 15.4 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003765/0.3731, allocations: 0.7558 MB / 346.3 MB, free: 14.62 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001122/0.3732, allocations: 21.94 kB / 346.3 MB, free: 14.6 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.392e-05/0.3733, allocations: 19.44 kB / 346.4 MB, free: 14.58 MB / 286.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3733, allocations: 0 / 346.4 MB, free: 14.58 MB / 286.1 MB Notification: Performance of Templates: time 0.006926/0.3802, allocations: 2.343 MB / 348.7 MB, free: 12.24 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile (rm -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1)