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.007244/0.007244, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001652/0.001652, allocations: 195.3 kB / 16.67 MB, free: 5.52 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.462/1.462, allocations: 205.1 MB / 222.5 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.001514/0.001514, allocations: 55.92 kB / 326.6 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09499/0.09651, allocations: 46.61 MB / 373.2 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005645/0.1022, allocations: 4.289 MB / 377.5 MB, free: 260 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1684/0.2706, allocations: 1.674 MB / 379.1 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004796/0.2712, allocations: 12.38 kB / 379.1 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002325/0.2735, allocations: 1.02 MB / 380.2 MB, free: 9.547 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008334/0.2744, allocations: 249.4 kB / 380.4 MB, free: 9.449 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00149/0.2759, allocations: 0.8018 MB / 381.2 MB, free: 9.312 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008013/0.2767, allocations: 0.635 MB / 381.8 MB, free: 9.16 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000767/0.2774, allocations: 0.5213 MB / 382.4 MB, free: 9.082 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003588/0.2778, allocations: 273.2 kB / 382.6 MB, free: 8.957 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004289/0.2783, allocations: 359.2 kB / 383 MB, free: 8.801 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.621e-05/0.2783, allocations: 55 kB / 383 MB, free: 8.801 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005927/0.2789, allocations: 272.8 kB / 383.3 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.991e-05/0.2791, allocations: 141.1 kB / 383.4 MB, free: 8.641 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002555/0.2793, allocations: 330 kB / 383.8 MB, free: 8.441 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001066/0.2804, allocations: 0.9526 MB / 384.7 MB, free: 8.105 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.2804, allocations: 0.7969 kB / 384.7 MB, free: 8.105 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2804, allocations: 0 / 384.7 MB, free: 8.105 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.907e-06/0.2804, allocations: 0.9062 kB / 384.7 MB, free: 8.105 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.003384/0.2838, allocations: 1.261 MB / 386 MB, free: 7.383 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.2839, allocations: 14.36 kB / 386 MB, free: 7.379 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001373/0.2853, allocations: 202.8 kB / 386.2 MB, free: 7.324 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001813/0.2854, allocations: 240.3 kB / 386.4 MB, free: 7.074 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.093e-05/0.2855, allocations: 57.16 kB / 386.5 MB, free: 7.047 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/0.2856, allocations: 77.03 kB / 386.6 MB, free: 7.02 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001395/0.287, allocations: 0.7724 MB / 387.3 MB, free: 6.684 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.325e-05/0.2871, allocations: 1.797 kB / 387.3 MB, free: 6.684 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.735e-05/0.2871, allocations: 29.59 kB / 387.4 MB, free: 6.66 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.327e-05/0.2872, allocations: 18.72 kB / 387.4 MB, free: 6.66 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001362/0.2885, allocations: 0.6693 MB / 388 MB, free: 6.434 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003749/0.2923, allocations: 3.09 MB / 391.1 MB, free: 4.191 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001944/0.2943, allocations: 2.082 MB / 393.2 MB, free: 2.336 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006119/0.2949, allocations: 325.2 kB / 393.5 MB, free: 2.211 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001031/0.295, allocations: 100.7 kB / 393.6 MB, free: 2.113 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.295, allocations: 44.48 kB / 393.7 MB, free: 2.066 MB / 318.1 MB Notification: Performance of pre-optimization done (n=72): time 2.064e-06/0.295, allocations: 0 / 393.7 MB, free: 2.066 MB / 318.1 MB Notification: Performance of matching and sorting (n=72): time 0.002476/0.2975, allocations: 1.14 MB / 394.8 MB, free: 1.516 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.2976, allocations: 111.4 kB / 394.9 MB, free: 1.391 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002569/0.2978, allocations: 273.3 kB / 395.2 MB, free: 1.227 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.413e-05/0.2979, allocations: 37.27 kB / 395.2 MB, free: 1.188 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000129/0.298, allocations: 295.2 kB / 395.5 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000128/0.2982, allocations: 248.7 kB / 395.8 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001989/0.2984, allocations: 148.3 kB / 395.9 MB, free: 0.668 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.322e-05/0.2984, allocations: 353 kB / 396.2 MB, free: 344 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004586/0.2989, allocations: 228.3 kB / 396.5 MB, free: 268 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000517/0.2994, allocations: 381.8 kB / 396.8 MB, free: 16 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/0.3005, allocations: 0.6411 MB / 397.5 MB, free: 15.62 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.3006, allocations: 0 / 397.5 MB, free: 15.62 MB / 334.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001544/0.3021, allocations: 0.8285 MB / 398.3 MB, free: 15.27 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.3021, allocations: 7.562 kB / 398.3 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.3021, allocations: 3.922 kB / 398.3 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004098/0.3026, allocations: 131.4 kB / 398.5 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006192/0.3032, allocations: 156.8 kB / 398.6 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003507/0.3067, allocations: 3.782 MB / 402.4 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004984/0.3072, allocations: 90.03 kB / 402.5 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-05/0.3073, allocations: 29.11 kB / 402.5 MB, free: 11.68 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.0002801/0.3076, allocations: 200.5 kB / 402.7 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.3077, allocations: 43.02 kB / 402.7 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001545/0.3092, allocations: 0.7431 MB / 403.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/0.3093, allocations: 7.156 kB / 403.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/0.3093, allocations: 6.953 kB / 403.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.254e-05/0.3093, allocations: 8.656 kB / 403.5 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002846/0.3122, allocations: 1.487 MB / 405 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.167e-06/0.3122, allocations: 9.062 kB / 405 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005043/0.3127, allocations: 110 kB / 405.1 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003233/0.313, allocations: 110.2 kB / 405.2 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.337e-05/0.3131, allocations: 20.25 kB / 405.2 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003128/0.3162, allocations: 3.341 MB / 408.6 MB, free: 7.152 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.3162, allocations: 1.375 kB / 408.6 MB, free: 7.152 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002074/0.3183, allocations: 1.125 MB / 409.7 MB, free: 6.473 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/0.3185, allocations: 128.7 kB / 409.8 MB, free: 6.34 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.391e-05/0.3185, allocations: 11.78 kB / 409.8 MB, free: 6.332 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003852/0.3189, allocations: 34.89 kB / 409.9 MB, free: 6.312 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/0.3191, allocations: 56.11 kB / 409.9 MB, free: 6.277 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.016e-05/0.3191, allocations: 21.47 kB / 410 MB, free: 6.27 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001863/0.3193, allocations: 191.9 kB / 410.1 MB, free: 6.141 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3193, allocations: 1.125 kB / 410.1 MB, free: 6.141 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008476/0.3202, allocations: 211.4 kB / 410.3 MB, free: 6.09 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.0002847/0.3205, allocations: 147.8 kB / 410.5 MB, free: 5.969 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001581/0.322, allocations: 0.8915 MB / 411.4 MB, free: 5.426 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3221, allocations: 0 / 411.4 MB, free: 5.426 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008142/0.3229, allocations: 0.5528 MB / 411.9 MB, free: 5.035 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005273/0.3234, allocations: 48.31 kB / 412 MB, free: 5.004 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002094/0.3255, allocations: 1.108 MB / 413.1 MB, free: 4.309 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005046/0.326, allocations: 0.8632 MB / 414 MB, free: 3.531 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003274/0.3264, allocations: 82.14 kB / 414 MB, free: 3.484 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000141/0.3265, allocations: 45.7 kB / 414.1 MB, free: 3.469 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3265, allocations: 1.812 kB / 414.1 MB, free: 3.469 MB / 334.1 MB Notification: Performance of Templates: time 0.01234/0.3389, allocations: 6.227 MB / 420.3 MB, free: 14.75 MB / 350.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)