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.009278/0.009278, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001753/0.001753, allocations: 196.9 kB / 16.67 MB, free: 5.93 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.522/1.522, allocations: 205.1 MB / 222.5 MB, free: 4.5 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.001177/0.001177, allocations: 53.36 kB / 326.6 MB, free: 14.33 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09827/0.09946, allocations: 46.63 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.005507/0.105, allocations: 4.282 MB / 377.5 MB, free: 13 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00289/0.1079, allocations: 1.678 MB / 379.1 MB, free: 11.31 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002303/0.1082, allocations: 12 kB / 379.2 MB, free: 11.3 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002333/0.1106, allocations: 1.019 MB / 380.2 MB, free: 10.28 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006067/0.1112, allocations: 250.2 kB / 380.4 MB, free: 10.03 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001558/0.1128, allocations: 0.7979 MB / 381.2 MB, free: 9.23 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006582/0.1134, allocations: 0.6377 MB / 381.9 MB, free: 8.59 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000704/0.1141, allocations: 0.5169 MB / 382.4 MB, free: 8.062 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003124/0.1145, allocations: 274.9 kB / 382.6 MB, free: 7.793 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003716/0.1148, allocations: 362.5 kB / 383 MB, free: 7.438 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.96e-05/0.1149, allocations: 56 kB / 383 MB, free: 7.383 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004797/0.1154, allocations: 271.7 kB / 383.3 MB, free: 7.117 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.514e-05/0.1155, allocations: 139.5 kB / 383.4 MB, free: 6.98 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002444/0.1158, allocations: 326.4 kB / 383.8 MB, free: 6.66 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009227/0.1167, allocations: 0.9539 MB / 384.7 MB, free: 5.703 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1167, allocations: 0 / 384.7 MB, free: 5.703 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1167, allocations: 0 / 384.7 MB, free: 5.703 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.1167, 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.00361/0.1203, allocations: 1.257 MB / 386 MB, free: 4.398 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.1204, allocations: 11.89 kB / 386 MB, free: 4.387 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001439/0.1218, allocations: 208 kB / 386.2 MB, free: 4.184 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002163/0.1221, allocations: 243.2 kB / 386.4 MB, free: 3.906 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.941e-05/0.1221, allocations: 58.38 kB / 386.5 MB, free: 3.848 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/0.1223, allocations: 80.22 kB / 386.6 MB, free: 3.77 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001327/0.1236, allocations: 0.7702 MB / 387.3 MB, free: 2.984 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.1236, allocations: 0 / 387.3 MB, free: 2.984 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.952e-05/0.1237, allocations: 32 kB / 387.4 MB, free: 2.953 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.526e-05/0.1237, allocations: 16 kB / 387.4 MB, free: 2.938 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001365/0.1251, allocations: 0.6687 MB / 388.1 MB, free: 2.27 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004193/0.1293, allocations: 3.091 MB / 391.1 MB, free: 14.92 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002318/0.1316, allocations: 2.082 MB / 393.2 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006602/0.1323, allocations: 327.5 kB / 393.5 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001104/0.1324, allocations: 94.03 kB / 393.6 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.1325, allocations: 47.16 kB / 393.7 MB, free: 12.05 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 2.836e-06/0.1325, allocations: 0 / 393.7 MB, free: 12.05 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.002596/0.1351, allocations: 1.141 MB / 394.8 MB, free: 10.86 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.328e-05/0.1352, allocations: 119.4 kB / 394.9 MB, free: 10.71 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002787/0.1354, allocations: 274.5 kB / 395.2 MB, free: 10.44 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.242e-05/0.1355, allocations: 33.7 kB / 395.2 MB, free: 10.4 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001658/0.1357, allocations: 295.4 kB / 395.5 MB, free: 10.1 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001683/0.1358, allocations: 248.4 kB / 395.8 MB, free: 9.855 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002281/0.1361, allocations: 138.6 kB / 395.9 MB, free: 9.711 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.1362, allocations: 354.7 kB / 396.3 MB, free: 9.355 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005151/0.1367, allocations: 229.9 kB / 396.5 MB, free: 9.133 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006245/0.1374, allocations: 386.3 kB / 396.9 MB, free: 8.699 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001181/0.1386, allocations: 0.6298 MB / 397.5 MB, free: 8.016 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.1386, allocations: 4 kB / 397.5 MB, free: 8.012 MB / 334.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001559/0.1402, allocations: 0.8306 MB / 398.3 MB, free: 7.172 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.1402, allocations: 4 kB / 398.3 MB, free: 7.168 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.1402, allocations: 8 kB / 398.3 MB, free: 7.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003972/0.1406, allocations: 133.7 kB / 398.5 MB, free: 7.023 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006422/0.1413, allocations: 155.8 kB / 398.6 MB, free: 6.871 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003375/0.1446, allocations: 3.785 MB / 402.4 MB, free: 2.805 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005341/0.1452, allocations: 83.2 kB / 402.5 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.296e-05/0.1453, allocations: 31.98 kB / 402.5 MB, free: 2.691 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.0002751/0.1455, allocations: 193.7 kB / 402.7 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.1457, allocations: 47.53 kB / 402.7 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001622/0.1473, allocations: 0.7452 MB / 403.5 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.1473, allocations: 8.219 kB / 403.5 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.1473, allocations: 4 kB / 403.5 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.1473, allocations: 7.922 kB / 403.5 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00253/0.1499, allocations: 1.493 MB / 405 MB, free: 112 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.768e-06/0.1499, allocations: 0 / 405 MB, free: 112 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005326/0.1504, allocations: 115.9 kB / 405.1 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003017/0.1507, allocations: 113.6 kB / 405.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.684e-05/0.1508, allocations: 15.94 kB / 405.2 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002995/0.1538, allocations: 3.345 MB / 408.6 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1538, allocations: 0 / 408.6 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00206/0.1559, allocations: 1.129 MB / 409.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001647/0.156, allocations: 120.5 kB / 409.8 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.875e-05/0.1561, allocations: 12 kB / 409.8 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004061/0.1565, allocations: 32.03 kB / 409.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/0.1567, allocations: 52.58 kB / 409.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.94e-05/0.1567, allocations: 20 kB / 409.9 MB, free: 10.84 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000236/0.157, allocations: 194 kB / 410.1 MB, free: 10.65 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.157, allocations: 0 / 410.1 MB, free: 10.65 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009652/0.158, allocations: 211.5 kB / 410.3 MB, free: 10.44 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.0003279/0.1583, allocations: 143.2 kB / 410.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001832/0.1601, allocations: 0.8881 MB / 411.4 MB, free: 9.379 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.1602, allocations: 4.062 kB / 411.4 MB, free: 9.375 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008197/0.161, allocations: 0.5595 MB / 411.9 MB, free: 8.789 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000509/0.1615, allocations: 44.5 kB / 412 MB, free: 8.746 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002224/0.1637, allocations: 1.102 MB / 413.1 MB, free: 7.609 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004573/0.1642, allocations: 0.8655 MB / 413.9 MB, free: 6.715 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003067/0.1645, allocations: 84.36 kB / 414 MB, free: 6.633 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000123/0.1646, allocations: 43.42 kB / 414.1 MB, free: 6.59 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1647, allocations: 0 / 414.1 MB, free: 6.59 MB / 350.1 MB Notification: Performance of Templates: time 0.01146/0.1761, allocations: 6.214 MB / 420.3 MB, free: 376 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)