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.001298/0.001298, allocations: 112.6 kB / 17.06 MB, free: 6.016 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.001697/0.001697, allocations: 191.9 kB / 18 MB, free: 5.098 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.452/1.452, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.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.001177/0.001177, allocations: 59.92 kB / 327.9 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08526/0.08645, allocations: 46.62 MB / 374.5 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.004947/0.09145, allocations: 4.285 MB / 378.8 MB, free: 268 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1754/0.2669, allocations: 1.681 MB / 380.5 MB, free: 9.672 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002363/0.2672, allocations: 12.38 kB / 380.5 MB, free: 9.672 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002014/0.2692, allocations: 1.017 MB / 381.5 MB, free: 9.539 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005029/0.2698, allocations: 252.8 kB / 381.7 MB, free: 9.445 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001427/0.2712, allocations: 0.7982 MB / 382.5 MB, free: 9.312 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006612/0.2719, allocations: 0.6358 MB / 383.2 MB, free: 9.16 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000731/0.2726, allocations: 0.5162 MB / 383.7 MB, free: 9.082 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003187/0.2729, allocations: 279 kB / 384 MB, free: 8.953 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004013/0.2733, allocations: 359.6 kB / 384.3 MB, free: 8.797 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.351e-05/0.2734, allocations: 56.5 kB / 384.4 MB, free: 8.797 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005233/0.274, allocations: 272.6 kB / 384.6 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001065/0.2741, allocations: 137.5 kB / 384.8 MB, free: 8.637 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002378/0.2743, allocations: 331.3 kB / 385.1 MB, free: 8.438 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001057/0.2754, allocations: 0.958 MB / 386 MB, free: 8.098 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2754, allocations: 0 / 386 MB, free: 8.098 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.2754, allocations: 0 / 386 MB, free: 8.098 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.673e-05/0.2754, allocations: 0 / 386 MB, free: 8.098 MB / 318.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.003529/0.279, allocations: 1.276 MB / 387.3 MB, free: 7.355 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.279, allocations: 13.61 kB / 387.3 MB, free: 7.352 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001414/0.2804, allocations: 209.9 kB / 387.5 MB, free: 7.293 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001709/0.2806, allocations: 248.9 kB / 387.8 MB, free: 7.035 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.651e-05/0.2807, allocations: 56.28 kB / 387.8 MB, free: 7.008 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.2808, allocations: 72.02 kB / 387.9 MB, free: 6.984 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001353/0.2822, allocations: 0.7688 MB / 388.7 MB, free: 6.652 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.722e-05/0.2822, allocations: 6.062 kB / 388.7 MB, free: 6.648 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.092e-05/0.2823, allocations: 31.16 kB / 388.7 MB, free: 6.625 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.789e-05/0.2823, allocations: 17.47 kB / 388.7 MB, free: 6.625 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/0.2837, allocations: 0.673 MB / 389.4 MB, free: 6.395 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003813/0.2875, allocations: 3.088 MB / 392.5 MB, free: 4.156 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001928/0.2895, allocations: 2.073 MB / 394.6 MB, free: 2.309 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006609/0.2902, allocations: 325.3 kB / 394.9 MB, free: 2.184 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.193e-05/0.2903, allocations: 101.3 kB / 395 MB, free: 2.086 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/0.2903, allocations: 39.86 kB / 395 MB, free: 2.043 MB / 318.1 MB Notification: Performance of pre-optimization done (n=72): time 2.535e-06/0.2903, allocations: 0 / 395 MB, free: 2.043 MB / 318.1 MB Notification: Performance of matching and sorting (n=72): time 0.002553/0.2929, allocations: 1.148 MB / 396.2 MB, free: 1.48 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.2929, allocations: 112 kB / 396.3 MB, free: 1.355 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002795/0.2932, allocations: 275.8 kB / 396.5 MB, free: 1.191 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.562e-05/0.2932, allocations: 36.11 kB / 396.6 MB, free: 1.152 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.2934, allocations: 312.1 kB / 396.9 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001414/0.2935, allocations: 256.2 kB / 397.1 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001996/0.2937, allocations: 136.4 kB / 397.3 MB, free: 0.625 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.464e-05/0.2938, allocations: 352.4 kB / 397.6 MB, free: 300 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004924/0.2943, allocations: 228.1 kB / 397.8 MB, free: 224 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005965/0.2949, allocations: 390.6 kB / 398.2 MB, free: 15.96 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/0.2961, allocations: 0.6379 MB / 398.9 MB, free: 15.57 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-06/0.2961, allocations: 1.812 kB / 398.9 MB, free: 15.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001621/0.2977, allocations: 0.8311 MB / 399.7 MB, free: 15.22 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.2978, allocations: 8.938 kB / 399.7 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.2978, allocations: 8.031 kB / 399.7 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004022/0.2982, allocations: 122.4 kB / 399.8 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006207/0.2988, allocations: 167.2 kB / 400 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003224/0.3021, allocations: 3.788 MB / 403.8 MB, free: 11.67 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005245/0.3026, allocations: 89.2 kB / 403.9 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-05/0.3027, allocations: 29.98 kB / 403.9 MB, free: 11.61 MB / 334.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.0002714/0.3029, allocations: 199.3 kB / 404.1 MB, free: 11.44 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.858e-05/0.3031, allocations: 39.61 kB / 404.1 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001634/0.3047, allocations: 0.7434 MB / 404.9 MB, free: 11.08 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/0.3047, allocations: 8.531 kB / 404.9 MB, free: 11.08 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.3047, allocations: 6.281 kB / 404.9 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/0.3047, allocations: 4.656 kB / 404.9 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002584/0.3073, allocations: 1.49 MB / 406.4 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.3074, allocations: 9.75 kB / 406.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005042/0.3079, allocations: 113.7 kB / 406.5 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000284/0.3082, allocations: 110.6 kB / 406.6 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.097e-05/0.3082, allocations: 15.77 kB / 406.6 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002606/0.3108, allocations: 3.346 MB / 410 MB, free: 7.09 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3108, allocations: 1.25 kB / 410 MB, free: 7.09 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002027/0.3129, allocations: 1.126 MB / 411.1 MB, free: 6.406 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/0.313, allocations: 122.4 kB / 411.2 MB, free: 6.281 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.2e-05/0.3131, allocations: 23.22 kB / 411.2 MB, free: 6.262 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003876/0.3135, allocations: 30.38 kB / 411.3 MB, free: 6.246 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/0.3136, allocations: 56.42 kB / 411.3 MB, free: 6.211 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.032e-05/0.3136, allocations: 17.53 kB / 411.3 MB, free: 6.207 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001864/0.3138, allocations: 192 kB / 411.5 MB, free: 6.078 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3138, allocations: 3.938 kB / 411.5 MB, free: 6.074 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008617/0.3147, allocations: 220.3 kB / 411.7 MB, free: 6.016 MB / 334.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.0002462/0.315, allocations: 147 kB / 411.9 MB, free: 5.898 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00164/0.3166, allocations: 0.8786 MB / 412.8 MB, free: 5.367 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.3166, allocations: 1.344 kB / 412.8 MB, free: 5.367 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008082/0.3174, allocations: 0.5607 MB / 413.3 MB, free: 4.969 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005165/0.318, allocations: 47.75 kB / 413.4 MB, free: 4.934 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001973/0.32, allocations: 1.12 MB / 414.5 MB, free: 4.227 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003833/0.3204, allocations: 0.8706 MB / 415.4 MB, free: 3.441 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003281/0.3207, allocations: 82.8 kB / 415.4 MB, free: 3.395 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/0.3208, allocations: 42.95 kB / 415.5 MB, free: 3.383 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3208, allocations: 0 / 415.5 MB, free: 3.383 MB / 334.1 MB Notification: Performance of Templates: time 0.01097/0.3318, allocations: 6.232 MB / 421.7 MB, free: 14.66 MB / 350.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)