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.005221/0.005221, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001156/0.001156, allocations: 197.4 kB / 16.67 MB, free: 5.977 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.532/1.532, allocations: 205.1 MB / 222.5 MB, free: 4.395 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.001316/0.001316, allocations: 50.08 kB / 326.5 MB, free: 14.61 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08734/0.08867, allocations: 46.63 MB / 373.2 MB, free: 1.422 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005604/0.09431, allocations: 4.286 MB / 377.5 MB, free: 13.11 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003071/0.0974, allocations: 1.682 MB / 379.1 MB, free: 11.41 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004528/0.09791, allocations: 12 kB / 379.2 MB, free: 11.4 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002506/0.1004, allocations: 1.015 MB / 380.2 MB, free: 10.38 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009904/0.1014, allocations: 258.1 kB / 380.4 MB, free: 10.13 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001758/0.1032, allocations: 0.7979 MB / 381.2 MB, free: 9.328 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008527/0.1041, allocations: 0.6377 MB / 381.9 MB, free: 8.688 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008627/0.1049, allocations: 0.5052 MB / 382.4 MB, free: 8.172 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004623/0.1054, allocations: 282.9 kB / 382.6 MB, free: 7.895 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005708/0.106, allocations: 362.5 kB / 383 MB, free: 7.539 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001344/0.1061, allocations: 56 kB / 383 MB, free: 7.484 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006398/0.1068, allocations: 267.8 kB / 383.3 MB, free: 7.223 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001355/0.1069, allocations: 139.5 kB / 383.4 MB, free: 7.086 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003398/0.1073, allocations: 326.4 kB / 383.8 MB, free: 6.766 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001092/0.1084, allocations: 0.9578 MB / 384.7 MB, free: 5.805 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1084, allocations: 0 / 384.7 MB, free: 5.805 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1084, allocations: 0 / 384.7 MB, free: 5.805 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.583e-05/0.1084, allocations: 0 / 384.7 MB, free: 5.805 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.003843/0.1123, allocations: 1.253 MB / 386 MB, free: 4.504 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.1123, allocations: 11.89 kB / 386 MB, free: 4.492 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001378/0.1137, allocations: 204 kB / 386.2 MB, free: 4.293 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002187/0.114, allocations: 251.2 kB / 386.4 MB, free: 4.008 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.771e-05/0.114, allocations: 62.38 kB / 386.5 MB, free: 3.945 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001316/0.1142, allocations: 76.28 kB / 386.6 MB, free: 3.871 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001368/0.1155, allocations: 0.7701 MB / 387.3 MB, free: 3.086 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.623e-05/0.1156, allocations: 0 / 387.3 MB, free: 3.086 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.394e-05/0.1156, allocations: 32 kB / 387.4 MB, free: 3.055 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.449e-05/0.1157, allocations: 16 kB / 387.4 MB, free: 3.039 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001348/0.117, allocations: 0.6765 MB / 388.1 MB, free: 2.363 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004507/0.1215, allocations: 3.083 MB / 391.1 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002684/0.1242, allocations: 2.089 MB / 393.2 MB, free: 12.63 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007003/0.125, allocations: 319.5 kB / 393.5 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001905/0.1252, allocations: 97.75 kB / 393.6 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.959e-05/0.1252, allocations: 43.44 kB / 393.7 MB, free: 12.15 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 2.695e-06/0.1252, allocations: 4 kB / 393.7 MB, free: 12.14 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.002545/0.1278, allocations: 1.145 MB / 394.8 MB, free: 10.95 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.293e-05/0.1279, allocations: 111.5 kB / 394.9 MB, free: 10.82 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003119/0.1282, allocations: 274.4 kB / 395.2 MB, free: 10.54 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.577e-05/0.1282, allocations: 41.7 kB / 395.2 MB, free: 10.49 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000234/0.1285, allocations: 295.4 kB / 395.5 MB, free: 10.2 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002778/0.1288, allocations: 248.4 kB / 395.8 MB, free: 9.949 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002981/0.1291, allocations: 138.6 kB / 395.9 MB, free: 9.805 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.1293, allocations: 350.7 kB / 396.3 MB, free: 9.453 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005432/0.1298, allocations: 237.9 kB / 396.5 MB, free: 9.223 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000639/0.1305, allocations: 378.3 kB / 396.9 MB, free: 8.797 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001156/0.1316, allocations: 0.6337 MB / 397.5 MB, free: 8.109 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/0.1317, allocations: 0 / 397.5 MB, free: 8.109 MB / 334.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00173/0.1334, allocations: 0.8345 MB / 398.3 MB, free: 7.266 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.1334, allocations: 4 kB / 398.3 MB, free: 7.262 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/0.1334, allocations: 4 kB / 398.3 MB, free: 7.258 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000429/0.1339, allocations: 129.7 kB / 398.5 MB, free: 7.125 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006129/0.1345, allocations: 159.8 kB / 398.6 MB, free: 6.969 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003649/0.1382, allocations: 3.782 MB / 402.4 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004753/0.1387, allocations: 91.25 kB / 402.5 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.735e-05/0.1387, allocations: 32 kB / 402.5 MB, free: 2.785 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.0002998/0.139, allocations: 189.7 kB / 402.7 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.755e-05/0.1391, allocations: 43.73 kB / 402.7 MB, free: 2.547 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001493/0.1406, allocations: 0.7529 MB / 403.5 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/0.1407, allocations: 11.94 kB / 403.5 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.1407, allocations: 4 kB / 403.5 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.1407, allocations: 3.984 kB / 403.5 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002432/0.1431, allocations: 1.493 MB / 405 MB, free: 208 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.1431, allocations: 4 kB / 405 MB, free: 204 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004929/0.1436, allocations: 107.9 kB / 405.1 MB, free: 96 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002973/0.1439, allocations: 117.7 kB / 405.2 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.819e-05/0.144, allocations: 12 kB / 405.2 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002762/0.1468, allocations: 3.337 MB / 408.6 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.1468, allocations: 8.031 kB / 408.6 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001952/0.1487, allocations: 1.125 MB / 409.7 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.1489, allocations: 132.5 kB / 409.8 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.188e-05/0.1489, allocations: 16 kB / 409.9 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003718/0.1493, allocations: 23.98 kB / 409.9 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.1494, allocations: 52.58 kB / 409.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.93e-05/0.1495, allocations: 23.98 kB / 410 MB, free: 10.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001868/0.1497, allocations: 194 kB / 410.2 MB, free: 10.74 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1497, allocations: 0 / 410.2 MB, free: 10.74 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007887/0.1505, allocations: 207.5 kB / 410.4 MB, free: 10.54 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.0002363/0.1507, allocations: 151.1 kB / 410.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001538/0.1523, allocations: 0.8795 MB / 411.4 MB, free: 9.473 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1523, allocations: 4 kB / 411.4 MB, free: 9.469 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007896/0.1531, allocations: 0.5643 MB / 411.9 MB, free: 8.879 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004798/0.1536, allocations: 44.48 kB / 412 MB, free: 8.836 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002031/0.1556, allocations: 1.097 MB / 413.1 MB, free: 7.703 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004533/0.1561, allocations: 0.8616 MB / 414 MB, free: 6.812 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003044/0.1564, allocations: 80.36 kB / 414 MB, free: 6.734 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.1565, allocations: 47.42 kB / 414.1 MB, free: 6.688 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1565, allocations: 0 / 414.1 MB, free: 6.688 MB / 350.1 MB Notification: Performance of Templates: time 0.01192/0.1685, allocations: 6.218 MB / 420.3 MB, free: 472 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)