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.001002/0.001002, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.0009215/0.0009216, allocations: 177.3 kB / 15.94 MB, free: 228 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.488/1.488, allocations: 205.4 MB / 222.1 MB, free: 5.52 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.0004351/0.0004351, allocations: 15.98 kB / 278.9 MB, free: 12.7 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2286/0.2291, allocations: 47.58 MB / 326.5 MB, free: 1.676 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.003427/0.2326, allocations: 3.411 MB / 329.9 MB, free: 15.04 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002603/0.2352, allocations: 1.543 MB / 331.4 MB, free: 13.8 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001914/0.2354, allocations: 11.56 kB / 331.4 MB, free: 13.8 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004207/0.2358, allocations: 168.2 kB / 331.6 MB, free: 13.68 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005238/0.2364, allocations: 237.2 kB / 331.8 MB, free: 13.49 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001286/0.2377, allocations: 0.6439 MB / 332.5 MB, free: 13.01 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005801/0.2383, allocations: 445.4 kB / 332.9 MB, free: 12.74 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001401/0.2397, allocations: 0.8209 MB / 333.7 MB, free: 12.14 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003252/0.24, allocations: 232.1 kB / 333.9 MB, free: 12.02 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000367/0.2404, allocations: 302.8 kB / 334.2 MB, free: 11.82 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.991e-05/0.2404, allocations: 28 kB / 334.3 MB, free: 11.8 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004488/0.2409, allocations: 199.8 kB / 334.5 MB, free: 11.6 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.831e-05/0.241, allocations: 107.6 kB / 334.6 MB, free: 11.5 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001126/0.2411, allocations: 137.4 kB / 334.7 MB, free: 11.36 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006741/0.2418, allocations: 0.6987 MB / 335.4 MB, free: 10.66 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.2418, allocations: 3.938 kB / 335.4 MB, free: 10.65 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2418, allocations: 4 kB / 335.4 MB, free: 10.65 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.186e-05/0.2418, allocations: 0 / 335.4 MB, free: 10.65 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.003316/0.2451, allocations: 1.147 MB / 336.6 MB, free: 9.449 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.2452, allocations: 8.031 kB / 336.6 MB, free: 9.441 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00135/0.2465, allocations: 210.9 kB / 336.8 MB, free: 9.234 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001983/0.2468, allocations: 238.2 kB / 337 MB, free: 8.961 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.715e-05/0.2468, allocations: 58 kB / 337.1 MB, free: 8.906 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.2469, allocations: 72 kB / 337.1 MB, free: 8.836 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001266/0.2482, allocations: 0.7659 MB / 337.9 MB, free: 8.051 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.387e-05/0.2482, allocations: 3.984 kB / 337.9 MB, free: 8.047 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.821e-05/0.2483, allocations: 32 kB / 337.9 MB, free: 8.016 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/0.2483, allocations: 20 kB / 338 MB, free: 7.996 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001293/0.2496, allocations: 0.6806 MB / 338.6 MB, free: 7.312 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003954/0.2536, allocations: 3.126 MB / 341.8 MB, free: 3.918 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00241/0.256, allocations: 2.089 MB / 343.8 MB, free: 1.531 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001251/0.2562, allocations: 97.75 kB / 343.9 MB, free: 1.418 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/0.2562, allocations: 35.22 kB / 344 MB, free: 1.375 MB / 270.1 MB Notification: Performance of pre-optimization done (n=72): time 2.555e-06/0.2562, allocations: 0 / 344 MB, free: 1.375 MB / 270.1 MB Notification: Performance of matching and sorting (n=72): time 0.002567/0.2588, allocations: 1.155 MB / 345.1 MB, free: 176 kB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.674e-05/0.2589, allocations: 111.5 kB / 345.2 MB, free: 40 kB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002924/0.2592, allocations: 274.5 kB / 345.5 MB, free: 15.76 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.282e-05/0.2592, allocations: 37.7 kB / 345.5 MB, free: 15.72 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001854/0.2594, allocations: 287.5 kB / 345.8 MB, free: 15.43 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001731/0.2596, allocations: 252.4 kB / 346.1 MB, free: 15.18 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.148e-05/0.2597, allocations: 16 kB / 346.1 MB, free: 15.17 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.2598, allocations: 354.8 kB / 346.4 MB, free: 14.81 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004962/0.2603, allocations: 233.9 kB / 346.7 MB, free: 14.58 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005908/0.2609, allocations: 398.3 kB / 347.1 MB, free: 14.14 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00056/0.2615, allocations: 290.9 kB / 347.3 MB, free: 13.86 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.2615, allocations: 0 / 347.3 MB, free: 13.86 MB / 286.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0015/0.263, allocations: 0.8461 MB / 348.2 MB, free: 13 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.263, allocations: 12.12 kB / 348.2 MB, free: 12.98 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.263, allocations: 4 kB / 348.2 MB, free: 12.98 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003565/0.2634, allocations: 117.6 kB / 348.3 MB, free: 12.86 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006276/0.264, allocations: 159.8 kB / 348.5 MB, free: 12.7 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002589/0.2666, allocations: 3.175 MB / 351.6 MB, free: 9.262 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004884/0.2671, allocations: 91.16 kB / 351.7 MB, free: 9.172 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.586e-05/0.2672, allocations: 28 kB / 351.8 MB, free: 9.145 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 (88): * Single equations (assignments): 86 * 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 prepare postOptimizeDAE: time 0.0002527/0.2675, allocations: 201.7 kB / 352 MB, free: 8.938 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.411e-05/0.2676, allocations: 43.52 kB / 352 MB, free: 8.895 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001496/0.2691, allocations: 0.761 MB / 352.8 MB, free: 8.121 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.303e-06/0.2691, allocations: 8 kB / 352.8 MB, free: 8.113 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.2691, allocations: 0 / 352.8 MB, free: 8.113 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.2691, allocations: 8.203 kB / 352.8 MB, free: 8.105 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002275/0.2714, allocations: 1.441 MB / 354.2 MB, free: 6.602 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.2714, allocations: 3.938 kB / 354.2 MB, free: 6.598 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004917/0.2719, allocations: 119.8 kB / 354.3 MB, free: 6.48 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002767/0.2722, allocations: 113.6 kB / 354.5 MB, free: 6.363 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.818e-05/0.2722, allocations: 15.95 kB / 354.5 MB, free: 6.348 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002527/0.2748, allocations: 3.152 MB / 357.6 MB, free: 2.926 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.2748, allocations: 4.062 kB / 357.6 MB, free: 2.922 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001879/0.2767, allocations: 1.165 MB / 358.8 MB, free: 1.73 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001268/0.2768, allocations: 128.4 kB / 358.9 MB, free: 1.586 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.761e-05/0.2769, allocations: 12 kB / 358.9 MB, free: 1.574 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003871/0.2773, allocations: 39.91 kB / 359 MB, free: 1.535 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.2774, allocations: 56.64 kB / 359 MB, free: 1.48 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.875e-05/0.2775, allocations: 19.95 kB / 359 MB, free: 1.461 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001782/0.2776, allocations: 193.9 kB / 359.2 MB, free: 1.273 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2776, allocations: 4 kB / 359.2 MB, free: 1.27 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0007562/0.2784, allocations: 211.5 kB / 359.4 MB, free: 1.062 MB / 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.0002654/0.2787, allocations: 151.2 kB / 359.6 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001533/0.2802, allocations: 0.8876 MB / 360.5 MB, free: 15.99 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.2802, allocations: 0 / 360.5 MB, free: 15.99 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007743/0.281, allocations: 0.5836 MB / 361.1 MB, free: 15.38 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003075/0.2813, allocations: 24.56 kB / 361.1 MB, free: 15.35 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002094/0.2834, allocations: 1.371 MB / 362.5 MB, free: 13.95 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004539/0.2839, allocations: 0.8772 MB / 363.3 MB, free: 13.05 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003887/0.2843, allocations: 80.36 kB / 363.4 MB, free: 12.97 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/0.2844, allocations: 43.42 kB / 363.5 MB, free: 12.93 MB / 302.1 MB Notification: Performance of SimCode: time 3e-07/0.2844, allocations: 0 / 363.5 MB, free: 12.93 MB / 302.1 MB Notification: Performance of Templates: time 0.01024/0.2947, allocations: 5.489 MB / 368.9 MB, free: 7.438 MB / 302.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: