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.001079/0.001079, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001157/0.001157, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.655/1.655, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.0005211/0.0005212, allocations: 12 kB / 278.9 MB, free: 12.81 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.2415, allocations: 47.59 MB / 326.5 MB, free: 1.617 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.003947/0.2455, allocations: 3.632 MB / 330.1 MB, free: 14.77 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002453/0.248, allocations: 1.541 MB / 331.7 MB, free: 13.52 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003337/0.2484, allocations: 12.44 kB / 331.7 MB, free: 13.52 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005756/0.249, allocations: 167.2 kB / 331.8 MB, free: 13.41 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000664/0.2496, allocations: 207.4 kB / 332 MB, free: 13.24 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001472/0.2511, allocations: 0.6468 MB / 332.7 MB, free: 12.75 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009554/0.2521, allocations: 0.5863 MB / 333.3 MB, free: 12.4 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001816/0.2539, allocations: 0.8362 MB / 334.1 MB, free: 11.78 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005558/0.2545, allocations: 231.4 kB / 334.3 MB, free: 11.66 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006169/0.2551, allocations: 314.7 kB / 334.6 MB, free: 11.45 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 9.985e-05/0.2552, allocations: 28 kB / 334.7 MB, free: 11.42 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000683/0.2559, allocations: 231.8 kB / 334.9 MB, free: 11.2 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.256, allocations: 103.5 kB / 335 MB, free: 11.09 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002176/0.2563, allocations: 133.4 kB / 335.1 MB, free: 10.96 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008406/0.2571, allocations: 0.7104 MB / 335.8 MB, free: 10.25 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.2571, allocations: 0 / 335.8 MB, free: 10.25 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.327e-06/0.2571, allocations: 0 / 335.8 MB, free: 10.25 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.946e-05/0.2572, allocations: 7.875 kB / 335.8 MB, free: 10.24 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.003854/0.261, allocations: 1.151 MB / 337 MB, free: 9.035 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.2611, allocations: 8.031 kB / 337 MB, free: 9.027 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00135/0.2625, allocations: 210.9 kB / 337.2 MB, free: 8.82 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00027/0.2627, allocations: 238.2 kB / 337.4 MB, free: 8.547 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.701e-05/0.2628, allocations: 58 kB / 337.5 MB, free: 8.492 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/0.2629, allocations: 76 kB / 337.6 MB, free: 8.418 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001396/0.2643, allocations: 0.766 MB / 338.3 MB, free: 7.633 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.504e-05/0.2644, allocations: 4 kB / 338.3 MB, free: 7.629 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.863e-05/0.2644, allocations: 32 kB / 338.4 MB, free: 7.598 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.835e-05/0.2645, allocations: 16 kB / 338.4 MB, free: 7.582 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001321/0.2658, allocations: 0.6844 MB / 339.1 MB, free: 6.895 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004375/0.2702, allocations: 3.122 MB / 342.2 MB, free: 3.504 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002341/0.2725, allocations: 2.082 MB / 344.3 MB, free: 1.125 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006126/0.2732, allocations: 331.5 kB / 344.6 MB, free: 0.7969 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001221/0.2733, allocations: 102 kB / 344.7 MB, free: 0.6758 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.2733, allocations: 43.16 kB / 344.7 MB, free: 0.625 MB / 270.1 MB Notification: Performance of pre-optimization done (n=72): time 3.667e-06/0.2734, allocations: 3.984 kB / 344.7 MB, free: 0.6211 MB / 270.1 MB Notification: Performance of matching and sorting (n=72): time 0.002628/0.276, allocations: 1.173 MB / 345.9 MB, free: 15.4 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.16e-05/0.2761, allocations: 115.4 kB / 346 MB, free: 15.26 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003152/0.2764, allocations: 266.5 kB / 346.3 MB, free: 14.99 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.108e-05/0.2765, allocations: 41.7 kB / 346.3 MB, free: 14.95 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001977/0.2767, allocations: 291.4 kB / 346.6 MB, free: 14.66 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00019/0.2769, allocations: 244.4 kB / 346.9 MB, free: 14.41 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.194e-05/0.2769, allocations: 16 kB / 346.9 MB, free: 14.4 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.2771, allocations: 358.8 kB / 347.2 MB, free: 14.04 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004907/0.2776, allocations: 233.9 kB / 347.4 MB, free: 13.81 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005909/0.2782, allocations: 394.3 kB / 347.8 MB, free: 13.37 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005675/0.2787, allocations: 290.9 kB / 348.1 MB, free: 13.09 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.2788, allocations: 0 / 348.1 MB, free: 13.09 MB / 286.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001564/0.2803, allocations: 0.8502 MB / 349 MB, free: 12.22 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.2804, allocations: 4 kB / 349 MB, free: 12.22 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.2804, allocations: 7.953 kB / 349 MB, free: 12.21 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004084/0.2808, allocations: 129.7 kB / 349.1 MB, free: 12.08 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006162/0.2814, allocations: 155.8 kB / 349.3 MB, free: 11.93 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003315/0.2847, allocations: 3.416 MB / 352.7 MB, free: 8.246 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005059/0.2853, allocations: 99.2 kB / 352.8 MB, free: 8.148 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.382e-05/0.2853, allocations: 35.98 kB / 352.8 MB, free: 8.113 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.0002788/0.2856, allocations: 189.7 kB / 353 MB, free: 7.918 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.452e-05/0.2857, allocations: 43.44 kB / 353 MB, free: 7.875 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001577/0.2873, allocations: 0.7764 MB / 353.8 MB, free: 7.086 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.2873, allocations: 8 kB / 353.8 MB, free: 7.078 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.2873, allocations: 0 / 353.8 MB, free: 7.078 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.597e-06/0.2873, allocations: 3.984 kB / 353.8 MB, free: 7.074 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002471/0.2898, allocations: 1.509 MB / 355.3 MB, free: 5.5 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.144e-06/0.2898, allocations: 4.062 kB / 355.3 MB, free: 5.496 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004867/0.2903, allocations: 119.8 kB / 355.4 MB, free: 5.379 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002673/0.2906, allocations: 113.6 kB / 355.6 MB, free: 5.262 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.117e-05/0.2907, allocations: 23.98 kB / 355.6 MB, free: 5.238 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002755/0.2934, allocations: 3.101 MB / 358.7 MB, free: 1.871 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/0.2934, allocations: 0 / 358.7 MB, free: 1.871 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001859/0.2953, allocations: 1.152 MB / 359.8 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.488e-05/0.2954, allocations: 124.4 kB / 360 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.558e-05/0.2955, allocations: 12 kB / 360 MB, free: 0.543 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003475/0.2958, allocations: 35.97 kB / 360 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.2959, allocations: 48.58 kB / 360.1 MB, free: 472 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.549e-05/0.296, allocations: 23.95 kB / 360.1 MB, free: 448 kB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000206/0.2962, allocations: 198 kB / 360.3 MB, free: 248 kB / 286.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2962, allocations: 0 / 360.3 MB, free: 248 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.000781/0.297, allocations: 215.5 kB / 360.5 MB, free: 32 kB / 286.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.0002671/0.2973, allocations: 143.1 kB / 360.6 MB, free: 15.88 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001535/0.2988, allocations: 0.9031 MB / 361.5 MB, free: 14.95 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.2988, allocations: 0 / 361.5 MB, free: 14.95 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007471/0.2996, allocations: 0.572 MB / 362.1 MB, free: 14.36 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000435/0.3, allocations: 36.56 kB / 362.1 MB, free: 14.32 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002009/0.302, allocations: 1.387 MB / 363.5 MB, free: 12.91 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004434/0.3025, allocations: 0.8616 MB / 364.4 MB, free: 12.03 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003931/0.3029, allocations: 88.34 kB / 364.5 MB, free: 11.94 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/0.303, allocations: 39.42 kB / 364.5 MB, free: 11.9 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.303, allocations: 0 / 364.5 MB, free: 11.9 MB / 302.1 MB Notification: Performance of Templates: time 0.01033/0.3134, allocations: 5.59 MB / 370.1 MB, free: 6.301 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)