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.006278/0.006278, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001162/0.001162, allocations: 195.2 kB / 16.68 MB, free: 5.52 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.457/1.457, allocations: 205.1 MB / 222.5 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.001123/0.001123, allocations: 51.92 kB / 326.6 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08674/0.08788, allocations: 46.61 MB / 373.2 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.1813/0.2692, allocations: 5.208 MB / 378.4 MB, free: 9.695 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00285/0.2721, allocations: 1.719 MB / 380.1 MB, free: 9.633 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005463/0.2727, allocations: 16.5 kB / 380.1 MB, free: 9.633 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002872/0.2756, allocations: 1.428 MB / 381.5 MB, free: 9.34 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008393/0.2765, allocations: 319.8 kB / 381.8 MB, free: 9.211 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001421/0.2779, allocations: 0.7916 MB / 382.6 MB, free: 9.066 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007524/0.2787, allocations: 0.8115 MB / 383.4 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009103/0.2796, allocations: 0.7656 MB / 384.2 MB, free: 8.336 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003339/0.2799, allocations: 347.1 kB / 384.6 MB, free: 8.168 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004338/0.2804, allocations: 474.3 kB / 385 MB, free: 7.93 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.566e-05/0.2805, allocations: 78.94 kB / 385.1 MB, free: 7.926 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005225/0.281, allocations: 260.5 kB / 385.3 MB, free: 7.859 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.2811, allocations: 178.7 kB / 385.5 MB, free: 7.734 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003247/0.2815, allocations: 417.9 kB / 385.9 MB, free: 7.477 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001228/0.2827, allocations: 1.193 MB / 387.1 MB, free: 6.984 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.2827, allocations: 0 / 387.1 MB, free: 6.984 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.2827, allocations: 0 / 387.1 MB, free: 6.984 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.067e-05/0.2827, allocations: 3.938 kB / 387.1 MB, free: 6.98 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.003578/0.2863, allocations: 1.44 MB / 388.6 MB, free: 6.156 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.2864, allocations: 10.12 kB / 388.6 MB, free: 6.156 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001571/0.2879, allocations: 257.2 kB / 388.8 MB, free: 6.082 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001854/0.2881, allocations: 260.2 kB / 389.1 MB, free: 5.812 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.581e-05/0.2882, allocations: 77.25 kB / 389.2 MB, free: 5.773 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001425/0.2884, allocations: 96.69 kB / 389.3 MB, free: 5.742 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001402/0.2898, allocations: 0.9438 MB / 390.2 MB, free: 5.34 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.508e-05/0.2898, allocations: 7.422 kB / 390.2 MB, free: 5.336 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.341e-05/0.2899, allocations: 39.41 kB / 390.2 MB, free: 5.305 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.367e-05/0.2899, allocations: 23.62 kB / 390.3 MB, free: 5.305 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001306/0.2912, allocations: 0.7746 MB / 391 MB, free: 5.035 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00456/0.2958, allocations: 3.366 MB / 394.4 MB, free: 2.855 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001748/0.2976, allocations: 1.251 MB / 395.7 MB, free: 2.066 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004697/0.298, allocations: 382.1 kB / 396 MB, free: 1.902 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.166e-05/0.2981, allocations: 100.2 kB / 396.1 MB, free: 1.801 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.794e-05/0.2982, allocations: 43.81 kB / 396.2 MB, free: 1.754 MB / 318.1 MB Notification: Performance of pre-optimization done (n=87): time 2.134e-06/0.2982, allocations: 4 kB / 396.2 MB, free: 1.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=87): time 0.001886/0.3001, allocations: 1.296 MB / 397.5 MB, free: 0.957 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.893e-05/0.3001, allocations: 86.95 kB / 397.6 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003858/0.3005, allocations: 369.5 kB / 397.9 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.613e-05/0.3005, allocations: 41.7 kB / 398 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/0.3007, allocations: 377.1 kB / 398.3 MB, free: 320 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001373/0.3008, allocations: 308.3 kB / 398.6 MB, free: 72 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000247/0.3011, allocations: 168.9 kB / 398.8 MB, free: 15.98 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.3012, allocations: 363.9 kB / 399.1 MB, free: 15.64 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004267/0.3017, allocations: 260.6 kB / 399.4 MB, free: 15.55 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006137/0.3023, allocations: 474.2 kB / 399.9 MB, free: 15.21 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001073/0.3034, allocations: 0.7804 MB / 400.6 MB, free: 14.68 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.3034, allocations: 1.281 kB / 400.6 MB, free: 14.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001603/0.305, allocations: 0.975 MB / 401.6 MB, free: 14.24 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.305, allocations: 9.656 kB / 401.6 MB, free: 14.24 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.3051, allocations: 6.219 kB / 401.6 MB, free: 14.24 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003896/0.3055, allocations: 126 kB / 401.8 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007431/0.3062, allocations: 205.4 kB / 402 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004222/0.3104, allocations: 6.123 MB / 408.1 MB, free: 8.047 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005988/0.3111, allocations: 106 kB / 408.2 MB, free: 7.973 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.453e-05/0.3111, allocations: 40.03 kB / 408.2 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.0003381/0.3115, allocations: 234.3 kB / 408.5 MB, free: 7.766 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.3116, allocations: 51.97 kB / 408.5 MB, free: 7.738 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001425/0.313, allocations: 0.8535 MB / 409.4 MB, free: 7.289 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.914e-06/0.313, allocations: 9.156 kB / 409.4 MB, free: 7.289 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.3131, allocations: 2.125 kB / 409.4 MB, free: 7.289 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.3131, allocations: 9.047 kB / 409.4 MB, free: 7.281 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00282/0.3159, allocations: 1.932 MB / 411.3 MB, free: 5.809 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.3159, allocations: 2.156 kB / 411.3 MB, free: 5.809 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005359/0.3165, allocations: 138.5 kB / 411.4 MB, free: 5.777 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003097/0.3168, allocations: 107.4 kB / 411.6 MB, free: 5.707 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.76e-05/0.3168, allocations: 23.45 kB / 411.6 MB, free: 5.691 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003939/0.3208, allocations: 5.698 MB / 417.3 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/0.3208, allocations: 6.688 kB / 417.3 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001874/0.3227, allocations: 1.268 MB / 418.5 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002385/0.3229, allocations: 147.7 kB / 418.7 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.18e-05/0.3231, allocations: 21.16 kB / 418.7 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004044/0.3235, allocations: 24.98 kB / 418.7 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.3236, allocations: 61.08 kB / 418.8 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.321e-05/0.3236, allocations: 28.19 kB / 418.8 MB, free: 14.76 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003519/0.324, allocations: 252.6 kB / 419.1 MB, free: 14.6 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.324, allocations: 0 / 419.1 MB, free: 14.6 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001115/0.3251, allocations: 264.2 kB / 419.3 MB, free: 14.53 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.0003342/0.3255, allocations: 148.6 kB / 419.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002258/0.3277, allocations: 1.173 MB / 420.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.3278, allocations: 0 / 420.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001026/0.3288, allocations: 0.7875 MB / 421.4 MB, free: 13 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006552/0.3295, allocations: 71.64 kB / 421.5 MB, free: 12.95 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003046/0.3325, allocations: 1.407 MB / 422.9 MB, free: 11.83 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006093/0.3331, allocations: 0.911 MB / 423.8 MB, free: 10.89 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004416/0.3336, allocations: 105.1 kB / 423.9 MB, free: 10.79 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001547/0.3338, allocations: 47.42 kB / 424 MB, free: 10.74 MB / 350.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3338, allocations: 4 kB / 424 MB, free: 10.74 MB / 350.1 MB Notification: Performance of Templates: time 0.01469/0.3485, allocations: 7.231 MB / 431.2 MB, free: 3.504 MB / 350.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)