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.006091/0.006091, allocations: 101.9 kB / 15.73 MB, free: 6.496 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.002053/0.002053, allocations: 198.7 kB / 16.68 MB, free: 6.375 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.5 MB, free: 4.531 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.0012/0.0012, allocations: 49.2 kB / 326.6 MB, free: 14.39 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09718/0.09839, allocations: 46.63 MB / 373.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005359/0.1038, allocations: 4.274 MB / 377.5 MB, free: 13.02 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002656/0.1065, allocations: 1.686 MB / 379.1 MB, free: 11.32 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002073/0.1067, allocations: 12 kB / 379.2 MB, free: 11.31 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002139/0.1089, allocations: 1.015 MB / 380.2 MB, free: 10.29 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005445/0.1094, allocations: 258.2 kB / 380.4 MB, free: 10.04 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001493/0.1109, allocations: 0.7939 MB / 381.2 MB, free: 9.242 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005761/0.1115, allocations: 0.6377 MB / 381.8 MB, free: 8.602 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007042/0.1122, allocations: 0.513 MB / 382.4 MB, free: 8.078 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002985/0.1125, allocations: 282.9 kB / 382.6 MB, free: 7.801 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003986/0.1129, allocations: 358.5 kB / 383 MB, free: 7.449 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.746e-05/0.113, allocations: 56 kB / 383 MB, free: 7.395 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004975/0.1135, allocations: 267.8 kB / 383.3 MB, free: 7.133 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.1137, allocations: 143.5 kB / 383.4 MB, free: 6.992 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002515/0.1139, allocations: 322.4 kB / 383.8 MB, free: 6.676 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009798/0.1149, allocations: 0.965 MB / 384.7 MB, free: 5.707 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.1149, allocations: 3.984 kB / 384.7 MB, free: 5.703 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1149, allocations: 0 / 384.7 MB, free: 5.703 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.36e-05/0.1149, allocations: 0 / 384.7 MB, free: 5.703 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.003488/0.1184, allocations: 1.267 MB / 386 MB, free: 4.387 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.1185, allocations: 15.89 kB / 386 MB, free: 4.371 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001421/0.1199, allocations: 208.3 kB / 386.2 MB, free: 4.168 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001947/0.1201, allocations: 247.3 kB / 386.5 MB, free: 3.887 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.783e-05/0.1202, allocations: 54.38 kB / 386.5 MB, free: 3.832 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/0.1203, allocations: 72.38 kB / 386.6 MB, free: 3.762 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001329/0.1216, allocations: 0.774 MB / 387.4 MB, free: 2.973 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.865e-05/0.1217, allocations: 7.953 kB / 387.4 MB, free: 2.965 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.391e-05/0.1217, allocations: 32 kB / 387.4 MB, free: 2.934 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.598e-05/0.1218, allocations: 20 kB / 387.4 MB, free: 2.914 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001323/0.1231, allocations: 0.6688 MB / 388.1 MB, free: 2.246 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003811/0.1269, allocations: 3.092 MB / 391.2 MB, free: 14.9 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002226/0.1292, allocations: 2.074 MB / 393.2 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006265/0.1298, allocations: 331.5 kB / 393.6 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001158/0.1299, allocations: 97.75 kB / 393.7 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.13, allocations: 39.22 kB / 393.7 MB, free: 12.03 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 2.685e-06/0.13, allocations: 0 / 393.7 MB, free: 12.03 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.00261/0.1326, allocations: 1.153 MB / 394.9 MB, free: 10.83 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.921e-05/0.1327, allocations: 111.5 kB / 395 MB, free: 10.7 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002877/0.133, allocations: 274.5 kB / 395.2 MB, free: 10.42 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.998e-05/0.133, allocations: 37.7 kB / 395.3 MB, free: 10.38 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001778/0.1332, allocations: 300.4 kB / 395.6 MB, free: 10.07 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001779/0.1334, allocations: 257.8 kB / 395.8 MB, free: 9.82 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002001/0.1336, allocations: 138.6 kB / 396 MB, free: 9.676 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.1337, allocations: 362.7 kB / 396.3 MB, free: 9.312 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004921/0.1342, allocations: 221.9 kB / 396.5 MB, free: 9.098 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006121/0.1349, allocations: 386.3 kB / 396.9 MB, free: 8.664 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001162/0.136, allocations: 0.6376 MB / 397.5 MB, free: 7.973 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.1361, allocations: 0 / 397.5 MB, free: 7.973 MB / 334.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001653/0.1377, allocations: 0.8385 MB / 398.4 MB, free: 7.125 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.1378, allocations: 8 kB / 398.4 MB, free: 7.117 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.746e-05/0.1378, allocations: 4 kB / 398.4 MB, free: 7.113 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004144/0.1382, allocations: 125.7 kB / 398.5 MB, free: 6.984 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006397/0.1389, allocations: 159.8 kB / 398.7 MB, free: 6.828 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003581/0.1425, allocations: 3.79 MB / 402.5 MB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006484/0.1431, allocations: 87.39 kB / 402.5 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.444e-05/0.1432, allocations: 35.98 kB / 402.6 MB, free: 2.637 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.0003952/0.1436, allocations: 197.6 kB / 402.8 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/0.1438, allocations: 44.05 kB / 402.8 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001752/0.1455, allocations: 0.7453 MB / 403.6 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/0.1455, allocations: 11.94 kB / 403.6 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.365e-06/0.1456, allocations: 4 kB / 403.6 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.1456, allocations: 3.984 kB / 403.6 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002725/0.1483, allocations: 1.489 MB / 405.1 MB, free: 60 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.1483, allocations: 0 / 405.1 MB, free: 60 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004868/0.1488, allocations: 115.9 kB / 405.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000299/0.1491, allocations: 113.5 kB / 405.3 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.019e-05/0.1492, allocations: 20 kB / 405.3 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003089/0.1523, allocations: 3.345 MB / 408.7 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.1523, allocations: 0 / 408.7 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001903/0.1542, allocations: 1.125 MB / 409.8 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001536/0.1544, allocations: 136.7 kB / 409.9 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.915e-05/0.1544, allocations: 11.98 kB / 409.9 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004003/0.1548, allocations: 28.05 kB / 410 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001389/0.155, allocations: 56.58 kB / 410 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.765e-05/0.155, allocations: 16 kB / 410 MB, free: 10.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001994/0.1553, allocations: 198 kB / 410.2 MB, free: 10.58 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1553, allocations: 0 / 410.2 MB, free: 10.58 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008375/0.1561, allocations: 215.6 kB / 410.4 MB, free: 10.37 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.00028/0.1564, allocations: 143.1 kB / 410.6 MB, free: 10.22 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001685/0.1581, allocations: 0.8882 MB / 411.5 MB, free: 9.309 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.1581, allocations: 4.062 kB / 411.5 MB, free: 9.305 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007815/0.1589, allocations: 0.5594 MB / 412 MB, free: 8.719 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004933/0.1594, allocations: 36.5 kB / 412.1 MB, free: 8.684 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002009/0.1614, allocations: 1.123 MB / 413.2 MB, free: 7.523 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004254/0.1619, allocations: 0.8616 MB / 414 MB, free: 6.633 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003335/0.1622, allocations: 84.36 kB / 414.1 MB, free: 6.551 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/0.1623, allocations: 43.42 kB / 414.2 MB, free: 6.508 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1623, allocations: 4 kB / 414.2 MB, free: 6.504 MB / 350.1 MB Notification: Performance of Templates: time 0.01097/0.1733, allocations: 6.215 MB / 420.4 MB, free: 288 kB / 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)