Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.006281/0.006281, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001166/0.001166, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.429/1.429, allocations: 205.1 MB / 222.5 MB, free: 12.22 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.001167/0.001167, allocations: 51.92 kB / 326.6 MB, free: 3.277 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07956/0.08074, allocations: 46.62 MB / 373.2 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.1725/0.2532, allocations: 5.197 MB / 378.4 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002596/0.2559, allocations: 1.726 MB / 380.1 MB, free: 9.613 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003215/0.2563, allocations: 16.41 kB / 380.1 MB, free: 9.613 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002915/0.2592, allocations: 1.418 MB / 381.5 MB, free: 9.324 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008214/0.26, allocations: 320.9 kB / 381.8 MB, free: 9.195 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00149/0.2615, allocations: 0.7977 MB / 382.6 MB, free: 9.039 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008147/0.2624, allocations: 0.8115 MB / 383.5 MB, free: 8.699 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001069/0.2634, allocations: 0.7643 MB / 384.2 MB, free: 8.312 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004184/0.2639, allocations: 350.9 kB / 384.6 MB, free: 8.141 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004668/0.2644, allocations: 474.8 kB / 385 MB, free: 7.902 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001008/0.2645, allocations: 74.53 kB / 385.1 MB, free: 7.902 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005492/0.265, allocations: 256.5 kB / 385.3 MB, free: 7.84 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.2651, allocations: 178.4 kB / 385.5 MB, free: 7.715 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002931/0.2654, allocations: 422.8 kB / 385.9 MB, free: 7.453 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001185/0.2666, allocations: 1.191 MB / 387.1 MB, free: 6.957 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2666, allocations: 1.891 kB / 387.1 MB, free: 6.957 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2667, allocations: 0 / 387.1 MB, free: 6.957 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.228e-05/0.2667, allocations: 0 / 387.1 MB, free: 6.957 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.003778/0.2705, allocations: 1.439 MB / 388.6 MB, free: 6.133 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.2705, allocations: 9.094 kB / 388.6 MB, free: 6.133 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001618/0.2721, allocations: 257.6 kB / 388.8 MB, free: 6.059 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001937/0.2723, allocations: 261 kB / 389.1 MB, free: 5.789 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.135e-05/0.2724, allocations: 69.81 kB / 389.1 MB, free: 5.758 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/0.2726, allocations: 100.9 kB / 389.2 MB, free: 5.723 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00139/0.274, allocations: 0.9397 MB / 390.2 MB, free: 5.324 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.514e-05/0.274, allocations: 14.34 kB / 390.2 MB, free: 5.312 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.721e-05/0.2741, allocations: 37.16 kB / 390.2 MB, free: 5.285 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.948e-05/0.2741, allocations: 23.22 kB / 390.3 MB, free: 5.285 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001253/0.2754, allocations: 0.7768 MB / 391 MB, free: 5.012 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004482/0.2799, allocations: 3.358 MB / 394.4 MB, free: 2.84 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001726/0.2816, allocations: 1.263 MB / 395.7 MB, free: 2.039 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004809/0.2821, allocations: 378.8 kB / 396 MB, free: 1.879 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.97e-05/0.2822, allocations: 99.86 kB / 396.1 MB, free: 1.777 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.2822, allocations: 48.77 kB / 396.2 MB, free: 1.727 MB / 318.1 MB Notification: Performance of pre-optimization done (n=87): time 2.755e-06/0.2822, allocations: 0 / 396.2 MB, free: 1.727 MB / 318.1 MB Notification: Performance of matching and sorting (n=87): time 0.002033/0.2843, allocations: 1.296 MB / 397.5 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.074e-05/0.2843, allocations: 90.3 kB / 397.6 MB, free: 0.832 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004245/0.2847, allocations: 370.1 kB / 397.9 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.943e-05/0.2848, allocations: 36.45 kB / 398 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/0.285, allocations: 387 kB / 398.3 MB, free: 288 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001677/0.2851, allocations: 302.4 kB / 398.6 MB, free: 44 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002484/0.2854, allocations: 169.5 kB / 398.8 MB, free: 15.95 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.2856, allocations: 363.5 kB / 399.1 MB, free: 15.62 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000442/0.286, allocations: 262.3 kB / 399.4 MB, free: 15.52 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005886/0.2866, allocations: 469.8 kB / 399.9 MB, free: 15.19 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/0.2878, allocations: 0.7805 MB / 400.6 MB, free: 14.66 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/0.2878, allocations: 5.062 kB / 400.6 MB, free: 14.65 MB / 334.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001725/0.2895, allocations: 0.9741 MB / 401.6 MB, free: 14.21 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.2895, allocations: 12.19 kB / 401.6 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.2896, allocations: 6.375 kB / 401.6 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004035/0.29, allocations: 123.7 kB / 401.8 MB, free: 14.15 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007838/0.2908, allocations: 207.2 kB / 402 MB, free: 14.13 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004352/0.2951, allocations: 6.122 MB / 408.1 MB, free: 8.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007411/0.2959, allocations: 101.2 kB / 408.2 MB, free: 7.949 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-05/0.296, allocations: 40.14 kB / 408.2 MB, free: 7.941 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.0004108/0.2964, allocations: 232.6 kB / 408.5 MB, free: 7.742 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/0.2965, allocations: 53.19 kB / 408.5 MB, free: 7.715 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001576/0.2981, allocations: 0.851 MB / 409.4 MB, free: 7.27 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.968e-06/0.2981, allocations: 8.156 kB / 409.4 MB, free: 7.27 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.2981, allocations: 3.094 kB / 409.4 MB, free: 7.27 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.2982, allocations: 7.922 kB / 409.4 MB, free: 7.262 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003021/0.3012, allocations: 1.935 MB / 411.3 MB, free: 5.785 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.3012, allocations: 3.125 kB / 411.3 MB, free: 5.785 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005935/0.3018, allocations: 137.6 kB / 411.4 MB, free: 5.754 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003233/0.3021, allocations: 104.3 kB / 411.5 MB, free: 5.688 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.18e-05/0.3022, allocations: 23.83 kB / 411.6 MB, free: 5.672 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004057/0.3063, allocations: 5.699 MB / 417.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/0.3063, allocations: 6.75 kB / 417.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001757/0.3081, allocations: 1.273 MB / 418.5 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001782/0.3082, allocations: 148.2 kB / 418.7 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.192e-05/0.3083, allocations: 17.06 kB / 418.7 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004051/0.3087, allocations: 20.88 kB / 418.7 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.3089, allocations: 65.59 kB / 418.8 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-05/0.3089, allocations: 23.41 kB / 418.8 MB, free: 14.74 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003267/0.3092, allocations: 262.1 kB / 419.1 MB, free: 14.57 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3093, allocations: 0 / 419.1 MB, free: 14.57 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001145/0.3104, allocations: 259.2 kB / 419.3 MB, free: 14.51 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.0002823/0.3107, allocations: 153.3 kB / 419.5 MB, free: 14.38 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001694/0.3124, allocations: 1.181 MB / 420.7 MB, free: 13.58 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.3124, allocations: 0 / 420.7 MB, free: 13.58 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000897/0.3133, allocations: 0.7887 MB / 421.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005589/0.3139, allocations: 69.73 kB / 421.5 MB, free: 12.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002524/0.3164, allocations: 1.397 MB / 422.9 MB, free: 11.8 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004954/0.3169, allocations: 0.911 MB / 423.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004219/0.3174, allocations: 109.1 kB / 423.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001484/0.3175, allocations: 51.42 kB / 424 MB, free: 10.7 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3175, allocations: 0 / 424 MB, free: 10.7 MB / 350.1 MB Notification: Performance of Templates: time 0.013/0.3305, allocations: 7.22 MB / 431.2 MB, free: 3.48 MB / 350.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile (rm -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1)