Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2.2_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.2.2_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.0009243/0.0009243, allocations: 89.95 kB / 16.31 MB, free: 6.461 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.0009439/0.0009442, allocations: 181.8 kB / 17.21 MB, free: 6.328 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.506/1.506, allocations: 205.4 MB / 223.4 MB, free: 5.812 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.0004619/0.0004619, allocations: 11.98 kB / 280.2 MB, free: 13.05 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2191/0.2196, allocations: 47.59 MB / 327.7 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.003957/0.2236, allocations: 3.633 MB / 331.4 MB, free: 14.57 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002774/0.2264, allocations: 1.548 MB / 332.9 MB, free: 13.32 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001999/0.2266, allocations: 11.56 kB / 332.9 MB, free: 13.32 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004449/0.2271, allocations: 167.9 kB / 333.1 MB, free: 13.2 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005115/0.2276, allocations: 207 kB / 333.3 MB, free: 13.04 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001294/0.2289, allocations: 0.6362 MB / 333.9 MB, free: 12.55 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006053/0.2295, allocations: 0.5863 MB / 334.5 MB, free: 12.2 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001525/0.2311, allocations: 0.8439 MB / 335.4 MB, free: 11.58 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003263/0.2314, allocations: 230.8 kB / 335.6 MB, free: 11.46 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004619/0.2319, allocations: 307 kB / 335.9 MB, free: 11.28 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.773e-05/0.2319, allocations: 27.88 kB / 335.9 MB, free: 11.28 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004889/0.2324, allocations: 236 kB / 336.2 MB, free: 11.1 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.148e-05/0.2325, allocations: 103.5 kB / 336.3 MB, free: 11 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001143/0.2327, allocations: 133.4 kB / 336.4 MB, free: 10.86 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000738/0.2334, allocations: 0.7064 MB / 337.1 MB, free: 10.15 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.2334, allocations: 4 kB / 337.1 MB, free: 10.15 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2334, allocations: 0 / 337.1 MB, free: 10.15 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.056e-06/0.2334, allocations: 0 / 337.1 MB, free: 10.15 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.003078/0.2365, allocations: 1.155 MB / 338.2 MB, free: 8.941 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.2366, allocations: 8.031 kB / 338.3 MB, free: 8.934 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001272/0.2378, allocations: 210.9 kB / 338.5 MB, free: 8.727 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002259/0.2381, allocations: 234.2 kB / 338.7 MB, free: 8.457 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.219e-05/0.2381, allocations: 58 kB / 338.7 MB, free: 8.402 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001255/0.2383, allocations: 76 kB / 338.8 MB, free: 8.328 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001364/0.2396, allocations: 0.7699 MB / 339.6 MB, free: 7.539 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.722e-05/0.2397, allocations: 3.938 kB / 339.6 MB, free: 7.535 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.273e-05/0.2398, allocations: 36 kB / 339.6 MB, free: 7.5 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.705e-05/0.2398, allocations: 19.98 kB / 339.6 MB, free: 7.48 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001503/0.2413, allocations: 0.6805 MB / 340.3 MB, free: 6.797 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004738/0.246, allocations: 3.118 MB / 343.4 MB, free: 3.41 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002455/0.2485, allocations: 2.089 MB / 345.5 MB, free: 1.023 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006531/0.2492, allocations: 331.8 kB / 345.9 MB, free: 0.6953 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000132/0.2493, allocations: 105.7 kB / 346 MB, free: 0.5703 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.14e-05/0.2494, allocations: 39.22 kB / 346 MB, free: 0.5234 MB / 270.1 MB Notification: Performance of pre-optimization done (n=72): time 3.336e-06/0.2494, allocations: 0 / 346 MB, free: 0.5234 MB / 270.1 MB Notification: Performance of matching and sorting (n=72): time 0.002586/0.252, allocations: 1.169 MB / 347.2 MB, free: 15.31 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.051e-05/0.2521, allocations: 115.4 kB / 347.3 MB, free: 15.17 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002801/0.2523, allocations: 270.5 kB / 347.5 MB, free: 14.89 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.923e-05/0.2524, allocations: 41.7 kB / 347.6 MB, free: 14.85 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001947/0.2526, allocations: 291.4 kB / 347.9 MB, free: 14.56 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001934/0.2528, allocations: 244.5 kB / 348.1 MB, free: 14.32 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.22e-05/0.2528, allocations: 16 kB / 348.1 MB, free: 14.3 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.253, allocations: 354.8 kB / 348.5 MB, free: 13.95 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005071/0.2535, allocations: 237.9 kB / 348.7 MB, free: 13.71 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006274/0.2541, allocations: 390.3 kB / 349.1 MB, free: 13.28 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005823/0.2547, allocations: 294.9 kB / 349.4 MB, free: 12.99 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.2547, allocations: 0 / 349.4 MB, free: 12.99 MB / 286.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001508/0.2563, allocations: 0.8462 MB / 350.2 MB, free: 12.13 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.21e-05/0.2563, allocations: 12.08 kB / 350.2 MB, free: 12.12 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.2563, allocations: 7.953 kB / 350.2 MB, free: 12.11 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000403/0.2567, allocations: 121.6 kB / 350.4 MB, free: 11.98 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006058/0.2573, allocations: 159.8 kB / 350.5 MB, free: 11.83 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00305/0.2604, allocations: 3.415 MB / 353.9 MB, free: 8.148 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005002/0.2609, allocations: 99.2 kB / 354 MB, free: 8.051 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.909e-05/0.261, allocations: 35.98 kB / 354.1 MB, free: 8.016 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 7,(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003009/0.2613, allocations: 197.6 kB / 354.3 MB, free: 7.812 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.2614, allocations: 43.44 kB / 354.3 MB, free: 7.77 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00157/0.263, allocations: 0.7726 MB / 355.1 MB, free: 6.984 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.277e-06/0.263, allocations: 8 kB / 355.1 MB, free: 6.977 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.263, allocations: 0 / 355.1 MB, free: 6.977 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.263, allocations: 3.984 kB / 355.1 MB, free: 6.973 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002441/0.2655, allocations: 1.505 MB / 356.6 MB, free: 5.402 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.381e-06/0.2655, allocations: 3.953 kB / 356.6 MB, free: 5.398 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005018/0.266, allocations: 119.9 kB / 356.7 MB, free: 5.281 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000281/0.2663, allocations: 109.6 kB / 356.8 MB, free: 5.168 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.161e-05/0.2664, allocations: 31.86 kB / 356.8 MB, free: 5.137 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00248/0.2688, allocations: 3.105 MB / 360 MB, free: 1.766 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.2689, allocations: 0 / 360 MB, free: 1.766 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001925/0.2708, allocations: 1.152 MB / 361.1 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001332/0.2709, allocations: 124.4 kB / 361.2 MB, free: 460 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.566e-05/0.271, allocations: 12 kB / 361.2 MB, free: 448 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00036/0.2714, allocations: 31.97 kB / 361.3 MB, free: 416 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.2715, allocations: 52.58 kB / 361.3 MB, free: 364 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.57e-05/0.2715, allocations: 23.95 kB / 361.3 MB, free: 340 kB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001815/0.2717, allocations: 198 kB / 361.5 MB, free: 140 kB / 286.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.2717, allocations: 0 / 361.5 MB, free: 140 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0007941/0.2725, allocations: 207.6 kB / 361.7 MB, free: 15.93 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002272/0.2728, allocations: 147 kB / 361.9 MB, free: 15.78 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001592/0.2744, allocations: 0.8953 MB / 362.8 MB, free: 14.86 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2744, allocations: 0 / 362.8 MB, free: 14.86 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007854/0.2752, allocations: 0.5759 MB / 363.4 MB, free: 14.26 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004751/0.2757, allocations: 36.5 kB / 363.4 MB, free: 14.23 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002175/0.2779, allocations: 1.379 MB / 364.8 MB, free: 12.82 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004559/0.2783, allocations: 0.8616 MB / 365.6 MB, free: 11.94 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004068/0.2787, allocations: 88.34 kB / 365.7 MB, free: 11.85 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001438/0.2789, allocations: 43.42 kB / 365.8 MB, free: 11.8 MB / 302.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2789, allocations: 0 / 365.8 MB, free: 11.8 MB / 302.1 MB Notification: Performance of Templates: time 0.01117/0.2901, allocations: 5.586 MB / 371.3 MB, free: 6.211 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1)