Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.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.FixedShapes.CuboidSections,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007826/0.0007873, allocations: 90.67 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.005157/0.005157, allocations: 170.9 kB / 16.26 MB, free: 6.613 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.42/1.42, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.0004168/0.0004169, allocations: 8 kB / 279.5 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.203/0.2034, allocations: 47.59 MB / 327 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.004121/0.2076, allocations: 3.865 MB / 330.9 MB, free: 14.35 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002633/0.2102, allocations: 1.65 MB / 332.6 MB, free: 13.02 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001734/0.2104, allocations: 11.84 kB / 332.6 MB, free: 13.02 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005246/0.211, allocations: 223.4 kB / 332.8 MB, free: 12.88 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005012/0.2115, allocations: 215.6 kB / 333 MB, free: 12.71 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001435/0.2129, allocations: 0.7508 MB / 333.8 MB, free: 12.16 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005872/0.2135, allocations: 0.6051 MB / 334.4 MB, free: 11.8 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001592/0.2151, allocations: 0.9268 MB / 335.3 MB, free: 11.09 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003213/0.2154, allocations: 231 kB / 335.5 MB, free: 10.86 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003519/0.2158, allocations: 322.5 kB / 335.8 MB, free: 10.55 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.233e-05/0.2159, allocations: 28 kB / 335.8 MB, free: 10.52 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004788/0.2164, allocations: 239.8 kB / 336.1 MB, free: 10.29 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.783e-05/0.2164, allocations: 103.5 kB / 336.2 MB, free: 10.18 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002497/0.2167, allocations: 324 kB / 336.5 MB, free: 9.859 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008556/0.2176, allocations: 0.9005 MB / 337.4 MB, free: 8.957 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.2176, allocations: 0 / 337.4 MB, free: 8.957 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.2176, allocations: 0 / 337.4 MB, free: 8.957 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.764e-06/0.2176, allocations: 4 kB / 337.4 MB, free: 8.953 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.00336/0.221, allocations: 1.144 MB / 338.5 MB, free: 7.758 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.221, allocations: 12.03 kB / 338.6 MB, free: 7.746 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001371/0.2224, allocations: 207.9 kB / 338.8 MB, free: 7.543 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002255/0.2226, allocations: 247.4 kB / 339 MB, free: 7.262 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.233e-05/0.2227, allocations: 62.31 kB / 339.1 MB, free: 7.203 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/0.2228, allocations: 76.38 kB / 339.1 MB, free: 7.129 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00137/0.2242, allocations: 0.7818 MB / 339.9 MB, free: 6.328 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.315e-05/0.2242, allocations: 0 / 339.9 MB, free: 6.328 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.093e-05/0.2243, allocations: 32 kB / 340 MB, free: 6.297 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.653e-05/0.2243, allocations: 16 kB / 340 MB, free: 6.281 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001359/0.2257, allocations: 0.6883 MB / 340.7 MB, free: 5.59 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004012/0.2297, allocations: 3.126 MB / 343.8 MB, free: 2.199 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00234/0.2321, allocations: 2.078 MB / 345.9 MB, free: 15.82 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006596/0.2327, allocations: 331.5 kB / 346.2 MB, free: 15.49 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001093/0.2329, allocations: 97.73 kB / 346.3 MB, free: 15.38 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.917e-05/0.2329, allocations: 47.22 kB / 346.3 MB, free: 15.32 MB / 286.1 MB Notification: Performance of pre-optimization done (n=72): time 1.983e-06/0.2329, allocations: 0 / 346.3 MB, free: 15.32 MB / 286.1 MB Notification: Performance of matching and sorting (n=72): time 0.002672/0.2356, allocations: 1.181 MB / 347.5 MB, free: 14.09 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.925e-05/0.2357, allocations: 111.5 kB / 347.6 MB, free: 13.96 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002748/0.236, allocations: 274.5 kB / 347.9 MB, free: 13.69 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.221e-05/0.236, allocations: 41.64 kB / 347.9 MB, free: 13.64 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001784/0.2362, allocations: 295.4 kB / 348.2 MB, free: 13.35 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001988/0.2364, allocations: 248.4 kB / 348.5 MB, free: 13.1 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.471e-05/0.2365, allocations: 61.69 kB / 348.5 MB, free: 13.04 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.2367, allocations: 362.7 kB / 348.9 MB, free: 12.67 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005174/0.2372, allocations: 237.9 kB / 349.1 MB, free: 12.44 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00061/0.2378, allocations: 398.2 kB / 349.5 MB, free: 12 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/0.2389, allocations: 0.6571 MB / 350.1 MB, free: 11.29 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.239, allocations: 224 / 350.1 MB, free: 11.29 MB / 286.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001575/0.2405, allocations: 0.8501 MB / 351 MB, free: 10.43 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.2406, allocations: 15.92 kB / 351 MB, free: 10.41 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.2406, allocations: 4 kB / 351 MB, free: 10.41 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003793/0.241, allocations: 121.7 kB / 351.1 MB, free: 10.28 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006168/0.2416, allocations: 159.7 kB / 351.3 MB, free: 10.12 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002995/0.2446, allocations: 3.427 MB / 354.7 MB, free: 6.43 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004829/0.2451, allocations: 91.19 kB / 354.8 MB, free: 6.34 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.951e-05/0.2452, allocations: 35.98 kB / 354.8 MB, free: 6.305 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (86): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,7,100.0%), (1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002458/0.2454, allocations: 201.6 kB / 355 MB, free: 6.098 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.875e-05/0.2455, allocations: 47.44 kB / 355.1 MB, free: 6.051 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001567/0.2471, allocations: 0.7648 MB / 355.9 MB, free: 5.273 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.2471, allocations: 8 kB / 355.9 MB, free: 5.266 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.2471, allocations: 4 kB / 355.9 MB, free: 5.262 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.2471, allocations: 3.984 kB / 355.9 MB, free: 5.258 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002457/0.2496, allocations: 1.516 MB / 357.4 MB, free: 3.676 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.2496, allocations: 0 / 357.4 MB, free: 3.676 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004954/0.2501, allocations: 127.8 kB / 357.5 MB, free: 3.551 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002674/0.2504, allocations: 101.6 kB / 357.6 MB, free: 3.445 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.724e-05/0.2504, allocations: 27.98 kB / 357.6 MB, free: 3.418 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002474/0.2529, allocations: 3.109 MB / 360.7 MB, free: 40 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.2529, allocations: 0 / 360.7 MB, free: 40 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001982/0.2549, allocations: 1.155 MB / 361.9 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.771e-05/0.255, allocations: 124.5 kB / 362 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.612e-05/0.2551, allocations: 12 kB / 362 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003952/0.2555, allocations: 31.97 kB / 362.1 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/0.2556, allocations: 56.64 kB / 362.1 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-05/0.2557, allocations: 20 kB / 362.1 MB, free: 14.6 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001692/0.2558, allocations: 194 kB / 362.3 MB, free: 14.41 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2559, allocations: 0 / 362.3 MB, free: 14.41 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007715/0.2566, allocations: 215.5 kB / 362.5 MB, free: 14.2 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (source.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 (60): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002209/0.2569, allocations: 151 kB / 362.7 MB, free: 14.05 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00154/0.2584, allocations: 0.9108 MB / 363.6 MB, free: 13.11 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.2584, allocations: 0 / 363.6 MB, free: 13.11 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007997/0.2592, allocations: 0.5759 MB / 364.2 MB, free: 12.51 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004764/0.2597, allocations: 36.56 kB / 364.2 MB, free: 12.48 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001969/0.2617, allocations: 1.446 MB / 365.7 MB, free: 11 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003786/0.2621, allocations: 0.8616 MB / 366.5 MB, free: 10.12 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003924/0.2625, allocations: 88.28 kB / 366.6 MB, free: 10.03 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001419/0.2626, allocations: 43.42 kB / 366.6 MB, free: 9.988 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2626, allocations: 0 / 366.6 MB, free: 9.988 MB / 302.1 MB Notification: Performance of Templates: time 0.01031/0.273, allocations: 5.731 MB / 372.4 MB, free: 4.25 MB / 302.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile (rm -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1)