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.0008883/0.000888, allocations: 92.66 kB / 16.65 MB, free: 6.535 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.001038/0.001038, allocations: 176.5 kB / 17.56 MB, free: 6.18 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.468/1.468, allocations: 205.4 MB / 223.7 MB, free: 13.05 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.0007765/0.0007765, allocations: 8 kB / 280.7 MB, free: 3.406 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09306/0.09386, allocations: 47.59 MB / 328.3 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.00431/0.09822, allocations: 3.853 MB / 332.2 MB, free: 15.87 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003055/0.1013, allocations: 1.663 MB / 333.8 MB, free: 14.19 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001529/0.1015, allocations: 12 kB / 333.9 MB, free: 14.18 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005073/0.102, allocations: 223.1 kB / 334.1 MB, free: 13.96 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005027/0.1025, allocations: 210.7 kB / 334.3 MB, free: 13.75 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001426/0.104, allocations: 0.7556 MB / 335 MB, free: 13 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005604/0.1045, allocations: 0.6143 MB / 335.6 MB, free: 12.38 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001646/0.1062, allocations: 0.9193 MB / 336.6 MB, free: 11.44 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003209/0.1065, allocations: 231 kB / 336.8 MB, free: 11.21 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003828/0.1069, allocations: 322.5 kB / 337.1 MB, free: 10.89 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.601e-05/0.107, allocations: 28 kB / 337.1 MB, free: 10.87 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004703/0.1074, allocations: 239.7 kB / 337.4 MB, free: 10.63 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.349e-05/0.1075, allocations: 103.5 kB / 337.5 MB, free: 10.53 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002987/0.1079, allocations: 328 kB / 337.8 MB, free: 10.2 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009887/0.1088, allocations: 0.8994 MB / 338.7 MB, free: 9.301 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.1089, allocations: 4 kB / 338.7 MB, free: 9.297 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.546e-06/0.1089, allocations: 0 / 338.7 MB, free: 9.297 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.678e-06/0.1089, allocations: 3.938 kB / 338.7 MB, free: 9.293 MB / 286.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.003426/0.1123, allocations: 1.14 MB / 339.8 MB, free: 8.102 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.1124, allocations: 12.02 kB / 339.8 MB, free: 8.09 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001371/0.1138, allocations: 207.9 kB / 340.1 MB, free: 7.887 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002365/0.114, allocations: 247.4 kB / 340.3 MB, free: 7.605 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.037e-05/0.1141, allocations: 54.38 kB / 340.3 MB, free: 7.555 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/0.1142, allocations: 72.38 kB / 340.4 MB, free: 7.484 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001372/0.1156, allocations: 0.7858 MB / 341.2 MB, free: 6.68 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.418e-05/0.1156, allocations: 0 / 341.2 MB, free: 6.68 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.641e-05/0.1157, allocations: 32 kB / 341.2 MB, free: 6.648 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.277e-05/0.1157, allocations: 20 kB / 341.3 MB, free: 6.629 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001339/0.1171, allocations: 0.6806 MB / 341.9 MB, free: 5.945 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003776/0.1208, allocations: 3.134 MB / 345.1 MB, free: 2.543 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002204/0.1231, allocations: 2.082 MB / 347.2 MB, free: 168 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007091/0.1238, allocations: 331.6 kB / 347.5 MB, free: 15.83 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.893e-05/0.1239, allocations: 97.66 kB / 347.6 MB, free: 15.72 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.1239, allocations: 43.22 kB / 347.6 MB, free: 15.67 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.184e-06/0.1239, allocations: 0 / 347.6 MB, free: 15.67 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.002755/0.1267, allocations: 1.184 MB / 348.8 MB, free: 14.43 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.937e-05/0.1268, allocations: 115.5 kB / 348.9 MB, free: 14.3 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003487/0.1271, allocations: 274.5 kB / 349.2 MB, free: 14.02 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.34e-05/0.1272, allocations: 41.7 kB / 349.2 MB, free: 13.98 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001772/0.1274, allocations: 295.4 kB / 349.5 MB, free: 13.68 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001717/0.1276, allocations: 244.4 kB / 349.7 MB, free: 13.44 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.452e-05/0.1276, allocations: 65.69 kB / 349.8 MB, free: 13.37 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.1278, allocations: 350.7 kB / 350.2 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005231/0.1283, allocations: 245.9 kB / 350.4 MB, free: 12.78 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006412/0.129, allocations: 394.5 kB / 350.8 MB, free: 12.34 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001224/0.1302, allocations: 0.6572 MB / 351.4 MB, free: 11.64 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.1302, allocations: 3.938 kB / 351.4 MB, free: 11.63 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001658/0.1319, allocations: 0.8618 MB / 352.3 MB, free: 10.75 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.1319, allocations: 11.94 kB / 352.3 MB, free: 10.74 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.1319, allocations: 4 kB / 352.3 MB, free: 10.74 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004339/0.1324, allocations: 125.7 kB / 352.4 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006542/0.133, allocations: 163.7 kB / 352.6 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003197/0.1363, allocations: 3.408 MB / 356 MB, free: 6.773 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005388/0.1368, allocations: 95.17 kB / 356.1 MB, free: 6.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.448e-05/0.1369, allocations: 39.98 kB / 356.1 MB, free: 6.641 MB / 302.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.0003346/0.1372, allocations: 205.5 kB / 356.3 MB, free: 6.43 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.033e-05/0.1373, allocations: 39.53 kB / 356.4 MB, free: 6.391 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001614/0.1389, allocations: 0.7687 MB / 357.1 MB, free: 5.609 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.1389, allocations: 4 kB / 357.1 MB, free: 5.605 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.139, allocations: 4 kB / 357.2 MB, free: 5.602 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.343e-06/0.139, allocations: 3.984 kB / 357.2 MB, free: 5.598 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002443/0.1414, allocations: 1.52 MB / 358.7 MB, free: 4.012 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.1414, allocations: 3.984 kB / 358.7 MB, free: 4.008 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000491/0.1419, allocations: 123.8 kB / 358.8 MB, free: 3.887 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002853/0.1422, allocations: 105.7 kB / 358.9 MB, free: 3.777 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.742e-05/0.1423, allocations: 19.98 kB / 358.9 MB, free: 3.758 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002674/0.145, allocations: 3.105 MB / 362 MB, free: 392 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.145, allocations: 0 / 362 MB, free: 392 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001979/0.147, allocations: 1.159 MB / 363.2 MB, free: 15.2 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.1471, allocations: 124.5 kB / 363.3 MB, free: 15.06 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.283e-05/0.1471, allocations: 12 kB / 363.3 MB, free: 15.05 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003967/0.1475, allocations: 35.97 kB / 363.4 MB, free: 15.02 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.1477, allocations: 52.58 kB / 363.4 MB, free: 14.96 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.35e-05/0.1477, allocations: 20 kB / 363.4 MB, free: 14.94 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001928/0.1479, allocations: 198 kB / 363.6 MB, free: 14.75 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1479, allocations: 0 / 363.6 MB, free: 14.75 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007533/0.1487, allocations: 215.5 kB / 363.8 MB, free: 14.54 MB / 318.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.0002457/0.1489, allocations: 147.1 kB / 364 MB, free: 14.39 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001601/0.1505, allocations: 0.9108 MB / 364.9 MB, free: 13.45 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1506, allocations: 0 / 364.9 MB, free: 13.45 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00081/0.1514, allocations: 0.576 MB / 365.5 MB, free: 12.85 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004652/0.1518, allocations: 40.55 kB / 365.5 MB, free: 12.81 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002091/0.1539, allocations: 1.438 MB / 366.9 MB, free: 11.35 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004133/0.1544, allocations: 0.8694 MB / 367.8 MB, free: 10.46 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003978/0.1548, allocations: 84.34 kB / 367.9 MB, free: 10.37 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/0.1549, allocations: 47.42 kB / 367.9 MB, free: 10.32 MB / 318.1 MB Notification: Performance of SimCode: time 4.4e-07/0.1549, allocations: 0 / 367.9 MB, free: 10.32 MB / 318.1 MB Notification: Performance of Templates: time 0.01067/0.1656, allocations: 5.732 MB / 373.7 MB, free: 4.594 MB / 318.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)