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.001242/0.001242, allocations: 109 kB / 17.06 MB, free: 6.02 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.001132/0.001132, allocations: 191 kB / 18 MB, free: 5.109 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.001296/0.001296, allocations: 47.94 kB / 327.9 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08152/0.08282, allocations: 46.63 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.1958/0.2786, allocations: 5.202 MB / 379.7 MB, free: 10.29 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002679/0.2814, allocations: 1.717 MB / 381.4 MB, free: 10.23 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002532/0.2817, allocations: 16.75 kB / 381.4 MB, free: 10.23 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002756/0.2844, allocations: 1.42 MB / 382.8 MB, free: 9.898 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007213/0.2852, allocations: 323.2 kB / 383.2 MB, free: 9.738 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001475/0.2866, allocations: 0.7996 MB / 384 MB, free: 9.414 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008227/0.2875, allocations: 0.8129 MB / 384.8 MB, free: 9 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001017/0.2885, allocations: 0.755 MB / 385.5 MB, free: 8.613 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003734/0.2889, allocations: 353.2 kB / 385.9 MB, free: 8.438 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004607/0.2894, allocations: 475.3 kB / 386.3 MB, free: 8.199 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001012/0.2895, allocations: 73.91 kB / 386.4 MB, free: 8.199 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005394/0.29, allocations: 254.2 kB / 386.7 MB, free: 8.141 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.2901, allocations: 182.4 kB / 386.8 MB, free: 8.012 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003271/0.2905, allocations: 425.7 kB / 387.3 MB, free: 7.746 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001319/0.2918, allocations: 1.193 MB / 388.4 MB, free: 7.25 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.2918, allocations: 0 / 388.4 MB, free: 7.25 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.2918, allocations: 0 / 388.4 MB, free: 7.25 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.613e-05/0.2919, allocations: 0 / 388.4 MB, free: 7.25 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.004104/0.296, allocations: 1.44 MB / 389.9 MB, free: 6.426 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.296, allocations: 9.281 kB / 389.9 MB, free: 6.426 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001657/0.2977, allocations: 257.6 kB / 390.1 MB, free: 6.352 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002243/0.2979, allocations: 259.7 kB / 390.4 MB, free: 6.082 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.759e-05/0.298, allocations: 73.53 kB / 390.5 MB, free: 6.047 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001721/0.2982, allocations: 97.59 kB / 390.6 MB, free: 6.016 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001594/0.2998, allocations: 0.944 MB / 391.5 MB, free: 5.613 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.718e-05/0.2998, allocations: 9.828 kB / 391.5 MB, free: 5.605 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.522e-05/0.2999, allocations: 40.84 kB / 391.6 MB, free: 5.574 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.933e-05/0.3, allocations: 24.03 kB / 391.6 MB, free: 5.574 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001408/0.3014, allocations: 0.7811 MB / 392.4 MB, free: 5.297 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005056/0.3064, allocations: 3.354 MB / 395.7 MB, free: 3.129 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001875/0.3083, allocations: 1.26 MB / 397 MB, free: 2.332 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005255/0.3089, allocations: 374.1 kB / 397.3 MB, free: 2.176 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.573e-05/0.309, allocations: 104.7 kB / 397.4 MB, free: 2.07 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.309, allocations: 48.08 kB / 397.5 MB, free: 2.02 MB / 318.1 MB Notification: Performance of pre-optimization done (n=87): time 3.085e-06/0.309, allocations: 0 / 397.5 MB, free: 2.02 MB / 318.1 MB Notification: Performance of matching and sorting (n=87): time 0.002121/0.3111, allocations: 1.3 MB / 398.8 MB, free: 1.223 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.445e-05/0.3112, allocations: 87.73 kB / 398.9 MB, free: 1.125 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004675/0.3117, allocations: 365.4 kB / 399.2 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.033e-05/0.3117, allocations: 44.83 kB / 399.3 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000196/0.3119, allocations: 377.6 kB / 399.7 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001593/0.3121, allocations: 305 kB / 399.9 MB, free: 348 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002337/0.3123, allocations: 172.6 kB / 400.1 MB, free: 252 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.3125, allocations: 359.5 kB / 400.5 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000462/0.3129, allocations: 264.4 kB / 400.7 MB, free: 15.82 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005829/0.3135, allocations: 478.3 kB / 401.2 MB, free: 15.48 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/0.3146, allocations: 0.7773 MB / 402 MB, free: 14.95 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.323e-06/0.3146, allocations: 2.219 kB / 402 MB, free: 14.95 MB / 334.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001813/0.3164, allocations: 0.9729 MB / 402.9 MB, free: 14.5 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/0.3165, allocations: 8.109 kB / 403 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.3165, allocations: 9.844 kB / 403 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004312/0.3169, allocations: 128.9 kB / 403.1 MB, free: 14.44 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008075/0.3177, allocations: 199.7 kB / 403.3 MB, free: 14.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00456/0.3223, allocations: 6.129 MB / 409.4 MB, free: 8.309 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008129/0.3231, allocations: 101.8 kB / 409.5 MB, free: 8.238 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.34e-05/0.3232, allocations: 38.84 kB / 409.5 MB, free: 8.23 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.0004004/0.3236, allocations: 235.5 kB / 409.8 MB, free: 8.027 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/0.3238, allocations: 59.12 kB / 409.8 MB, free: 7.996 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001524/0.3253, allocations: 0.8426 MB / 410.7 MB, free: 7.531 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/0.3253, allocations: 8.344 kB / 410.7 MB, free: 7.531 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.3253, allocations: 2.875 kB / 410.7 MB, free: 7.531 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/0.3254, allocations: 11.91 kB / 410.7 MB, free: 7.52 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002947/0.3283, allocations: 1.924 MB / 412.6 MB, free: 6.055 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/0.3283, allocations: 3.125 kB / 412.6 MB, free: 6.055 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000587/0.3289, allocations: 138 kB / 412.8 MB, free: 6.023 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003034/0.3292, allocations: 111.3 kB / 412.9 MB, free: 5.949 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.569e-05/0.3293, allocations: 15.66 kB / 412.9 MB, free: 5.941 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003582/0.3329, allocations: 5.708 MB / 418.6 MB, free: 52 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/0.3329, allocations: 10.72 kB / 418.6 MB, free: 44 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00176/0.3347, allocations: 1.273 MB / 419.9 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001886/0.3349, allocations: 143.3 kB / 420 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.668e-05/0.335, allocations: 21.81 kB / 420 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004463/0.3354, allocations: 17.66 kB / 420.1 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.3355, allocations: 65.33 kB / 420.1 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.374e-05/0.3356, allocations: 27.14 kB / 420.1 MB, free: 14.99 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002893/0.3359, allocations: 257.2 kB / 420.4 MB, free: 14.83 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3359, allocations: 1.625 kB / 420.4 MB, free: 14.83 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001019/0.3369, allocations: 263 kB / 420.7 MB, free: 14.76 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.0002655/0.3372, allocations: 144.1 kB / 420.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001669/0.3389, allocations: 1.174 MB / 422 MB, free: 13.85 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.3389, allocations: 0 / 422 MB, free: 13.85 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008369/0.3397, allocations: 0.7956 MB / 422.8 MB, free: 13.22 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005785/0.3403, allocations: 65.98 kB / 422.8 MB, free: 13.18 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00244/0.3428, allocations: 1.399 MB / 424.2 MB, free: 12 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004632/0.3432, allocations: 0.9071 MB / 425.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000445/0.3437, allocations: 113.1 kB / 425.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001745/0.3439, allocations: 51.42 kB / 425.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3439, allocations: 0 / 425.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of Templates: time 0.01263/0.3565, allocations: 7.22 MB / 432.5 MB, free: 3.688 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)