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.001407/0.001407, allocations: 110.4 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.001598/0.001598, allocations: 191 kB / 18 MB, free: 5.105 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.417/1.417, 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.001239/0.001239, allocations: 51.94 kB / 327.9 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08713/0.08837, allocations: 46.62 MB / 374.5 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.185/0.2734, allocations: 5.2 MB / 379.7 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003346/0.2768, allocations: 1.717 MB / 381.4 MB, free: 9.633 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007382/0.2777, allocations: 17.34 kB / 381.4 MB, free: 9.633 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003515/0.2812, allocations: 1.422 MB / 382.9 MB, free: 9.344 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001168/0.2824, allocations: 320.7 kB / 383.2 MB, free: 9.215 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001602/0.284, allocations: 0.8031 MB / 384 MB, free: 9.074 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009607/0.285, allocations: 0.8154 MB / 384.8 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001068/0.2861, allocations: 0.759 MB / 385.5 MB, free: 8.348 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000437/0.2865, allocations: 353.9 kB / 385.9 MB, free: 8.172 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005078/0.287, allocations: 470.7 kB / 386.3 MB, free: 7.938 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001088/0.2872, allocations: 82.5 kB / 386.4 MB, free: 7.93 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006409/0.2878, allocations: 260.9 kB / 386.7 MB, free: 7.863 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001275/0.2879, allocations: 170.7 kB / 386.8 MB, free: 7.746 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003682/0.2883, allocations: 430.2 kB / 387.3 MB, free: 7.477 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001395/0.2897, allocations: 1.188 MB / 388.5 MB, free: 6.984 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.2897, allocations: 1.766 kB / 388.5 MB, free: 6.984 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2897, allocations: 0 / 388.5 MB, free: 6.984 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.32e-05/0.2898, allocations: 0 / 388.5 MB, free: 6.984 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.0037/0.2935, allocations: 1.443 MB / 389.9 MB, free: 6.156 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.2935, allocations: 9.938 kB / 389.9 MB, free: 6.156 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001574/0.2951, allocations: 253.7 kB / 390.2 MB, free: 6.086 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000193/0.2953, allocations: 264.7 kB / 390.4 MB, free: 5.812 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.71e-05/0.2954, allocations: 69.47 kB / 390.5 MB, free: 5.781 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001396/0.2955, allocations: 101.1 kB / 390.6 MB, free: 5.746 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001414/0.2969, allocations: 0.9387 MB / 391.5 MB, free: 5.348 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.532e-05/0.297, allocations: 7.281 kB / 391.5 MB, free: 5.344 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.338e-05/0.2971, allocations: 39.41 kB / 391.6 MB, free: 5.312 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.604e-05/0.2971, allocations: 24.22 kB / 391.6 MB, free: 5.312 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001328/0.2984, allocations: 0.7805 MB / 392.4 MB, free: 5.035 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004861/0.3033, allocations: 3.364 MB / 395.7 MB, free: 2.859 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001794/0.3051, allocations: 1.254 MB / 397 MB, free: 2.066 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004754/0.3056, allocations: 378.5 kB / 397.4 MB, free: 1.906 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.97e-05/0.3057, allocations: 102.1 kB / 397.5 MB, free: 1.805 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.3057, allocations: 42.97 kB / 397.5 MB, free: 1.758 MB / 318.1 MB Notification: Performance of pre-optimization done (n=87): time 2.244e-06/0.3057, allocations: 9.062 kB / 397.5 MB, free: 1.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=87): time 0.001984/0.3077, allocations: 1.296 MB / 398.8 MB, free: 0.957 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.3078, allocations: 87.73 kB / 398.9 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004258/0.3082, allocations: 364.2 kB / 399.2 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.65e-05/0.3082, allocations: 40.45 kB / 399.3 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001765/0.3084, allocations: 374.6 kB / 399.7 MB, free: 328 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001675/0.3086, allocations: 306.1 kB / 400 MB, free: 80 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002741/0.3089, allocations: 174 kB / 400.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000201/0.3091, allocations: 360.9 kB / 400.5 MB, free: 15.65 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000508/0.3096, allocations: 265.6 kB / 400.7 MB, free: 15.55 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007352/0.3104, allocations: 477.8 kB / 401.2 MB, free: 15.21 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001304/0.3117, allocations: 0.7734 MB / 402 MB, free: 14.68 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/0.3117, allocations: 2.188 kB / 402 MB, free: 14.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002208/0.3139, allocations: 0.9777 MB / 403 MB, free: 14.24 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.635e-05/0.3139, allocations: 7.219 kB / 403 MB, free: 14.24 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/0.314, allocations: 6.219 kB / 403 MB, free: 14.24 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004249/0.3144, allocations: 126.6 kB / 403.1 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007811/0.3152, allocations: 208.2 kB / 403.3 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004245/0.3195, allocations: 6.125 MB / 409.4 MB, free: 8.047 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006025/0.3201, allocations: 105.2 kB / 409.5 MB, free: 7.973 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.564e-05/0.3202, allocations: 39.98 kB / 409.6 MB, free: 7.965 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.0003361/0.3205, allocations: 232.6 kB / 409.8 MB, free: 7.766 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.3206, allocations: 53.11 kB / 409.8 MB, free: 7.738 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001524/0.3221, allocations: 0.8495 MB / 410.7 MB, free: 7.305 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.3222, allocations: 13.25 kB / 410.7 MB, free: 7.301 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.3222, allocations: 2.75 kB / 410.7 MB, free: 7.301 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/0.3222, allocations: 7.922 kB / 410.7 MB, free: 7.293 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002796/0.325, allocations: 1.925 MB / 412.6 MB, free: 5.828 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.325, allocations: 2.219 kB / 412.6 MB, free: 5.828 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005565/0.3256, allocations: 138 kB / 412.8 MB, free: 5.797 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003054/0.3259, allocations: 111.6 kB / 412.9 MB, free: 5.723 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.805e-05/0.326, allocations: 24.17 kB / 412.9 MB, free: 5.707 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003741/0.3297, allocations: 5.695 MB / 418.6 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.3297, allocations: 6.094 kB / 418.6 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00171/0.3314, allocations: 1.274 MB / 419.9 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001636/0.3316, allocations: 143.4 kB / 420 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.572e-05/0.3317, allocations: 25.72 kB / 420 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003661/0.3321, allocations: 25.11 kB / 420.1 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.3322, allocations: 57.23 kB / 420.1 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.614e-05/0.3323, allocations: 22.81 kB / 420.1 MB, free: 14.78 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002985/0.3326, allocations: 257.4 kB / 420.4 MB, free: 14.61 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.583e-06/0.3326, allocations: 0 / 420.4 MB, free: 14.61 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001004/0.3336, allocations: 268.6 kB / 420.7 MB, free: 14.54 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.00025/0.3338, allocations: 147.7 kB / 420.8 MB, free: 14.42 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001663/0.3355, allocations: 1.17 MB / 422 MB, free: 13.63 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.3355, allocations: 0 / 422 MB, free: 13.63 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008261/0.3364, allocations: 0.7927 MB / 422.8 MB, free: 13.01 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005578/0.3369, allocations: 72.3 kB / 422.8 MB, free: 12.95 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002416/0.3394, allocations: 1.393 MB / 424.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005663/0.3399, allocations: 0.9149 MB / 425.1 MB, free: 10.89 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004365/0.3404, allocations: 101.1 kB / 425.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001533/0.3406, allocations: 55.42 kB / 425.3 MB, free: 10.74 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.3406, allocations: 4 kB / 425.3 MB, free: 10.74 MB / 350.1 MB Notification: Performance of Templates: time 0.01403/0.3546, allocations: 7.224 MB / 432.5 MB, free: 3.512 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)