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.001603/0.001604, 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.002203/0.002203, allocations: 189.5 kB / 16.25 MB, free: 6.625 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.1 MB / 222.1 MB, free: 4.719 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.001218/0.001218, allocations: 55.92 kB / 278.2 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2222, allocations: 46.62 MB / 324.9 MB, free: 2.172 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.00464/0.2268, allocations: 4.291 MB / 329.1 MB, free: 14.79 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002657/0.2295, allocations: 1.661 MB / 330.8 MB, free: 13.45 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002009/0.2297, allocations: 17 kB / 330.8 MB, free: 13.44 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002099/0.2319, allocations: 0.9549 MB / 331.8 MB, free: 12.75 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005641/0.2325, allocations: 210 kB / 332 MB, free: 12.58 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001417/0.2339, allocations: 0.7447 MB / 332.7 MB, free: 12.03 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006087/0.2345, allocations: 0.6305 MB / 333.4 MB, free: 11.66 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007831/0.2353, allocations: 0.5755 MB / 333.9 MB, free: 11.15 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003219/0.2356, allocations: 270.9 kB / 334.2 MB, free: 10.89 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003626/0.236, allocations: 370.5 kB / 334.6 MB, free: 10.52 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.774e-05/0.2361, allocations: 56 kB / 334.6 MB, free: 10.47 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004921/0.2366, allocations: 267.8 kB / 334.9 MB, free: 10.21 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.2367, allocations: 139.5 kB / 335 MB, free: 10.07 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002525/0.2369, allocations: 330.3 kB / 335.3 MB, free: 9.746 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009031/0.2379, allocations: 0.95 MB / 336.3 MB, free: 8.793 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2379, allocations: 0 / 336.3 MB, free: 8.793 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.2379, allocations: 0 / 336.3 MB, free: 8.793 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.904e-06/0.2379, allocations: 0 / 336.3 MB, free: 8.793 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.003386/0.2413, allocations: 1.249 MB / 337.5 MB, free: 7.492 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.2413, allocations: 15.89 kB / 337.6 MB, free: 7.477 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00128/0.2426, allocations: 211.9 kB / 337.8 MB, free: 7.27 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002115/0.2428, allocations: 247.4 kB / 338 MB, free: 6.988 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.524e-05/0.2429, allocations: 58.38 kB / 338.1 MB, free: 6.934 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/0.243, allocations: 72.38 kB / 338.1 MB, free: 6.863 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00129/0.2443, allocations: 0.7662 MB / 338.9 MB, free: 6.078 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.556e-05/0.2443, allocations: 4 kB / 338.9 MB, free: 6.074 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.468e-05/0.2444, allocations: 32 kB / 338.9 MB, free: 6.043 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.564e-05/0.2444, allocations: 20 kB / 339 MB, free: 6.023 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001245/0.2457, allocations: 0.6727 MB / 339.6 MB, free: 5.348 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003738/0.2494, allocations: 3.103 MB / 342.7 MB, free: 1.977 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002409/0.2519, allocations: 2.086 MB / 344.8 MB, free: 15.59 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006153/0.2525, allocations: 315.6 kB / 345.1 MB, free: 15.27 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001298/0.2526, allocations: 101.7 kB / 345.2 MB, free: 15.16 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.2527, allocations: 43.44 kB / 345.3 MB, free: 15.11 MB / 286.1 MB Notification: Performance of pre-optimization done (n=72): time 2.064e-06/0.2527, allocations: 0 / 345.3 MB, free: 15.11 MB / 286.1 MB Notification: Performance of matching and sorting (n=72): time 0.002534/0.2552, allocations: 1.141 MB / 346.4 MB, free: 13.91 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.302e-05/0.2553, allocations: 111.5 kB / 346.5 MB, free: 13.78 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002549/0.2556, allocations: 278.4 kB / 346.8 MB, free: 13.5 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.142e-05/0.2556, allocations: 37.7 kB / 346.8 MB, free: 13.46 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001623/0.2558, allocations: 303.4 kB / 347.1 MB, free: 13.16 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001768/0.256, allocations: 240.4 kB / 347.4 MB, free: 12.92 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001974/0.2562, allocations: 142.6 kB / 347.5 MB, free: 12.77 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.2563, allocations: 350.7 kB / 347.8 MB, free: 12.42 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004951/0.2568, allocations: 229.9 kB / 348.1 MB, free: 12.2 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005987/0.2574, allocations: 382.3 kB / 348.4 MB, free: 11.77 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0011/0.2586, allocations: 0.6376 MB / 349.1 MB, free: 11.09 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.2586, allocations: 0 / 349.1 MB, free: 11.09 MB / 286.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001542/0.2601, allocations: 0.8264 MB / 349.9 MB, free: 10.24 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.2602, allocations: 8.594 kB / 349.9 MB, free: 10.23 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.2602, allocations: 8 kB / 349.9 MB, free: 10.23 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003924/0.2606, allocations: 133.5 kB / 350 MB, free: 10.09 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006237/0.2612, allocations: 159.8 kB / 350.2 MB, free: 9.934 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003133/0.2644, allocations: 3.785 MB / 354 MB, free: 5.871 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004883/0.2649, allocations: 95.03 kB / 354.1 MB, free: 5.777 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.084e-05/0.2649, allocations: 32 kB / 354.1 MB, free: 5.746 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.0002608/0.2652, allocations: 205.6 kB / 354.3 MB, free: 5.535 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.274e-05/0.2653, allocations: 39.53 kB / 354.3 MB, free: 5.496 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001509/0.2668, allocations: 0.7452 MB / 355.1 MB, free: 4.742 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.2668, allocations: 12 kB / 355.1 MB, free: 4.73 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2668, allocations: 4 kB / 355.1 MB, free: 4.727 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.2668, allocations: 3.984 kB / 355.1 MB, free: 4.723 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002379/0.2692, allocations: 1.497 MB / 356.6 MB, free: 3.16 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.2692, allocations: 0 / 356.6 MB, free: 3.16 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005026/0.2698, allocations: 107.9 kB / 356.7 MB, free: 3.055 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003003/0.2701, allocations: 109.6 kB / 356.8 MB, free: 2.941 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.12e-05/0.2701, allocations: 16 kB / 356.8 MB, free: 2.926 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00264/0.2728, allocations: 3.353 MB / 360.2 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.2728, allocations: 4.031 kB / 360.2 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001876/0.2747, allocations: 1.124 MB / 361.3 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001238/0.2748, allocations: 128.4 kB / 361.4 MB, free: 13.99 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.829e-05/0.2749, allocations: 12 kB / 361.5 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003898/0.2753, allocations: 27.98 kB / 361.5 MB, free: 13.95 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/0.2754, allocations: 48.58 kB / 361.5 MB, free: 13.9 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.881e-05/0.2754, allocations: 27.98 kB / 361.6 MB, free: 13.88 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001826/0.2756, allocations: 186 kB / 361.7 MB, free: 13.7 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.2756, allocations: 0 / 361.7 MB, free: 13.7 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007859/0.2764, allocations: 223.5 kB / 362 MB, free: 13.48 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.0002386/0.2767, allocations: 147.1 kB / 362.1 MB, free: 13.32 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001793/0.2785, allocations: 0.9069 MB / 363 MB, free: 12.39 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.2785, allocations: 4 kB / 363 MB, free: 12.39 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000766/0.2793, allocations: 0.5525 MB / 363.6 MB, free: 11.81 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000449/0.2797, allocations: 40.5 kB / 363.6 MB, free: 11.77 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002101/0.2818, allocations: 1.411 MB / 365 MB, free: 10.33 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004096/0.2823, allocations: 0.8616 MB / 365.9 MB, free: 9.449 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004138/0.2827, allocations: 88.23 kB / 366 MB, free: 9.359 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.2828, allocations: 47.42 kB / 366 MB, free: 9.312 MB / 302.1 MB Notification: Performance of SimCode: time 3.5e-07/0.2828, allocations: 4 kB / 366 MB, free: 9.309 MB / 302.1 MB Notification: Performance of Templates: time 0.01073/0.2936, allocations: 6.09 MB / 372.1 MB, free: 3.211 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)