Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.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.CylinderLeakage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 92.55 kB / 16.3 MB, free: 6.457 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.001603/0.001603, allocations: 183 kB / 17.2 MB, free: 6.34 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.47/1.47, allocations: 205.4 MB / 223.4 MB, free: 13.17 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.0007713/0.0007714, allocations: 19.22 kB / 280.1 MB, free: 3.738 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1084, allocations: 47.57 MB / 327.7 MB, free: 4.094 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.00447/0.113, allocations: 4.125 MB / 331.8 MB, free: 15.95 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002583/0.1156, allocations: 1.586 MB / 333.4 MB, free: 14.35 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002801/0.1159, allocations: 16 kB / 333.4 MB, free: 14.34 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005185/0.1164, allocations: 202.8 kB / 333.6 MB, free: 14.14 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006126/0.117, allocations: 291.2 kB / 333.9 MB, free: 13.85 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001303/0.1183, allocations: 0.6621 MB / 334.6 MB, free: 13.19 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007678/0.1191, allocations: 0.5618 MB / 335.1 MB, free: 12.62 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002302/0.1214, allocations: 1.321 MB / 336.5 MB, free: 11.27 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003519/0.1218, allocations: 286.9 kB / 336.7 MB, free: 10.99 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004493/0.1223, allocations: 370.5 kB / 337.1 MB, free: 10.63 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.915e-05/0.1223, allocations: 32 kB / 337.1 MB, free: 10.6 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005444/0.1229, allocations: 191.8 kB / 337.3 MB, free: 10.41 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001088/0.123, allocations: 131.4 kB / 337.4 MB, free: 10.28 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001373/0.1231, allocations: 161.3 kB / 337.6 MB, free: 10.12 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009092/0.1241, allocations: 0.8999 MB / 338.5 MB, free: 9.215 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1241, allocations: 0 / 338.5 MB, free: 9.215 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1241, allocations: 0 / 338.5 MB, free: 9.215 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.1241, allocations: 0 / 338.5 MB, free: 9.215 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.00351/0.1276, allocations: 1.283 MB / 339.8 MB, free: 7.879 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.1277, allocations: 8.031 kB / 339.8 MB, free: 7.871 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00162/0.1293, allocations: 254.8 kB / 340 MB, free: 7.621 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002373/0.1295, allocations: 261.9 kB / 340.3 MB, free: 7.324 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.787e-05/0.1296, allocations: 77.94 kB / 340.4 MB, free: 7.25 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001478/0.1298, allocations: 103.9 kB / 340.5 MB, free: 7.148 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001488/0.1313, allocations: 0.9263 MB / 341.4 MB, free: 6.207 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.02e-05/0.1313, allocations: 4 kB / 341.4 MB, free: 6.203 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.199e-05/0.1314, allocations: 43.98 kB / 341.5 MB, free: 6.16 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.034e-05/0.1314, allocations: 24 kB / 341.5 MB, free: 6.137 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001286/0.1327, allocations: 0.7692 MB / 342.2 MB, free: 5.371 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004988/0.1377, allocations: 3.4 MB / 345.6 MB, free: 1.785 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001882/0.1396, allocations: 1.248 MB / 346.9 MB, free: 460 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.653e-05/0.1397, allocations: 98.09 kB / 347 MB, free: 344 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.1398, allocations: 47.56 kB / 347 MB, free: 288 kB / 286.1 MB Notification: Performance of pre-optimization done (n=87): time 2.575e-06/0.1398, allocations: 0 / 347 MB, free: 288 kB / 286.1 MB Notification: Performance of matching and sorting (n=87): time 0.002273/0.1421, allocations: 1.296 MB / 348.3 MB, free: 14.9 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.73e-05/0.1422, allocations: 86.11 kB / 348.4 MB, free: 14.8 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00046/0.1426, allocations: 364.3 kB / 348.8 MB, free: 14.43 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.595e-05/0.1427, allocations: 37.7 kB / 348.8 MB, free: 14.39 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002769/0.143, allocations: 386.8 kB / 349.2 MB, free: 14 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000253/0.1432, allocations: 307.6 kB / 349.5 MB, free: 13.7 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.403e-05/0.1433, allocations: 20 kB / 349.5 MB, free: 13.68 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.1435, allocations: 358.8 kB / 349.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004512/0.1439, allocations: 262.5 kB / 350.1 MB, free: 13.06 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006195/0.1446, allocations: 463.5 kB / 350.6 MB, free: 12.54 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005394/0.1451, allocations: 338.9 kB / 350.9 MB, free: 12.2 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.1451, allocations: 0 / 350.9 MB, free: 12.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001591/0.1467, allocations: 0.9651 MB / 351.9 MB, free: 11.22 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.814e-05/0.1468, allocations: 15.98 kB / 351.9 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.761e-05/0.1468, allocations: 8 kB / 351.9 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004056/0.1472, allocations: 123.2 kB / 352 MB, free: 11.06 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007853/0.148, allocations: 207.7 kB / 352.2 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003971/0.152, allocations: 5.602 MB / 357.8 MB, free: 4.715 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006721/0.1527, allocations: 98.91 kB / 357.9 MB, free: 4.617 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.223e-05/0.1527, allocations: 40 kB / 357.9 MB, free: 4.578 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (120): * Single equations (assignments): 116 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003785/0.1531, allocations: 221.7 kB / 358.2 MB, free: 4.352 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.1532, allocations: 55.34 kB / 358.2 MB, free: 4.297 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001462/0.1547, allocations: 0.8519 MB / 359.1 MB, free: 3.43 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.208e-06/0.1547, allocations: 8 kB / 359.1 MB, free: 3.422 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.1548, allocations: 0 / 359.1 MB, free: 3.422 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.1548, allocations: 7.984 kB / 359.1 MB, free: 3.414 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002794/0.1576, allocations: 1.932 MB / 361 MB, free: 1.344 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.1576, allocations: 0 / 361 MB, free: 1.344 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005626/0.1582, allocations: 135.8 kB / 361.1 MB, free: 1.211 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002852/0.1584, allocations: 107.5 kB / 361.3 MB, free: 1.094 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.084e-05/0.1585, allocations: 20 kB / 361.3 MB, free: 1.074 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003685/0.1622, allocations: 5.334 MB / 366.6 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.1622, allocations: 4.125 kB / 366.6 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001869/0.1641, allocations: 1.382 MB / 368 MB, free: 9.711 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001678/0.1643, allocations: 144.2 kB / 368.1 MB, free: 9.551 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.969e-05/0.1643, allocations: 19.98 kB / 368.2 MB, free: 9.531 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000376/0.1647, allocations: 23.95 kB / 368.2 MB, free: 9.508 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.1648, allocations: 68.58 kB / 368.2 MB, free: 9.441 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.622e-05/0.1649, allocations: 20 kB / 368.3 MB, free: 9.422 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002847/0.1652, allocations: 255.2 kB / 368.5 MB, free: 9.172 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1652, allocations: 0 / 368.5 MB, free: 9.172 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009695/0.1662, allocations: 260.4 kB / 368.8 MB, free: 8.918 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (78): * Single equations (assignments): 74 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002693/0.1664, allocations: 151.1 kB / 368.9 MB, free: 8.758 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001598/0.168, allocations: 1.162 MB / 370.1 MB, free: 7.547 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.1681, allocations: 4.062 kB / 370.1 MB, free: 7.543 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008479/0.1689, allocations: 0.7912 MB / 370.9 MB, free: 6.695 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003629/0.1693, allocations: 53.25 kB / 370.9 MB, free: 6.645 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002454/0.1718, allocations: 1.711 MB / 372.6 MB, free: 4.875 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004879/0.1723, allocations: 0.9284 MB / 373.6 MB, free: 3.918 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005005/0.1728, allocations: 113.1 kB / 373.7 MB, free: 3.809 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001427/0.1729, allocations: 47.44 kB / 373.7 MB, free: 3.762 MB / 318.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1729, allocations: 0 / 373.7 MB, free: 3.762 MB / 318.1 MB Notification: Performance of Templates: time 0.153/0.326, allocations: 6.576 MB / 380.3 MB, free: 50.96 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) Environment - environmentSimulation: