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.001313/0.001313, allocations: 105.2 kB / 17.06 MB, free: 6.023 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.001248/0.001248, allocations: 196 kB / 18 MB, free: 5.102 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.443/1.443, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.001192/0.001192, allocations: 51.92 kB / 327.9 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08184/0.08304, allocations: 46.62 MB / 374.5 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.1746/0.2577, allocations: 5.199 MB / 379.7 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002732/0.2605, allocations: 1.726 MB / 381.4 MB, free: 9.637 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002468/0.2608, allocations: 17 kB / 381.4 MB, free: 9.637 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002852/0.2636, allocations: 1.41 MB / 382.8 MB, free: 9.352 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009648/0.2646, allocations: 326.1 kB / 383.2 MB, free: 9.219 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001795/0.2664, allocations: 0.8065 MB / 384 MB, free: 9.074 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001175/0.2676, allocations: 0.8127 MB / 384.8 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001184/0.2688, allocations: 0.7594 MB / 385.5 MB, free: 8.359 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004319/0.2693, allocations: 353.2 kB / 385.9 MB, free: 8.184 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004821/0.2697, allocations: 466.9 kB / 386.3 MB, free: 7.953 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001084/0.2699, allocations: 78.47 kB / 386.4 MB, free: 7.949 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006597/0.2705, allocations: 257.8 kB / 386.7 MB, free: 7.887 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001541/0.2707, allocations: 174 kB / 386.8 MB, free: 7.766 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003759/0.2711, allocations: 426.5 kB / 387.3 MB, free: 7.5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001652/0.2727, allocations: 1.195 MB / 388.4 MB, free: 7 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2727, allocations: 0 / 388.4 MB, free: 7 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2728, allocations: 1.094 kB / 388.5 MB, free: 7 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.285e-05/0.2728, allocations: 0 / 388.5 MB, free: 7 MB / 318.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.00381/0.2766, allocations: 1.444 MB / 389.9 MB, free: 6.172 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.2766, allocations: 9 kB / 389.9 MB, free: 6.172 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001794/0.2784, allocations: 256 kB / 390.2 MB, free: 6.102 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002138/0.2787, allocations: 253.5 kB / 390.4 MB, free: 5.836 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.52e-05/0.2787, allocations: 78.34 kB / 390.5 MB, free: 5.797 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001416/0.2789, allocations: 100.3 kB / 390.6 MB, free: 5.762 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00141/0.2803, allocations: 0.9397 MB / 391.5 MB, free: 5.363 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.348e-05/0.2803, allocations: 7.672 kB / 391.5 MB, free: 5.359 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.296e-05/0.2804, allocations: 39.84 kB / 391.6 MB, free: 5.328 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.142e-05/0.2805, allocations: 23.22 kB / 391.6 MB, free: 5.328 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001238/0.2817, allocations: 0.7814 MB / 392.4 MB, free: 5.051 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004604/0.2863, allocations: 3.359 MB / 395.7 MB, free: 2.879 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001715/0.288, allocations: 1.26 MB / 397 MB, free: 2.082 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004506/0.2885, allocations: 372.9 kB / 397.3 MB, free: 1.926 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.288e-05/0.2886, allocations: 105.6 kB / 397.5 MB, free: 1.82 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.945e-05/0.2886, allocations: 39.16 kB / 397.5 MB, free: 1.777 MB / 318.1 MB Notification: Performance of pre-optimization done (n=87): time 2.434e-06/0.2886, allocations: 5.281 kB / 397.5 MB, free: 1.773 MB / 318.1 MB Notification: Performance of matching and sorting (n=87): time 0.001965/0.2906, allocations: 1.3 MB / 398.8 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.2907, allocations: 90.3 kB / 398.9 MB, free: 0.875 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000379/0.291, allocations: 365.9 kB / 399.2 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.369e-05/0.2911, allocations: 40.45 kB / 399.3 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/0.2913, allocations: 378.7 kB / 399.7 MB, free: 340 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001577/0.2914, allocations: 301.7 kB / 399.9 MB, free: 96 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002323/0.2917, allocations: 173.9 kB / 400.1 MB, free: 0 / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.2918, allocations: 365.4 kB / 400.5 MB, free: 15.66 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004205/0.2923, allocations: 264.6 kB / 400.7 MB, free: 15.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005728/0.2928, allocations: 478.7 kB / 401.2 MB, free: 15.23 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/0.2939, allocations: 0.7733 MB / 402 MB, free: 14.7 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.2939, allocations: 1.062 kB / 402 MB, free: 14.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001588/0.2955, allocations: 0.9784 MB / 403 MB, free: 14.25 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.2955, allocations: 8.156 kB / 403 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.2956, allocations: 4.938 kB / 403 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003763/0.2959, allocations: 118.5 kB / 403.1 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007923/0.2967, allocations: 208.3 kB / 403.3 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004408/0.3012, allocations: 6.122 MB / 409.4 MB, free: 8.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006751/0.3019, allocations: 105.1 kB / 409.5 MB, free: 7.996 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.116e-05/0.3019, allocations: 39.3 kB / 409.5 MB, free: 7.988 MB / 334.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.000352/0.3023, allocations: 231.9 kB / 409.8 MB, free: 7.789 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/0.3024, allocations: 59.03 kB / 409.8 MB, free: 7.758 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001436/0.3039, allocations: 0.8441 MB / 410.7 MB, free: 7.324 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.3039, allocations: 12.53 kB / 410.7 MB, free: 7.32 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.3039, allocations: 2.938 kB / 410.7 MB, free: 7.32 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.858e-06/0.3039, allocations: 7.922 kB / 410.7 MB, free: 7.312 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002826/0.3067, allocations: 1.931 MB / 412.6 MB, free: 5.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/0.3068, allocations: 7.797 kB / 412.6 MB, free: 5.836 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005583/0.3073, allocations: 132.5 kB / 412.8 MB, free: 5.809 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002817/0.3076, allocations: 108.4 kB / 412.9 MB, free: 5.738 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.923e-05/0.3077, allocations: 20.31 kB / 412.9 MB, free: 5.727 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003686/0.3114, allocations: 5.707 MB / 418.6 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.3114, allocations: 7.844 kB / 418.6 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001635/0.313, allocations: 1.276 MB / 419.9 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001711/0.3132, allocations: 144.2 kB / 420 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.94e-05/0.3133, allocations: 25.09 kB / 420 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003819/0.3137, allocations: 16.69 kB / 420.1 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.628e-05/0.3138, allocations: 65.52 kB / 420.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.254e-05/0.3138, allocations: 22.66 kB / 420.1 MB, free: 14.78 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002904/0.3141, allocations: 253.4 kB / 420.4 MB, free: 14.62 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3141, allocations: 0 / 420.4 MB, free: 14.62 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009787/0.3151, allocations: 263.5 kB / 420.7 MB, free: 14.55 MB / 350.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.0002467/0.3154, allocations: 149 kB / 420.8 MB, free: 14.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001569/0.317, allocations: 1.173 MB / 422 MB, free: 13.64 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.317, allocations: 1.375 kB / 422 MB, free: 13.64 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008682/0.3178, allocations: 0.791 MB / 422.8 MB, free: 13.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005591/0.3184, allocations: 67.45 kB / 422.8 MB, free: 12.97 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002428/0.3209, allocations: 1.402 MB / 424.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004788/0.3213, allocations: 0.9071 MB / 425.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000418/0.3218, allocations: 109.1 kB / 425.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001629/0.3219, allocations: 47.44 kB / 425.3 MB, free: 10.76 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3219, allocations: 4 kB / 425.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of Templates: time 0.01323/0.3352, allocations: 7.352 MB / 432.6 MB, free: 3.398 MB / 350.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile (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)