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.001196/0.001196, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001618/0.001618, allocations: 191.3 kB / 16.25 MB, free: 6.629 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.471/1.471, allocations: 205.1 MB / 222.1 MB, free: 4.656 MB / 174.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.001231/0.001232, allocations: 47.92 kB / 278.2 MB, free: 12.65 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1939/0.1951, allocations: 46.63 MB / 324.9 MB, free: 1.945 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.005375/0.2005, allocations: 5.195 MB / 330.1 MB, free: 13.84 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002779/0.2033, allocations: 1.702 MB / 331.8 MB, free: 12.45 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000262/0.2036, allocations: 16.75 kB / 331.8 MB, free: 12.45 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002808/0.2065, allocations: 1.335 MB / 333.1 MB, free: 11.47 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006861/0.2071, allocations: 263.6 kB / 333.4 MB, free: 11.27 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001429/0.2086, allocations: 0.7566 MB / 334.1 MB, free: 10.7 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008822/0.2095, allocations: 0.8095 MB / 334.9 MB, free: 10.01 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001137/0.2106, allocations: 0.8716 MB / 335.8 MB, free: 9.133 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003772/0.211, allocations: 354.7 kB / 336.2 MB, free: 8.785 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004384/0.2115, allocations: 462.1 kB / 336.6 MB, free: 8.332 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.696e-05/0.2116, allocations: 79.94 kB / 336.7 MB, free: 8.254 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004678/0.212, allocations: 251.8 kB / 336.9 MB, free: 8.008 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001232/0.2122, allocations: 179.3 kB / 337.1 MB, free: 7.832 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003229/0.2125, allocations: 429.9 kB / 337.5 MB, free: 7.41 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001087/0.2136, allocations: 1.18 MB / 338.7 MB, free: 6.227 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2136, allocations: 0 / 338.7 MB, free: 6.227 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2136, allocations: 0 / 338.7 MB, free: 6.227 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.2136, allocations: 0 / 338.7 MB, free: 6.227 MB / 270.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.003738/0.2174, allocations: 1.451 MB / 340.2 MB, free: 4.723 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.2174, allocations: 8.031 kB / 340.2 MB, free: 4.715 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001626/0.2191, allocations: 255.7 kB / 340.4 MB, free: 4.465 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002102/0.2193, allocations: 255.2 kB / 340.7 MB, free: 4.176 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.479e-05/0.2193, allocations: 74.38 kB / 340.7 MB, free: 4.105 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/0.2195, allocations: 100.3 kB / 340.8 MB, free: 4.008 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001455/0.2209, allocations: 0.9462 MB / 341.8 MB, free: 3.047 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.37e-05/0.221, allocations: 7.938 kB / 341.8 MB, free: 3.039 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.707e-05/0.2211, allocations: 40 kB / 341.8 MB, free: 3 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.947e-05/0.2211, allocations: 24 kB / 341.8 MB, free: 2.977 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001228/0.2223, allocations: 0.7814 MB / 342.6 MB, free: 2.199 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004708/0.227, allocations: 3.377 MB / 346 MB, free: 14.64 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001828/0.2289, allocations: 1.256 MB / 347.3 MB, free: 13.29 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000489/0.2294, allocations: 365.2 kB / 347.6 MB, free: 12.93 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001075/0.2295, allocations: 110.1 kB / 347.7 MB, free: 12.81 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.2295, allocations: 39.56 kB / 347.8 MB, free: 12.76 MB / 286.1 MB Notification: Performance of pre-optimization done (n=87): time 3.958e-06/0.2296, allocations: 3.938 kB / 347.8 MB, free: 12.76 MB / 286.1 MB Notification: Performance of matching and sorting (n=87): time 0.00201/0.2316, allocations: 1.308 MB / 349.1 MB, free: 11.36 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.2316, allocations: 90.14 kB / 349.2 MB, free: 11.25 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003746/0.232, allocations: 360.4 kB / 349.5 MB, free: 10.89 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.322e-05/0.2321, allocations: 41.7 kB / 349.6 MB, free: 10.84 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002054/0.2323, allocations: 382.8 kB / 349.9 MB, free: 10.46 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002/0.2325, allocations: 299.7 kB / 350.2 MB, free: 10.16 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002439/0.2327, allocations: 178.8 kB / 350.4 MB, free: 9.98 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.2329, allocations: 354.8 kB / 350.7 MB, free: 9.625 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004208/0.2333, allocations: 270.5 kB / 351 MB, free: 9.359 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000556/0.2339, allocations: 475.4 kB / 351.5 MB, free: 8.82 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/0.2349, allocations: 0.7706 MB / 352.2 MB, free: 7.973 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.2349, allocations: 0 / 352.2 MB, free: 7.973 MB / 286.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001542/0.2365, allocations: 0.9725 MB / 353.2 MB, free: 6.98 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.2365, allocations: 11.98 kB / 353.2 MB, free: 6.969 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.2365, allocations: 8 kB / 353.2 MB, free: 6.961 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003849/0.2369, allocations: 127.8 kB / 353.4 MB, free: 6.824 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000749/0.2377, allocations: 203.7 kB / 353.6 MB, free: 6.625 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004042/0.2417, allocations: 6.122 MB / 359.7 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005948/0.2423, allocations: 102.9 kB / 359.8 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.92e-05/0.2424, allocations: 39.98 kB / 359.8 MB, free: 15.8 MB / 302.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.0003112/0.2427, allocations: 237.5 kB / 360.1 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/0.2428, allocations: 55.34 kB / 360.1 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001359/0.2442, allocations: 0.8403 MB / 360.9 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/0.2442, allocations: 12 kB / 361 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.2442, allocations: 0 / 361 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.2442, allocations: 7.922 kB / 361 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002647/0.2469, allocations: 1.935 MB / 362.9 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.2469, allocations: 4 kB / 362.9 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005505/0.2475, allocations: 135.8 kB / 363 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002742/0.2478, allocations: 115.6 kB / 363.1 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.075e-05/0.2478, allocations: 23.94 kB / 363.2 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003691/0.2515, allocations: 5.705 MB / 368.9 MB, free: 6.008 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.2515, allocations: 3.938 kB / 368.9 MB, free: 6.004 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001769/0.2533, allocations: 1.272 MB / 370.2 MB, free: 4.676 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001484/0.2535, allocations: 144.3 kB / 370.3 MB, free: 4.516 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.821e-05/0.2536, allocations: 27.92 kB / 370.3 MB, free: 4.488 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003879/0.2539, allocations: 19.94 kB / 370.3 MB, free: 4.469 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.2541, allocations: 64.64 kB / 370.4 MB, free: 4.406 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.811e-05/0.2541, allocations: 24 kB / 370.4 MB, free: 4.383 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000255/0.2544, allocations: 255.2 kB / 370.7 MB, free: 4.129 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.083e-06/0.2544, allocations: 4 kB / 370.7 MB, free: 4.125 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009054/0.2553, allocations: 256.3 kB / 370.9 MB, free: 3.875 MB / 302.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.0002577/0.2555, allocations: 151.1 kB / 371.1 MB, free: 3.719 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001946/0.2575, allocations: 1.204 MB / 372.3 MB, free: 2.465 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.2575, allocations: 0 / 372.3 MB, free: 2.465 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008158/0.2583, allocations: 0.7995 MB / 373.1 MB, free: 1.613 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005445/0.2589, allocations: 69.53 kB / 373.2 MB, free: 1.547 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002488/0.2614, allocations: 1.767 MB / 374.9 MB, free: 15.72 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004663/0.2619, allocations: 0.911 MB / 375.8 MB, free: 14.78 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005195/0.2624, allocations: 105.1 kB / 375.9 MB, free: 14.68 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001518/0.2626, allocations: 51.42 kB / 376 MB, free: 14.62 MB / 318.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2626, allocations: 0 / 376 MB, free: 14.62 MB / 318.1 MB Notification: Performance of Templates: time 0.01211/0.2747, allocations: 7.164 MB / 383.1 MB, free: 7.453 MB / 318.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)