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.001166/0.001166, allocations: 101.3 kB / 16.5 MB, free: 6.648 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.0014/0.0014, allocations: 194.4 kB / 17.42 MB, free: 6.066 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.408/1.408, allocations: 205.1 MB / 223.3 MB, free: 12.46 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.001132/0.001132, allocations: 39.94 kB / 279.3 MB, free: 3.59 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08924/0.09039, allocations: 46.63 MB / 326 MB, free: 4.891 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005117/0.09555, allocations: 4.293 MB / 330.3 MB, free: 0.5664 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002555/0.09813, allocations: 1.671 MB / 331.9 MB, free: 14.88 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001655/0.09832, allocations: 12 kB / 331.9 MB, free: 14.87 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001951/0.1003, allocations: 0.9613 MB / 332.9 MB, free: 13.91 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004565/0.1008, allocations: 206.7 kB / 333.1 MB, free: 13.7 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001383/0.1022, allocations: 0.7673 MB / 333.9 MB, free: 12.93 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005528/0.1027, allocations: 0.6143 MB / 334.5 MB, free: 12.32 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006951/0.1034, allocations: 473.9 kB / 335 MB, free: 11.85 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002912/0.1037, allocations: 262.9 kB / 335.2 MB, free: 11.59 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003513/0.1041, allocations: 350.5 kB / 335.5 MB, free: 11.25 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.626e-05/0.1042, allocations: 48 kB / 335.6 MB, free: 11.2 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004832/0.1047, allocations: 251.7 kB / 335.8 MB, free: 10.96 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.581e-05/0.1048, allocations: 127.5 kB / 336 MB, free: 10.83 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002411/0.105, allocations: 310.3 kB / 336.3 MB, free: 10.53 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008422/0.1059, allocations: 0.9305 MB / 337.2 MB, free: 9.594 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1059, allocations: 4 kB / 337.2 MB, free: 9.59 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.1059, allocations: 0 / 337.2 MB, free: 9.59 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.1059, allocations: 0 / 337.2 MB, free: 9.59 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.003565/0.1095, allocations: 1.249 MB / 338.5 MB, free: 8.289 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.1095, allocations: 12.03 kB / 338.5 MB, free: 8.277 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001353/0.1109, allocations: 207.9 kB / 338.7 MB, free: 8.074 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/0.1111, allocations: 247.4 kB / 338.9 MB, free: 7.793 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.833e-05/0.1111, allocations: 54.36 kB / 339 MB, free: 7.742 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.1112, allocations: 76.38 kB / 339 MB, free: 7.668 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001339/0.1126, allocations: 0.774 MB / 339.8 MB, free: 6.875 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.41e-05/0.1126, allocations: 4 kB / 339.8 MB, free: 6.871 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.531e-05/0.1127, allocations: 32 kB / 339.8 MB, free: 6.84 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.969e-05/0.1127, allocations: 20 kB / 339.9 MB, free: 6.82 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001309/0.114, allocations: 0.6649 MB / 340.5 MB, free: 6.152 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003843/0.1179, allocations: 3.11 MB / 343.6 MB, free: 2.773 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0022/0.1201, allocations: 2.074 MB / 345.7 MB, free: 412 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006185/0.1207, allocations: 319.5 kB / 346 MB, free: 84 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001197/0.1209, allocations: 97.73 kB / 346.1 MB, free: 15.97 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.1209, allocations: 43.22 kB / 346.2 MB, free: 15.92 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.445e-06/0.1209, allocations: 0 / 346.2 MB, free: 15.92 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.002546/0.1235, allocations: 1.138 MB / 347.3 MB, free: 14.73 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.221e-05/0.1236, allocations: 115.5 kB / 347.4 MB, free: 14.59 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002701/0.1238, allocations: 270.5 kB / 347.7 MB, free: 14.32 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.368e-05/0.1239, allocations: 41.7 kB / 347.7 MB, free: 14.28 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001853/0.1241, allocations: 295.4 kB / 348 MB, free: 13.98 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001805/0.1243, allocations: 248.4 kB / 348.3 MB, free: 13.74 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002045/0.1245, allocations: 134.6 kB / 348.4 MB, free: 13.6 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.1246, allocations: 350.7 kB / 348.7 MB, free: 13.25 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005164/0.1251, allocations: 233.9 kB / 349 MB, free: 13.02 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006033/0.1258, allocations: 390.2 kB / 349.3 MB, free: 12.59 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001114/0.1269, allocations: 0.6378 MB / 350 MB, free: 11.9 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-05/0.1269, allocations: 0 / 350 MB, free: 11.9 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001641/0.1286, allocations: 0.8343 MB / 350.8 MB, free: 11.05 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.1286, allocations: 8 kB / 350.8 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.1286, allocations: 4 kB / 350.8 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003863/0.129, allocations: 125.8 kB / 350.9 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000645/0.1296, allocations: 159.7 kB / 351.1 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002956/0.1326, allocations: 3.415 MB / 354.5 MB, free: 7.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004936/0.1331, allocations: 83.17 kB / 354.6 MB, free: 6.988 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.789e-05/0.1332, allocations: 31.98 kB / 354.6 MB, free: 6.957 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.0002591/0.1335, allocations: 209.5 kB / 354.8 MB, free: 6.742 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.748e-05/0.1336, allocations: 39.53 kB / 354.9 MB, free: 6.703 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00152/0.1351, allocations: 0.7532 MB / 355.6 MB, free: 5.938 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.1351, allocations: 4 kB / 355.6 MB, free: 5.934 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1351, allocations: 4 kB / 355.6 MB, free: 5.93 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.1351, allocations: 7.984 kB / 355.6 MB, free: 5.922 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002434/0.1376, allocations: 1.493 MB / 357.1 MB, free: 4.363 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.1376, allocations: 3.984 kB / 357.1 MB, free: 4.359 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000511/0.1381, allocations: 115.8 kB / 357.2 MB, free: 4.246 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003065/0.1384, allocations: 105.6 kB / 357.4 MB, free: 4.137 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.121e-05/0.1385, allocations: 20 kB / 357.4 MB, free: 4.117 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00254/0.141, allocations: 3.109 MB / 360.5 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.141, allocations: 0 / 360.5 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00202/0.1431, allocations: 1.124 MB / 361.6 MB, free: 15.59 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001946/0.1433, allocations: 124.5 kB / 361.7 MB, free: 15.45 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.647e-05/0.1434, allocations: 15.98 kB / 361.7 MB, free: 15.44 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003962/0.1438, allocations: 28.05 kB / 361.8 MB, free: 15.41 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/0.1439, allocations: 52.58 kB / 361.8 MB, free: 15.36 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.656e-05/0.1439, allocations: 23.98 kB / 361.8 MB, free: 15.33 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001842/0.1441, allocations: 190 kB / 362 MB, free: 15.15 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1441, allocations: 4 kB / 362 MB, free: 15.14 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008032/0.145, allocations: 215.4 kB / 362.2 MB, free: 14.93 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.0002454/0.1452, allocations: 139.1 kB / 362.4 MB, free: 14.79 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001685/0.1469, allocations: 0.8918 MB / 363.3 MB, free: 13.87 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.1469, allocations: 0 / 363.3 MB, free: 13.87 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008213/0.1477, allocations: 0.5633 MB / 363.8 MB, free: 13.29 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004664/0.1482, allocations: 44.48 kB / 363.9 MB, free: 13.24 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002844/0.1511, allocations: 1.39 MB / 365.3 MB, free: 11.82 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006563/0.1518, allocations: 0.8655 MB / 366.1 MB, free: 10.94 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004659/0.1522, allocations: 80.36 kB / 366.2 MB, free: 10.86 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001595/0.1524, allocations: 51.3 kB / 366.3 MB, free: 10.8 MB / 318.1 MB Notification: Performance of SimCode: time 1.553e-06/0.1524, allocations: 0 / 366.3 MB, free: 10.8 MB / 318.1 MB Notification: Performance of Templates: time 0.01254/0.165, allocations: 5.828 MB / 372.1 MB, free: 4.977 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)