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.008613/0.008613, allocations: 99.83 kB / 15.73 MB, free: 6.02 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.00174/0.00174, allocations: 189.5 kB / 16.67 MB, free: 5.938 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.497/1.497, allocations: 205.1 MB / 222.6 MB, free: 4.488 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.001819/0.001819, allocations: 50.44 kB / 326.5 MB, free: 14.58 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1162, allocations: 46.63 MB / 373.2 MB, free: 1.441 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.006411/0.1226, allocations: 4.286 MB / 377.5 MB, free: 13.13 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003628/0.1263, allocations: 1.678 MB / 379.1 MB, free: 11.44 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007453/0.1271, allocations: 12 kB / 379.2 MB, free: 11.43 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002944/0.1301, allocations: 1.031 MB / 380.2 MB, free: 10.39 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001249/0.1314, allocations: 246.2 kB / 380.4 MB, free: 10.15 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002066/0.1335, allocations: 0.7901 MB / 381.2 MB, free: 9.355 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00139/0.1349, allocations: 0.6416 MB / 381.9 MB, free: 8.711 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001388/0.1363, allocations: 0.5169 MB / 382.4 MB, free: 8.184 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000849/0.1371, allocations: 270.9 kB / 382.6 MB, free: 7.918 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007972/0.138, allocations: 366.5 kB / 383 MB, free: 7.559 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001924/0.1382, allocations: 56 kB / 383 MB, free: 7.504 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008604/0.139, allocations: 267.8 kB / 383.3 MB, free: 7.242 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001741/0.1392, allocations: 147.5 kB / 383.5 MB, free: 7.098 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004573/0.1397, allocations: 322.4 kB / 383.8 MB, free: 6.781 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001728/0.1414, allocations: 0.9611 MB / 384.7 MB, free: 5.816 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.1415, allocations: 4 kB / 384.7 MB, free: 5.812 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.507e-06/0.1415, allocations: 0 / 384.7 MB, free: 5.812 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.275e-05/0.1415, allocations: 0 / 384.7 MB, free: 5.812 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.004759/0.1463, allocations: 1.271 MB / 386 MB, free: 4.492 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.113e-05/0.1464, allocations: 15.89 kB / 386 MB, free: 4.477 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001475/0.1478, allocations: 208.3 kB / 386.2 MB, free: 4.273 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002534/0.1481, allocations: 247.3 kB / 386.5 MB, free: 3.992 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.738e-05/0.1482, allocations: 54.38 kB / 386.5 MB, free: 3.938 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001408/0.1483, allocations: 76.36 kB / 386.6 MB, free: 3.863 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001377/0.1497, allocations: 0.7663 MB / 387.4 MB, free: 3.082 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.966e-05/0.1498, allocations: 15.83 kB / 387.4 MB, free: 3.066 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.403e-05/0.1498, allocations: 28 kB / 387.4 MB, free: 3.039 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.1498, allocations: 20 kB / 387.4 MB, free: 3.02 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001298/0.1511, allocations: 0.6688 MB / 388.1 MB, free: 2.352 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004271/0.1554, allocations: 3.092 MB / 391.2 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002407/0.1579, allocations: 2.07 MB / 393.3 MB, free: 12.63 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006446/0.1585, allocations: 327.8 kB / 393.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001131/0.1586, allocations: 101.7 kB / 393.7 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.292e-05/0.1587, allocations: 43.22 kB / 393.7 MB, free: 12.14 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 2.535e-06/0.1587, allocations: 0 / 393.7 MB, free: 12.14 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.002638/0.1614, allocations: 1.146 MB / 394.9 MB, free: 10.94 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.656e-05/0.1614, allocations: 115.4 kB / 395 MB, free: 10.8 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002903/0.1617, allocations: 270.5 kB / 395.2 MB, free: 10.53 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.164e-05/0.1618, allocations: 41.7 kB / 395.3 MB, free: 10.48 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001738/0.1619, allocations: 308.3 kB / 395.6 MB, free: 10.18 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001649/0.1621, allocations: 253.8 kB / 395.8 MB, free: 9.926 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002021/0.1623, allocations: 138.6 kB / 396 MB, free: 9.781 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.1625, allocations: 350.7 kB / 396.3 MB, free: 9.43 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005087/0.163, allocations: 225.9 kB / 396.5 MB, free: 9.211 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006073/0.1636, allocations: 390.3 kB / 396.9 MB, free: 8.773 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001123/0.1647, allocations: 0.6376 MB / 397.5 MB, free: 8.082 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.1647, allocations: 0 / 397.5 MB, free: 8.082 MB / 334.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001606/0.1664, allocations: 0.8345 MB / 398.4 MB, free: 7.238 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.1664, allocations: 8 kB / 398.4 MB, free: 7.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.1664, allocations: 4.219 kB / 398.4 MB, free: 7.227 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003968/0.1668, allocations: 121.6 kB / 398.5 MB, free: 7.102 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006502/0.1675, allocations: 159.8 kB / 398.7 MB, free: 6.945 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003349/0.1708, allocations: 3.793 MB / 402.5 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000526/0.1714, allocations: 91.38 kB / 402.5 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-05/0.1714, allocations: 32 kB / 402.6 MB, free: 2.75 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.0002707/0.1717, allocations: 197.7 kB / 402.8 MB, free: 2.547 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.822e-05/0.1718, allocations: 39.98 kB / 402.8 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001593/0.1734, allocations: 0.7453 MB / 403.6 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/0.1734, allocations: 15.88 kB / 403.6 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1735, allocations: 0 / 403.6 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.1735, allocations: 11.98 kB / 403.6 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002489/0.176, allocations: 1.497 MB / 405.1 MB, free: 164 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.176, allocations: 0 / 405.1 MB, free: 164 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000514/0.1765, allocations: 111.9 kB / 405.2 MB, free: 52 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003011/0.1768, allocations: 109.6 kB / 405.3 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.929e-05/0.1769, allocations: 16 kB / 405.3 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002765/0.1796, allocations: 3.345 MB / 408.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.1797, allocations: 3.938 kB / 408.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001992/0.1817, allocations: 1.129 MB / 409.8 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.1818, allocations: 128.7 kB / 409.9 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.405e-05/0.1818, allocations: 16 kB / 409.9 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004046/0.1823, allocations: 32.05 kB / 410 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.1824, allocations: 52.58 kB / 410 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.86e-05/0.1824, allocations: 19.98 kB / 410 MB, free: 10.88 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001897/0.1826, allocations: 194 kB / 410.2 MB, free: 10.69 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1826, allocations: 0 / 410.2 MB, free: 10.69 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007914/0.1834, allocations: 211.6 kB / 410.4 MB, free: 10.48 MB / 350.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.0002576/0.1837, allocations: 151 kB / 410.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001675/0.1854, allocations: 0.8839 MB / 411.5 MB, free: 9.418 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.1854, allocations: 0 / 411.5 MB, free: 9.418 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008146/0.1862, allocations: 0.5594 MB / 412 MB, free: 8.832 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005076/0.1867, allocations: 45.05 kB / 412.1 MB, free: 8.789 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002139/0.1889, allocations: 1.123 MB / 413.2 MB, free: 7.629 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004884/0.1894, allocations: 0.8616 MB / 414 MB, free: 6.738 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003313/0.1897, allocations: 84.36 kB / 414.1 MB, free: 6.656 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001331/0.1899, allocations: 43.42 kB / 414.2 MB, free: 6.613 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1899, allocations: 0 / 414.2 MB, free: 6.613 MB / 350.1 MB Notification: Performance of Templates: time 0.01317/0.2031, allocations: 6.219 MB / 420.4 MB, free: 396 kB / 350.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)