Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001494/0.001494, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00204/0.00204, allocations: 189.9 kB / 16.14 MB, free: 6.707 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.486/1.486, allocations: 205.1 MB / 222 MB, free: 4.77 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.001243/0.001244, allocations: 44.41 kB / 278.1 MB, free: 12.76 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2078, allocations: 46.62 MB / 324.7 MB, free: 2.27 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.005916/0.2138, allocations: 5.196 MB / 329.9 MB, free: 14.16 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003297/0.2171, allocations: 1.718 MB / 331.6 MB, free: 12.77 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002747/0.2174, allocations: 16.88 kB / 331.6 MB, free: 12.77 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002675/0.2201, allocations: 1.327 MB / 332.9 MB, free: 11.79 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006483/0.2208, allocations: 261.8 kB / 333.2 MB, free: 11.58 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001873/0.2227, allocations: 0.7805 MB / 334 MB, free: 11 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001063/0.2237, allocations: 0.7764 MB / 334.8 MB, free: 10.31 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001473/0.2252, allocations: 0.7047 MB / 335.5 MB, free: 9.598 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004536/0.2257, allocations: 330.7 kB / 335.8 MB, free: 9.273 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006562/0.2264, allocations: 462.1 kB / 336.2 MB, free: 8.82 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000121/0.2265, allocations: 60 kB / 336.3 MB, free: 8.762 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007322/0.2272, allocations: 235.8 kB / 336.5 MB, free: 8.531 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002261/0.2275, allocations: 167.2 kB / 336.7 MB, free: 8.367 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004378/0.2279, allocations: 405.9 kB / 337.1 MB, free: 7.969 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001413/0.2294, allocations: 1.16 MB / 338.2 MB, free: 6.805 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.2294, allocations: 0 / 338.2 MB, free: 6.805 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.327e-06/0.2294, allocations: 0 / 338.2 MB, free: 6.805 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.716e-06/0.2294, allocations: 3.938 kB / 338.3 MB, free: 6.801 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.005337/0.2347, allocations: 1.447 MB / 339.7 MB, free: 5.301 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.2348, allocations: 8.031 kB / 339.7 MB, free: 5.293 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002339/0.2371, allocations: 255.7 kB / 340 MB, free: 5.043 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002619/0.2374, allocations: 255.2 kB / 340.2 MB, free: 4.754 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.526e-05/0.2375, allocations: 74.38 kB / 340.3 MB, free: 4.684 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001911/0.2377, allocations: 100.3 kB / 340.4 MB, free: 4.586 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002051/0.2398, allocations: 0.9462 MB / 341.3 MB, free: 3.625 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.805e-05/0.2398, allocations: 7.984 kB / 341.3 MB, free: 3.617 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001148/0.2399, allocations: 40 kB / 341.4 MB, free: 3.578 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.517e-05/0.24, allocations: 24 kB / 341.4 MB, free: 3.555 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001899/0.2419, allocations: 0.7847 MB / 342.2 MB, free: 2.773 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006666/0.2486, allocations: 3.377 MB / 345.6 MB, free: 15.21 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002652/0.2512, allocations: 1.256 MB / 346.8 MB, free: 13.87 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00075/0.252, allocations: 369.1 kB / 347.2 MB, free: 13.5 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001414/0.2521, allocations: 106.1 kB / 347.3 MB, free: 13.38 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.853e-05/0.2522, allocations: 43.56 kB / 347.3 MB, free: 13.33 MB / 286.1 MB Notification: Performance of pre-optimization done (n=87): time 4.949e-06/0.2522, allocations: 0 / 347.3 MB, free: 13.33 MB / 286.1 MB Notification: Performance of matching and sorting (n=87): time 0.002278/0.2545, allocations: 1.308 MB / 348.6 MB, free: 11.93 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.2546, allocations: 86.11 kB / 348.7 MB, free: 11.83 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000369/0.2549, allocations: 364.4 kB / 349.1 MB, free: 11.46 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.012e-05/0.255, allocations: 41.7 kB / 349.1 MB, free: 11.42 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001993/0.2552, allocations: 382.8 kB / 349.5 MB, free: 11.04 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001954/0.2554, allocations: 303.7 kB / 349.8 MB, free: 10.73 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002322/0.2556, allocations: 170.8 kB / 349.9 MB, free: 10.56 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.2558, allocations: 358.8 kB / 350.3 MB, free: 10.2 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004497/0.2562, allocations: 266.5 kB / 350.6 MB, free: 9.941 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005665/0.2568, allocations: 475.4 kB / 351 MB, free: 9.402 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/0.2578, allocations: 0.7706 MB / 351.8 MB, free: 8.555 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.2578, allocations: 4 kB / 351.8 MB, free: 8.551 MB / 286.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001499/0.2593, allocations: 0.9807 MB / 352.8 MB, free: 7.555 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.2594, allocations: 4 kB / 352.8 MB, free: 7.551 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.2594, allocations: 8 kB / 352.8 MB, free: 7.543 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003567/0.2597, allocations: 131.3 kB / 352.9 MB, free: 7.402 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007446/0.2605, allocations: 203.7 kB / 353.1 MB, free: 7.203 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003616/0.2641, allocations: 5.57 MB / 358.7 MB, free: 1.09 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005306/0.2647, allocations: 102.9 kB / 358.8 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.106e-05/0.2647, allocations: 44 kB / 358.8 MB, free: 0.9453 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.0003077/0.2651, allocations: 237.5 kB / 359.1 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.2652, allocations: 55.34 kB / 359.1 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001398/0.2666, allocations: 0.8403 MB / 360 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/0.2666, allocations: 8 kB / 360 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.2666, allocations: 3.938 kB / 360 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.2666, allocations: 7.984 kB / 360 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002656/0.2693, allocations: 1.935 MB / 361.9 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.2693, allocations: 4 kB / 361.9 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005537/0.2699, allocations: 131.8 kB / 362 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002892/0.2702, allocations: 115.6 kB / 362.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.823e-05/0.2702, allocations: 20 kB / 362.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003307/0.2735, allocations: 5.306 MB / 367.5 MB, free: 7.586 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.2736, allocations: 4 kB / 367.5 MB, free: 7.582 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001673/0.2752, allocations: 1.268 MB / 368.7 MB, free: 6.258 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.2754, allocations: 136.3 kB / 368.9 MB, free: 6.105 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.711e-05/0.2755, allocations: 35.89 kB / 368.9 MB, free: 6.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003707/0.2758, allocations: 16 kB / 368.9 MB, free: 6.055 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.276, allocations: 68.52 kB / 369 MB, free: 5.988 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-05/0.276, allocations: 20 kB / 369 MB, free: 5.969 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002517/0.2763, allocations: 255.2 kB / 369.3 MB, free: 5.719 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.2763, allocations: 0 / 369.3 MB, free: 5.719 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000825/0.2771, allocations: 264.4 kB / 369.5 MB, free: 5.461 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.0002338/0.2773, allocations: 155 kB / 369.7 MB, free: 5.297 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001475/0.2788, allocations: 1.173 MB / 370.8 MB, free: 4.07 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2788, allocations: 0 / 370.8 MB, free: 4.07 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007925/0.2796, allocations: 0.7888 MB / 371.6 MB, free: 3.23 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005465/0.2802, allocations: 61.42 kB / 371.7 MB, free: 3.172 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00238/0.2826, allocations: 1.764 MB / 373.5 MB, free: 1.352 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004218/0.283, allocations: 0.9148 MB / 374.4 MB, free: 416 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0005145/0.2835, allocations: 113.1 kB / 374.5 MB, free: 300 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001479/0.2837, allocations: 51.38 kB / 374.5 MB, free: 248 kB / 302.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2837, allocations: 3.938 kB / 374.5 MB, free: 244 kB / 302.1 MB Notification: Performance of Templates: time 0.01207/0.2958, allocations: 6.853 MB / 381.4 MB, free: 9.379 MB / 318.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1)