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.0009956/0.0009956, allocations: 89.66 kB / 15.36 MB, free: 0.7383 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.004928/0.004928, allocations: 173.2 kB / 16.26 MB, free: 6.676 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.427/1.427, allocations: 205.4 MB / 222.4 MB, free: 5.793 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.0004131/0.0004131, allocations: 12 kB / 279.5 MB, free: 12.73 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2073/0.2077, allocations: 47.58 MB / 327 MB, free: 1.43 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.004632/0.2124, allocations: 4.738 MB / 331.8 MB, free: 13.67 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002723/0.2152, allocations: 1.677 MB / 333.5 MB, free: 12.31 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002118/0.2154, allocations: 16.69 kB / 333.5 MB, free: 12.31 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005876/0.216, allocations: 264 kB / 333.7 MB, free: 12.14 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005889/0.2166, allocations: 268.6 kB / 334 MB, free: 11.93 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001417/0.218, allocations: 0.7719 MB / 334.8 MB, free: 11.36 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008725/0.2189, allocations: 0.7724 MB / 335.5 MB, free: 10.88 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002468/0.2214, allocations: 1.491 MB / 337 MB, free: 9.359 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003148/0.2217, allocations: 294.7 kB / 337.3 MB, free: 9.07 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004344/0.2221, allocations: 398.2 kB / 337.7 MB, free: 8.68 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.898e-05/0.2222, allocations: 40 kB / 337.7 MB, free: 8.641 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004177/0.2226, allocations: 219.8 kB / 338 MB, free: 8.426 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.2228, allocations: 135.3 kB / 338.1 MB, free: 8.293 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002965/0.2231, allocations: 395.6 kB / 338.5 MB, free: 7.898 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009863/0.224, allocations: 1.122 MB / 339.6 MB, free: 6.773 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.2241, allocations: 3.938 kB / 339.6 MB, free: 6.77 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2241, allocations: 0 / 339.6 MB, free: 6.77 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.336e-06/0.2241, allocations: 0 / 339.6 MB, free: 6.77 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.003503/0.2276, allocations: 1.287 MB / 340.9 MB, free: 5.43 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.2276, allocations: 8.031 kB / 340.9 MB, free: 5.422 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001631/0.2293, allocations: 251.7 kB / 341.1 MB, free: 5.176 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002212/0.2295, allocations: 263.2 kB / 341.4 MB, free: 4.879 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.713e-05/0.2296, allocations: 78.38 kB / 341.5 MB, free: 4.805 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001427/0.2297, allocations: 100.3 kB / 341.6 MB, free: 4.707 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001474/0.2312, allocations: 0.9422 MB / 342.5 MB, free: 3.75 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.106e-05/0.2312, allocations: 4 kB / 342.5 MB, free: 3.746 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.759e-05/0.2313, allocations: 40 kB / 342.6 MB, free: 3.707 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.019e-05/0.2314, allocations: 27.94 kB / 342.6 MB, free: 3.68 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001238/0.2326, allocations: 0.7814 MB / 343.4 MB, free: 2.902 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004825/0.2374, allocations: 3.392 MB / 346.8 MB, free: 15.32 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001898/0.2393, allocations: 1.259 MB / 348 MB, free: 13.98 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005335/0.2399, allocations: 373.1 kB / 348.4 MB, free: 13.61 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001158/0.24, allocations: 106.1 kB / 348.5 MB, free: 13.49 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.2401, allocations: 39.56 kB / 348.5 MB, free: 13.44 MB / 286.1 MB Notification: Performance of pre-optimization done (n=87): time 4.639e-06/0.2401, allocations: 0 / 348.5 MB, free: 13.44 MB / 286.1 MB Notification: Performance of matching and sorting (n=87): time 0.002139/0.2422, allocations: 1.324 MB / 349.8 MB, free: 12.02 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/0.2423, allocations: 90.14 kB / 349.9 MB, free: 11.92 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00039/0.2427, allocations: 364.3 kB / 350.3 MB, free: 11.55 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.148e-05/0.2427, allocations: 37.7 kB / 350.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002086/0.2429, allocations: 382.8 kB / 350.7 MB, free: 11.13 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001953/0.2431, allocations: 299.7 kB / 351 MB, free: 10.83 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.2433, allocations: 81.67 kB / 351.1 MB, free: 10.75 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.2434, allocations: 358.8 kB / 351.4 MB, free: 10.39 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004302/0.2438, allocations: 266.5 kB / 351.7 MB, free: 10.12 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005765/0.2444, allocations: 479.4 kB / 352.2 MB, free: 9.582 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/0.2454, allocations: 0.7666 MB / 352.9 MB, free: 8.738 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.2455, allocations: 4 kB / 352.9 MB, free: 8.734 MB / 286.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001539/0.247, allocations: 0.9725 MB / 353.9 MB, free: 7.746 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.247, allocations: 8 kB / 353.9 MB, free: 7.738 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.2471, allocations: 8 kB / 353.9 MB, free: 7.73 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003621/0.2474, allocations: 123.8 kB / 354 MB, free: 7.598 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007486/0.2482, allocations: 203.7 kB / 354.2 MB, free: 7.398 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003783/0.252, allocations: 5.574 MB / 359.8 MB, free: 1.285 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000568/0.2526, allocations: 103 kB / 359.9 MB, free: 1.184 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-05/0.2526, allocations: 40 kB / 359.9 MB, free: 1.145 MB / 286.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.0003093/0.2529, allocations: 233.6 kB / 360.2 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.2531, allocations: 55.34 kB / 360.2 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001457/0.2545, allocations: 0.8522 MB / 361.1 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-05/0.2545, allocations: 11.98 kB / 361.1 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.2546, allocations: 7.938 kB / 361.1 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.2546, allocations: 3.984 kB / 361.1 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002624/0.2572, allocations: 1.928 MB / 363 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.525e-06/0.2572, allocations: 4 kB / 363 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000545/0.2578, allocations: 136.1 kB / 363.2 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000274/0.2581, allocations: 107.4 kB / 363.3 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.131e-05/0.2581, allocations: 20 kB / 363.3 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003309/0.2614, allocations: 5.31 MB / 368.6 MB, free: 7.777 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.2614, allocations: 3.938 kB / 368.6 MB, free: 7.773 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001658/0.2631, allocations: 1.272 MB / 369.9 MB, free: 6.445 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001141/0.2632, allocations: 144.3 kB / 370 MB, free: 6.285 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.796e-05/0.2633, allocations: 23.94 kB / 370 MB, free: 6.262 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003799/0.2637, allocations: 27.92 kB / 370.1 MB, free: 6.234 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.2638, allocations: 64.58 kB / 370.1 MB, free: 6.172 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.825e-05/0.2638, allocations: 24 kB / 370.2 MB, free: 6.148 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000257/0.2641, allocations: 255.2 kB / 370.4 MB, free: 5.898 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2641, allocations: 0 / 370.4 MB, free: 5.898 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008315/0.2649, allocations: 260.4 kB / 370.7 MB, free: 5.645 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.0002341/0.2652, allocations: 163.1 kB / 370.8 MB, free: 5.477 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001457/0.2667, allocations: 1.166 MB / 372 MB, free: 4.258 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.2667, allocations: 4 kB / 372 MB, free: 4.254 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007895/0.2675, allocations: 0.7917 MB / 372.8 MB, free: 3.41 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006376/0.2681, allocations: 65.36 kB / 372.8 MB, free: 3.348 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002404/0.2705, allocations: 1.796 MB / 374.6 MB, free: 1.492 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004395/0.271, allocations: 0.9148 MB / 375.6 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000516/0.2715, allocations: 105.1 kB / 375.7 MB, free: 452 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001513/0.2717, allocations: 55.42 kB / 375.7 MB, free: 396 kB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2717, allocations: 0 / 375.7 MB, free: 396 kB / 302.1 MB Notification: Performance of Templates: time 0.01192/0.2836, allocations: 6.763 MB / 382.5 MB, free: 9.617 MB / 318.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)