Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001246/0.001246, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001442/0.001442, allocations: 192.9 kB / 16.14 MB, free: 6.715 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.429/1.429, allocations: 205.1 MB / 222 MB, free: 4.73 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.001139/0.001139, allocations: 51.92 kB / 278.1 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.2605, allocations: 46.62 MB / 324.7 MB, free: 1.934 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005002/0.2656, allocations: 4.291 MB / 329 MB, free: 14.55 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002896/0.2685, allocations: 1.683 MB / 330.7 MB, free: 13.19 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004636/0.269, allocations: 12 kB / 330.7 MB, free: 13.19 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002186/0.2712, allocations: 0.9499 MB / 331.6 MB, free: 12.5 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000727/0.2719, allocations: 216.5 kB / 331.8 MB, free: 12.32 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001445/0.2734, allocations: 0.7633 MB / 332.6 MB, free: 11.76 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006424/0.274, allocations: 0.6093 MB / 333.2 MB, free: 11.41 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007316/0.2748, allocations: 483.5 kB / 333.7 MB, free: 11.11 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003331/0.2751, allocations: 253.4 kB / 333.9 MB, free: 10.87 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003552/0.2755, allocations: 346.6 kB / 334.3 MB, free: 10.53 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.699e-05/0.2756, allocations: 44 kB / 334.3 MB, free: 10.48 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005646/0.2761, allocations: 255.7 kB / 334.6 MB, free: 10.23 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.979e-05/0.2763, allocations: 123.5 kB / 334.7 MB, free: 10.11 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002895/0.2766, allocations: 314.3 kB / 335 MB, free: 9.805 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000913/0.2775, allocations: 0.9344 MB / 335.9 MB, free: 8.867 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2775, allocations: 0 / 335.9 MB, free: 8.867 MB / 270.1 MB Notification: Performance of FrontEnd: time 8.41e-07/0.2775, allocations: 0 / 335.9 MB, free: 8.867 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.607e-06/0.2775, allocations: 3.938 kB / 335.9 MB, free: 8.863 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.003611/0.2811, allocations: 1.261 MB / 337.2 MB, free: 7.551 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.2812, allocations: 8.031 kB / 337.2 MB, free: 7.543 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001375/0.2826, allocations: 207.9 kB / 337.4 MB, free: 7.34 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001883/0.2828, allocations: 239.4 kB / 337.6 MB, free: 7.066 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.4e-05/0.2828, allocations: 58.38 kB / 337.7 MB, free: 7.012 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.852e-05/0.2829, allocations: 72.38 kB / 337.8 MB, free: 6.941 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001313/0.2842, allocations: 0.7702 MB / 338.5 MB, free: 6.152 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.538e-05/0.2843, allocations: 3.938 kB / 338.5 MB, free: 6.148 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.625e-05/0.2843, allocations: 32 kB / 338.6 MB, free: 6.117 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.57e-05/0.2844, allocations: 16 kB / 338.6 MB, free: 6.102 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001331/0.2857, allocations: 0.6649 MB / 339.2 MB, free: 5.434 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003924/0.2896, allocations: 3.114 MB / 342.4 MB, free: 2.051 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002392/0.292, allocations: 2.07 MB / 344.4 MB, free: 15.68 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006249/0.2927, allocations: 319.8 kB / 344.7 MB, free: 15.36 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001071/0.2928, allocations: 105.7 kB / 344.8 MB, free: 15.24 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.725e-05/0.2929, allocations: 39.22 kB / 344.9 MB, free: 15.2 MB / 286.1 MB Notification: Performance of pre-optimization done (n=72): time 2.054e-06/0.2929, allocations: 0 / 344.9 MB, free: 15.2 MB / 286.1 MB Notification: Performance of matching and sorting (n=72): time 0.002508/0.2954, allocations: 1.141 MB / 346 MB, free: 14 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.613e-05/0.2954, allocations: 115.4 kB / 346.1 MB, free: 13.87 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002594/0.2957, allocations: 274.5 kB / 346.4 MB, free: 13.59 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.567e-05/0.2958, allocations: 37.7 kB / 346.4 MB, free: 13.55 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001606/0.2959, allocations: 295.6 kB / 346.7 MB, free: 13.26 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001696/0.2961, allocations: 256.4 kB / 347 MB, free: 13 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001995/0.2963, allocations: 142.5 kB / 347.1 MB, free: 12.86 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.2965, allocations: 350.7 kB / 347.5 MB, free: 12.51 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005014/0.297, allocations: 229.9 kB / 347.7 MB, free: 12.28 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005854/0.2976, allocations: 378.3 kB / 348.1 MB, free: 11.86 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/0.2987, allocations: 0.6376 MB / 348.7 MB, free: 11.18 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.2987, allocations: 0 / 348.7 MB, free: 11.18 MB / 286.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001527/0.3002, allocations: 0.8382 MB / 349.5 MB, free: 10.32 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.3002, allocations: 4 kB / 349.5 MB, free: 10.32 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.3002, allocations: 4.219 kB / 349.5 MB, free: 10.31 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003899/0.3006, allocations: 125.6 kB / 349.7 MB, free: 10.18 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006235/0.3013, allocations: 155.8 kB / 349.8 MB, free: 10.03 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002978/0.3043, allocations: 3.415 MB / 353.2 MB, free: 6.348 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004993/0.3048, allocations: 87.2 kB / 353.3 MB, free: 6.262 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.994e-05/0.3048, allocations: 31.98 kB / 353.3 MB, free: 6.23 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.0002484/0.3051, allocations: 201.5 kB / 353.5 MB, free: 6.023 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.928e-05/0.3052, allocations: 47.44 kB / 353.6 MB, free: 5.977 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001562/0.3068, allocations: 0.7454 MB / 354.3 MB, free: 5.219 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.3068, allocations: 8 kB / 354.3 MB, free: 5.211 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.3068, allocations: 4 kB / 354.3 MB, free: 5.207 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.3068, allocations: 7.984 kB / 354.4 MB, free: 5.199 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002485/0.3093, allocations: 1.497 MB / 355.9 MB, free: 3.637 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.3093, allocations: 0 / 355.9 MB, free: 3.637 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005262/0.3099, allocations: 111.9 kB / 356 MB, free: 3.527 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002917/0.3102, allocations: 117.6 kB / 356.1 MB, free: 3.406 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.819e-05/0.3102, allocations: 15.94 kB / 356.1 MB, free: 3.391 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002472/0.3127, allocations: 3.101 MB / 359.2 MB, free: 20 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3127, allocations: 0 / 359.2 MB, free: 20 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001979/0.3147, allocations: 1.124 MB / 360.3 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.679e-05/0.3148, allocations: 124.5 kB / 360.4 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.111e-05/0.3149, allocations: 11.98 kB / 360.4 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004082/0.3153, allocations: 39.98 kB / 360.5 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.3154, allocations: 52.56 kB / 360.5 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-05/0.3154, allocations: 20 kB / 360.6 MB, free: 14.61 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002116/0.3157, allocations: 194 kB / 360.7 MB, free: 14.42 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3157, allocations: 0 / 360.7 MB, free: 14.42 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007591/0.3164, allocations: 215.5 kB / 361 MB, free: 14.21 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.0002387/0.3167, allocations: 143.1 kB / 361.1 MB, free: 14.06 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001539/0.3182, allocations: 0.8995 MB / 362 MB, free: 13.14 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3182, allocations: 0 / 362 MB, free: 13.14 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007749/0.319, allocations: 0.5517 MB / 362.5 MB, free: 12.56 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005245/0.3196, allocations: 32.56 kB / 362.6 MB, free: 12.53 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002169/0.3217, allocations: 1.413 MB / 364 MB, free: 11.09 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004535/0.3222, allocations: 0.8577 MB / 364.9 MB, free: 10.21 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000401/0.3226, allocations: 84.36 kB / 364.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001438/0.3228, allocations: 43.42 kB / 365 MB, free: 10.08 MB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3228, allocations: 0 / 365 MB, free: 10.08 MB / 302.1 MB Notification: Performance of Templates: time 0.01055/0.3333, allocations: 5.821 MB / 370.8 MB, free: 4.254 MB / 302.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1)