Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_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.1_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.1_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.0009948/0.0009948, allocations: 97.95 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.006555/0.006555, allocations: 170 kB / 16.27 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.48/1.48, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.0004952/0.0004952, allocations: 12 kB / 279.5 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.202, allocations: 47.58 MB / 327 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.00457/0.2067, allocations: 4.729 MB / 331.8 MB, free: 13.66 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002918/0.2096, allocations: 1.689 MB / 333.5 MB, free: 12.28 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002542/0.2099, allocations: 17.06 kB / 333.5 MB, free: 12.28 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005803/0.2105, allocations: 259.3 kB / 333.7 MB, free: 12.12 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00065/0.2111, allocations: 269.1 kB / 334 MB, free: 11.91 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001573/0.2127, allocations: 0.7708 MB / 334.8 MB, free: 11.33 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008059/0.2135, allocations: 0.7713 MB / 335.5 MB, free: 10.84 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002532/0.2161, allocations: 1.491 MB / 337 MB, free: 9.32 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004707/0.2166, allocations: 294.7 kB / 337.3 MB, free: 9.031 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004502/0.217, allocations: 402.1 kB / 337.7 MB, free: 8.637 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.184e-05/0.2171, allocations: 40 kB / 337.7 MB, free: 8.598 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005354/0.2176, allocations: 219.8 kB / 338 MB, free: 8.383 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.2178, allocations: 131.4 kB / 338.1 MB, free: 8.254 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000327/0.2181, allocations: 399.6 kB / 338.5 MB, free: 7.855 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001023/0.2191, allocations: 1.122 MB / 339.6 MB, free: 6.73 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.2191, allocations: 3.984 kB / 339.6 MB, free: 6.727 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2191, allocations: 0 / 339.6 MB, free: 6.727 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.177e-06/0.2192, allocations: 0 / 339.6 MB, free: 6.727 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.003572/0.2227, allocations: 1.283 MB / 340.9 MB, free: 5.391 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.2228, allocations: 8.031 kB / 340.9 MB, free: 5.383 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001683/0.2245, allocations: 255.7 kB / 341.1 MB, free: 5.133 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002158/0.2247, allocations: 263.2 kB / 341.4 MB, free: 4.836 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.57e-05/0.2248, allocations: 74.38 kB / 341.5 MB, free: 4.766 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001483/0.2249, allocations: 100.3 kB / 341.6 MB, free: 4.668 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001503/0.2264, allocations: 0.9462 MB / 342.5 MB, free: 3.707 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.94e-05/0.2265, allocations: 3.938 kB / 342.5 MB, free: 3.703 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.219e-05/0.2265, allocations: 43.98 kB / 342.6 MB, free: 3.66 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.052e-05/0.2266, allocations: 24 kB / 342.6 MB, free: 3.637 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001288/0.2279, allocations: 0.7814 MB / 343.4 MB, free: 2.859 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004795/0.2327, allocations: 3.388 MB / 346.8 MB, free: 15.29 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001885/0.2346, allocations: 1.263 MB / 348 MB, free: 13.93 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005365/0.2351, allocations: 373.1 kB / 348.4 MB, free: 13.57 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001055/0.2352, allocations: 98.09 kB / 348.5 MB, free: 13.45 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.2353, allocations: 51.5 kB / 348.5 MB, free: 13.39 MB / 286.1 MB Notification: Performance of pre-optimization done (n=87): time 3.146e-06/0.2353, allocations: 0 / 348.5 MB, free: 13.39 MB / 286.1 MB Notification: Performance of matching and sorting (n=87): time 0.002151/0.2375, allocations: 1.308 MB / 349.8 MB, free: 11.99 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/0.2375, allocations: 90.05 kB / 349.9 MB, free: 11.89 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004067/0.2379, allocations: 368.4 kB / 350.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.317e-05/0.238, allocations: 41.7 kB / 350.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002188/0.2382, allocations: 382.8 kB / 350.7 MB, free: 11.09 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002208/0.2384, allocations: 303.7 kB / 351 MB, free: 10.79 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.2385, allocations: 81.67 kB / 351.1 MB, free: 10.7 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.2387, allocations: 358.8 kB / 351.4 MB, free: 10.34 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004464/0.2392, allocations: 266.5 kB / 351.7 MB, free: 10.08 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005887/0.2397, allocations: 479.4 kB / 352.2 MB, free: 9.539 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001079/0.2408, allocations: 0.7666 MB / 352.9 MB, free: 8.695 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.2409, allocations: 0 / 352.9 MB, free: 8.695 MB / 286.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001562/0.2424, allocations: 0.9765 MB / 353.9 MB, free: 7.703 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.2425, allocations: 8 kB / 353.9 MB, free: 7.695 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.2425, allocations: 4 kB / 353.9 MB, free: 7.691 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00037/0.2428, allocations: 127.6 kB / 354 MB, free: 7.555 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007564/0.2436, allocations: 199.7 kB / 354.2 MB, free: 7.359 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00402/0.2476, allocations: 5.578 MB / 359.8 MB, free: 1.242 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005888/0.2482, allocations: 103 kB / 359.9 MB, free: 1.141 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.484e-05/0.2483, allocations: 36 kB / 359.9 MB, free: 1.105 MB / 286.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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003187/0.2486, allocations: 241.5 kB / 360.2 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/0.2488, allocations: 55.33 kB / 360.2 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001471/0.2502, allocations: 0.8559 MB / 361.1 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.809e-06/0.2503, allocations: 12 kB / 361.1 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.2503, allocations: 3.938 kB / 361.1 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.2503, allocations: 3.984 kB / 361.1 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002646/0.2529, allocations: 1.924 MB / 363 MB, free: 13.85 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.2529, allocations: 0 / 363 MB, free: 13.85 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005453/0.2535, allocations: 139.8 kB / 363.2 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002763/0.2538, allocations: 111.6 kB / 363.3 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.812e-05/0.2538, allocations: 20 kB / 363.3 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003411/0.2573, allocations: 5.299 MB / 368.6 MB, free: 7.742 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.2573, allocations: 4 kB / 368.6 MB, free: 7.738 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001695/0.259, allocations: 1.279 MB / 369.9 MB, free: 6.402 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001379/0.2591, allocations: 144.2 kB / 370 MB, free: 6.242 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.764e-05/0.2592, allocations: 23.92 kB / 370 MB, free: 6.219 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003794/0.2596, allocations: 20 kB / 370.1 MB, free: 6.199 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.2597, allocations: 72.52 kB / 370.1 MB, free: 6.129 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.788e-05/0.2597, allocations: 20 kB / 370.2 MB, free: 6.109 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002677/0.26, allocations: 259.2 kB / 370.4 MB, free: 5.855 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.26, allocations: 0 / 370.4 MB, free: 5.855 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009003/0.2609, allocations: 260.4 kB / 370.7 MB, free: 5.602 MB / 302.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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002486/0.2612, allocations: 159 kB / 370.8 MB, free: 5.438 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00152/0.2627, allocations: 1.168 MB / 372 MB, free: 4.215 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.2627, allocations: 1.438 kB / 372 MB, free: 4.215 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008274/0.2636, allocations: 0.7957 MB / 372.8 MB, free: 3.367 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006529/0.2642, allocations: 61.36 kB / 372.8 MB, free: 3.309 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00251/0.2667, allocations: 1.8 MB / 374.6 MB, free: 1.449 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004663/0.2672, allocations: 0.9148 MB / 375.6 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0005318/0.2678, allocations: 105.1 kB / 375.7 MB, free: 412 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001494/0.2679, allocations: 55.42 kB / 375.7 MB, free: 356 kB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2679, allocations: 0 / 375.7 MB, free: 356 kB / 302.1 MB Notification: Performance of Templates: time 0.01252/0.2805, allocations: 6.774 MB / 382.5 MB, free: 9.566 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile (rm -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1)