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.001285/0.001285, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001354/0.001354, allocations: 194.8 kB / 16.25 MB, free: 6.621 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.52/1.52, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.00182/0.00182, allocations: 43.94 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2258/0.2276, allocations: 46.64 MB / 324.9 MB, free: 2.059 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.00552/0.2332, allocations: 5.191 MB / 330.1 MB, free: 13.96 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002925/0.2361, allocations: 1.699 MB / 331.8 MB, free: 12.57 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005427/0.2367, allocations: 16.75 kB / 331.8 MB, free: 12.57 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003029/0.2398, allocations: 1.327 MB / 333.1 MB, free: 11.6 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009555/0.2407, allocations: 270.8 kB / 333.4 MB, free: 11.39 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001533/0.2423, allocations: 0.762 MB / 334.1 MB, free: 10.82 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001082/0.2434, allocations: 0.8047 MB / 334.9 MB, free: 10.11 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001177/0.2446, allocations: 0.8794 MB / 335.8 MB, free: 9.223 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004058/0.245, allocations: 350.7 kB / 336.1 MB, free: 8.879 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004344/0.2454, allocations: 470.1 kB / 336.6 MB, free: 8.418 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.438e-05/0.2455, allocations: 76 kB / 336.7 MB, free: 8.344 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004665/0.246, allocations: 255.8 kB / 336.9 MB, free: 8.094 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001216/0.2461, allocations: 179.3 kB / 337.1 MB, free: 7.918 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003125/0.2464, allocations: 429.8 kB / 337.5 MB, free: 7.496 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001049/0.2475, allocations: 1.176 MB / 338.7 MB, free: 6.316 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2475, allocations: 0 / 338.7 MB, free: 6.316 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.2475, allocations: 0 / 338.7 MB, free: 6.316 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.217e-06/0.2475, allocations: 0 / 338.7 MB, free: 6.316 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.003638/0.2512, allocations: 1.443 MB / 340.1 MB, free: 4.82 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.2512, allocations: 12.03 kB / 340.2 MB, free: 4.809 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00162/0.2528, allocations: 255.7 kB / 340.4 MB, free: 4.559 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002003/0.2531, allocations: 263.2 kB / 340.7 MB, free: 4.262 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.966e-05/0.2531, allocations: 70.38 kB / 340.7 MB, free: 4.195 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/0.2532, allocations: 104.3 kB / 340.8 MB, free: 4.094 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001431/0.2547, allocations: 0.9383 MB / 341.8 MB, free: 3.141 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.1e-05/0.2547, allocations: 8 kB / 341.8 MB, free: 3.133 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.682e-05/0.2548, allocations: 36 kB / 341.8 MB, free: 3.098 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.786e-05/0.2548, allocations: 24 kB / 341.8 MB, free: 3.074 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001215/0.2561, allocations: 0.7854 MB / 342.6 MB, free: 2.293 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004655/0.2607, allocations: 3.384 MB / 346 MB, free: 14.72 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001784/0.2625, allocations: 1.256 MB / 347.3 MB, free: 13.38 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004906/0.263, allocations: 373.1 kB / 347.6 MB, free: 13.01 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001107/0.2631, allocations: 102.1 kB / 347.7 MB, free: 12.89 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.2632, allocations: 51.5 kB / 347.8 MB, free: 12.84 MB / 286.1 MB Notification: Performance of pre-optimization done (n=87): time 3.627e-06/0.2632, allocations: 0 / 347.8 MB, free: 12.84 MB / 286.1 MB Notification: Performance of matching and sorting (n=87): time 0.002053/0.2652, allocations: 1.304 MB / 349.1 MB, free: 11.44 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.751e-05/0.2653, allocations: 86.11 kB / 349.2 MB, free: 11.34 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003797/0.2657, allocations: 364.4 kB / 349.5 MB, free: 10.97 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.154e-05/0.2658, allocations: 37.7 kB / 349.6 MB, free: 10.93 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000226/0.266, allocations: 386.8 kB / 349.9 MB, free: 10.54 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002171/0.2662, allocations: 303.7 kB / 350.2 MB, free: 10.24 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000256/0.2665, allocations: 174.8 kB / 350.4 MB, free: 10.06 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.2666, allocations: 358.8 kB / 350.8 MB, free: 9.703 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004221/0.2671, allocations: 266.5 kB / 351 MB, free: 9.441 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005697/0.2676, allocations: 471.4 kB / 351.5 MB, free: 8.906 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009819/0.2686, allocations: 0.7706 MB / 352.2 MB, free: 8.059 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.2686, allocations: 0 / 352.2 MB, free: 8.059 MB / 286.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001502/0.2702, allocations: 0.9807 MB / 353.2 MB, free: 7.059 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.2702, allocations: 8 kB / 353.2 MB, free: 7.051 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.2702, allocations: 4 kB / 353.2 MB, free: 7.047 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003996/0.2706, allocations: 127.3 kB / 353.4 MB, free: 6.91 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00073/0.2714, allocations: 203.7 kB / 353.6 MB, free: 6.711 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004319/0.2757, allocations: 6.122 MB / 359.7 MB, free: 28 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005835/0.2763, allocations: 103.1 kB / 359.8 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.707e-05/0.2764, allocations: 44.06 kB / 359.8 MB, free: 15.88 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 (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.0003261/0.2767, allocations: 237.3 kB / 360.1 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.2768, allocations: 55.34 kB / 360.1 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001385/0.2782, allocations: 0.8442 MB / 361 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.2782, allocations: 12 kB / 361 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.2782, allocations: 0 / 361 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.2782, allocations: 7.922 kB / 361 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002657/0.2809, allocations: 1.931 MB / 362.9 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.2809, allocations: 4.281 kB / 362.9 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005462/0.2815, allocations: 139.8 kB / 363 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002819/0.2818, allocations: 111.3 kB / 363.2 MB, free: 12.37 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.411e-05/0.2818, allocations: 24 kB / 363.2 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003619/0.2854, allocations: 5.701 MB / 368.9 MB, free: 6.09 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.2855, allocations: 3.938 kB / 368.9 MB, free: 6.086 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001695/0.2872, allocations: 1.276 MB / 370.2 MB, free: 4.754 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/0.2873, allocations: 148.2 kB / 370.3 MB, free: 4.59 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.637e-05/0.2874, allocations: 23.94 kB / 370.3 MB, free: 4.566 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003912/0.2878, allocations: 20 kB / 370.3 MB, free: 4.547 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.348e-05/0.2879, allocations: 56.58 kB / 370.4 MB, free: 4.492 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.838e-05/0.2879, allocations: 24 kB / 370.4 MB, free: 4.469 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002627/0.2882, allocations: 259.2 kB / 370.7 MB, free: 4.211 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2882, allocations: 4.062 kB / 370.7 MB, free: 4.207 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008832/0.2891, allocations: 256.4 kB / 370.9 MB, free: 3.957 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.0002358/0.2893, allocations: 155 kB / 371.1 MB, free: 3.797 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001881/0.2912, allocations: 1.203 MB / 372.3 MB, free: 2.543 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.2913, allocations: 0 / 372.3 MB, free: 2.543 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008226/0.2921, allocations: 0.7932 MB / 373.1 MB, free: 1.699 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005634/0.2927, allocations: 69.3 kB / 373.1 MB, free: 1.633 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002494/0.2952, allocations: 1.775 MB / 374.9 MB, free: 15.8 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004836/0.2957, allocations: 0.911 MB / 375.8 MB, free: 14.86 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005326/0.2962, allocations: 113.1 kB / 375.9 MB, free: 14.75 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001469/0.2964, allocations: 43.44 kB / 376 MB, free: 14.7 MB / 318.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2964, allocations: 0 / 376 MB, free: 14.7 MB / 318.1 MB Notification: Performance of Templates: time 0.01222/0.3086, allocations: 7.157 MB / 383.1 MB, free: 7.539 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)