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.005758/0.005758, allocations: 107 kB / 15.74 MB, free: 6.051 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.001286/0.001286, allocations: 195 kB / 16.68 MB, free: 5.98 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.561/1.561, allocations: 205.1 MB / 222.5 MB, free: 4.414 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.001258/0.001258, allocations: 58.22 kB / 326.6 MB, free: 14.45 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08963/0.09089, allocations: 46.62 MB / 373.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005363/0.0963, allocations: 4.278 MB / 377.5 MB, free: 13.01 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002668/0.099, allocations: 1.686 MB / 379.1 MB, free: 11.31 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002283/0.09924, allocations: 12 kB / 379.1 MB, free: 11.3 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002254/0.1015, allocations: 1.019 MB / 380.2 MB, free: 10.27 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006155/0.1022, allocations: 254.2 kB / 380.4 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001498/0.1037, allocations: 0.8017 MB / 381.2 MB, free: 9.219 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006073/0.1043, allocations: 0.6377 MB / 381.9 MB, free: 8.578 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007527/0.105, allocations: 0.5208 MB / 382.4 MB, free: 8.047 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000344/0.1054, allocations: 270.9 kB / 382.6 MB, free: 7.781 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003818/0.1058, allocations: 358.5 kB / 383 MB, free: 7.43 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.896e-05/0.1059, allocations: 56 kB / 383 MB, free: 7.375 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005192/0.1064, allocations: 275.7 kB / 383.3 MB, free: 7.105 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.996e-05/0.1065, allocations: 139.5 kB / 383.5 MB, free: 6.969 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002654/0.1068, allocations: 326.4 kB / 383.8 MB, free: 6.648 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009433/0.1077, allocations: 0.95 MB / 384.7 MB, free: 5.695 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1077, allocations: 0 / 384.7 MB, free: 5.695 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1078, allocations: 0 / 384.7 MB, free: 5.695 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.1078, allocations: 0 / 384.7 MB, free: 5.695 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.003577/0.1113, allocations: 1.261 MB / 386 MB, free: 4.387 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.1114, allocations: 11.89 kB / 386 MB, free: 4.375 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001416/0.1128, allocations: 208 kB / 386.2 MB, free: 4.172 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002056/0.113, allocations: 239.2 kB / 386.4 MB, free: 3.898 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.943e-05/0.1131, allocations: 58.38 kB / 386.5 MB, free: 3.84 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/0.1132, allocations: 76.28 kB / 386.6 MB, free: 3.766 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001324/0.1145, allocations: 0.7741 MB / 387.3 MB, free: 2.977 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/0.1146, allocations: 0 / 387.3 MB, free: 2.977 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.726e-05/0.1147, allocations: 32 kB / 387.4 MB, free: 2.945 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.429e-05/0.1147, allocations: 16 kB / 387.4 MB, free: 2.93 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001314/0.116, allocations: 0.6687 MB / 388 MB, free: 2.262 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003863/0.1199, allocations: 3.095 MB / 391.1 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002256/0.1221, allocations: 2.081 MB / 393.2 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006444/0.1228, allocations: 327.5 kB / 393.5 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001038/0.1229, allocations: 101.7 kB / 393.6 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.123, allocations: 43.44 kB / 393.7 MB, free: 12.03 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 2.215e-06/0.123, allocations: 0 / 393.7 MB, free: 12.03 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.002587/0.1256, allocations: 1.138 MB / 394.8 MB, free: 10.84 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.799e-05/0.1256, allocations: 115.5 kB / 394.9 MB, free: 10.71 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000287/0.1259, allocations: 274.5 kB / 395.2 MB, free: 10.43 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.566e-05/0.126, allocations: 37.64 kB / 395.2 MB, free: 10.39 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/0.1262, allocations: 299.4 kB / 395.5 MB, free: 10.09 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001645/0.1263, allocations: 248.4 kB / 395.8 MB, free: 9.84 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000188/0.1265, allocations: 138.6 kB / 395.9 MB, free: 9.695 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.1267, allocations: 354.7 kB / 396.3 MB, free: 9.34 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004983/0.1272, allocations: 225.9 kB / 396.5 MB, free: 9.121 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005982/0.1278, allocations: 382.3 kB / 396.9 MB, free: 8.691 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/0.1289, allocations: 0.6337 MB / 397.5 MB, free: 8.004 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-06/0.1289, allocations: 4 kB / 397.5 MB, free: 8 MB / 334.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001591/0.1305, allocations: 0.8303 MB / 398.3 MB, free: 7.16 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.1305, allocations: 4.312 kB / 398.3 MB, free: 7.156 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.1306, allocations: 8 kB / 398.3 MB, free: 7.148 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004042/0.131, allocations: 129.6 kB / 398.5 MB, free: 7.016 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006473/0.1316, allocations: 159.8 kB / 398.6 MB, free: 6.859 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003184/0.1348, allocations: 3.789 MB / 402.4 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005362/0.1354, allocations: 87.2 kB / 402.5 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.668e-05/0.1355, allocations: 28.45 kB / 402.5 MB, free: 2.676 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.0002756/0.1357, allocations: 197.8 kB / 402.7 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.1358, allocations: 39.75 kB / 402.8 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001583/0.1374, allocations: 0.7491 MB / 403.5 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/0.1375, allocations: 11.94 kB / 403.5 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.1375, allocations: 8 kB / 403.5 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.1375, allocations: 3.984 kB / 403.5 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002488/0.14, allocations: 1.489 MB / 405 MB, free: 96 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.14, allocations: 0 / 405 MB, free: 96 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005298/0.1405, allocations: 111.9 kB / 405.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003078/0.1409, allocations: 117.6 kB / 405.2 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.139e-05/0.1409, allocations: 12 kB / 405.2 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002594/0.1435, allocations: 3.353 MB / 408.6 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.1435, allocations: 0 / 408.6 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001947/0.1455, allocations: 1.121 MB / 409.7 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.1456, allocations: 120.5 kB / 409.8 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.003e-05/0.1457, allocations: 20 kB / 409.9 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004168/0.1461, allocations: 31.97 kB / 409.9 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/0.1463, allocations: 52.56 kB / 409.9 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.893e-05/0.1463, allocations: 24 kB / 410 MB, free: 10.81 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000187/0.1465, allocations: 190 kB / 410.1 MB, free: 10.63 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1465, allocations: 0 / 410.1 MB, free: 10.63 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00082/0.1473, allocations: 211.5 kB / 410.4 MB, free: 10.42 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.0002601/0.1476, allocations: 151.1 kB / 410.5 MB, free: 10.26 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001745/0.1494, allocations: 0.8874 MB / 411.4 MB, free: 9.352 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.1494, allocations: 0 / 411.4 MB, free: 9.352 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008328/0.1502, allocations: 0.5564 MB / 411.9 MB, free: 8.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005468/0.1508, allocations: 44.5 kB / 412 MB, free: 8.727 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002184/0.153, allocations: 1.101 MB / 413.1 MB, free: 7.59 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004781/0.1535, allocations: 0.8655 MB / 414 MB, free: 6.695 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003528/0.1538, allocations: 84.36 kB / 414 MB, free: 6.613 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001422/0.154, allocations: 43.42 kB / 414.1 MB, free: 6.57 MB / 350.1 MB Notification: Performance of SimCode: time 6.51e-07/0.154, allocations: 0 / 414.1 MB, free: 6.57 MB / 350.1 MB Notification: Performance of Templates: time 0.01256/0.1666, allocations: 6.211 MB / 420.3 MB, free: 360 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)