Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.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.CylinderSections,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0066/0.0066, allocations: 97.92 kB / 15.73 MB, free: 6.062 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.001466/0.001466, allocations: 194.5 kB / 16.68 MB, free: 5.969 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.485/1.485, allocations: 205.1 MB / 222.6 MB, free: 4.516 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.00149/0.00149, allocations: 53.83 kB / 326.5 MB, free: 14.55 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1048, allocations: 46.63 MB / 373.2 MB, free: 1.441 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005767/0.1106, allocations: 4.127 MB / 377.3 MB, free: 13.29 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003312/0.114, allocations: 1.674 MB / 379 MB, free: 11.6 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003266/0.1143, allocations: 8 kB / 379 MB, free: 11.59 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002461/0.1169, allocations: 1.019 MB / 380 MB, free: 10.57 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008888/0.1178, allocations: 230.2 kB / 380.2 MB, free: 10.34 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001707/0.1195, allocations: 0.8018 MB / 381 MB, free: 9.539 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007674/0.1203, allocations: 0.6222 MB / 381.7 MB, free: 8.914 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007552/0.121, allocations: 499.4 kB / 382.1 MB, free: 8.418 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004002/0.1214, allocations: 271 kB / 382.4 MB, free: 8.152 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000428/0.1219, allocations: 334.7 kB / 382.7 MB, free: 7.824 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.809e-05/0.122, allocations: 52 kB / 382.8 MB, free: 7.773 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006551/0.1226, allocations: 271.7 kB / 383.1 MB, free: 7.508 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.1228, allocations: 135.5 kB / 383.2 MB, free: 7.375 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000283/0.123, allocations: 306.5 kB / 383.5 MB, free: 7.074 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001296/0.1244, allocations: 0.9184 MB / 384.4 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.1244, allocations: 4 kB / 384.4 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.1244, allocations: 0 / 384.4 MB, free: 6.148 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.909e-05/0.1244, allocations: 0 / 384.4 MB, free: 6.148 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003668/0.1281, allocations: 1.212 MB / 385.6 MB, free: 4.883 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.1282, allocations: 11.89 kB / 385.6 MB, free: 4.871 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001159/0.1293, allocations: 180.4 kB / 385.8 MB, free: 4.695 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002847/0.1296, allocations: 248.2 kB / 386 MB, free: 4.414 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.089e-05/0.1297, allocations: 54.38 kB / 386.1 MB, free: 4.363 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.1298, allocations: 64.38 kB / 386.2 MB, free: 4.301 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/0.1311, allocations: 0.6999 MB / 386.9 MB, free: 3.582 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.659e-05/0.1312, allocations: 3.938 kB / 386.9 MB, free: 3.578 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.053e-05/0.1313, allocations: 36 kB / 386.9 MB, free: 3.543 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.696e-05/0.1313, allocations: 16 kB / 386.9 MB, free: 3.527 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00126/0.1326, allocations: 0.5985 MB / 387.5 MB, free: 2.93 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003651/0.1362, allocations: 2.305 MB / 389.8 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001771/0.138, allocations: 1.633 MB / 391.5 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005166/0.1385, allocations: 275.4 kB / 391.7 MB, free: 14.35 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001443/0.1387, allocations: 101.6 kB / 391.8 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.864e-05/0.1388, allocations: 39.16 kB / 391.9 MB, free: 14.19 MB / 334.1 MB Notification: Performance of pre-optimization done (n=66): time 3.056e-06/0.1388, allocations: 4 kB / 391.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=66): time 0.001673/0.1404, allocations: 0.698 MB / 392.6 MB, free: 13.48 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.149e-05/0.1405, allocations: 115.3 kB / 392.7 MB, free: 13.34 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003272/0.1409, allocations: 268.8 kB / 392.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.705e-05/0.1409, allocations: 33.7 kB / 393 MB, free: 13.03 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001708/0.1411, allocations: 272.7 kB / 393.2 MB, free: 12.76 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001732/0.1413, allocations: 238 kB / 393.5 MB, free: 12.52 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000187/0.1415, allocations: 114.7 kB / 393.6 MB, free: 12.4 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.1417, allocations: 350.8 kB / 393.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004806/0.1422, allocations: 205.9 kB / 394.1 MB, free: 11.85 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005303/0.1427, allocations: 305.4 kB / 394.4 MB, free: 11.53 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/0.1437, allocations: 0.5181 MB / 394.9 MB, free: 10.99 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.1437, allocations: 0 / 394.9 MB, free: 10.99 MB / 334.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001221/0.145, allocations: 0.6259 MB / 395.6 MB, free: 10.36 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.145, allocations: 4.188 kB / 395.6 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.145, allocations: 8 kB / 395.6 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/0.145, allocations: 4 kB / 395.6 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007171/0.1458, allocations: 155.8 kB / 395.7 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-05/0.1458, allocations: 7.938 kB / 395.7 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004816/0.1463, allocations: 79.48 kB / 395.8 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.412e-05/0.1463, allocations: 20 kB / 395.8 MB, free: 10.09 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (84): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002464/0.1466, allocations: 201.6 kB / 396 MB, free: 9.879 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/0.1467, allocations: 35.77 kB / 396.1 MB, free: 9.844 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00132/0.148, allocations: 0.6007 MB / 396.7 MB, free: 9.234 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.148, allocations: 4 kB / 396.7 MB, free: 9.23 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.1481, allocations: 0 / 396.7 MB, free: 9.23 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.1481, allocations: 7.984 kB / 396.7 MB, free: 9.223 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002284/0.1504, allocations: 1.298 MB / 398 MB, free: 7.863 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.1504, allocations: 0 / 398 MB, free: 7.863 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005888/0.151, allocations: 123.9 kB / 398.1 MB, free: 7.742 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.085e-05/0.151, allocations: 4 kB / 398.1 MB, free: 7.738 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.445e-05/0.151, allocations: 12 kB / 398.1 MB, free: 7.727 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.957e-06/0.1511, allocations: 11.92 kB / 398.1 MB, free: 7.715 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.1511, allocations: 0 / 398.1 MB, free: 7.715 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001709/0.1528, allocations: 0.9754 MB / 399.1 MB, free: 6.727 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001422/0.1529, allocations: 128.7 kB / 399.2 MB, free: 6.582 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.268e-05/0.153, allocations: 12 kB / 399.2 MB, free: 6.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004094/0.1534, allocations: 31.98 kB / 399.3 MB, free: 6.539 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.1535, allocations: 40.5 kB / 399.3 MB, free: 6.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.794e-05/0.1536, allocations: 23.94 kB / 399.3 MB, free: 6.477 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002177/0.1538, allocations: 188.5 kB / 399.5 MB, free: 6.293 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1538, allocations: 0 / 399.5 MB, free: 6.293 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006372/0.1545, allocations: 183.6 kB / 399.7 MB, free: 6.113 MB / 334.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 (66): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002741/0.1547, allocations: 139.1 kB / 399.8 MB, free: 5.969 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001294/0.156, allocations: 0.5351 MB / 400.4 MB, free: 5.426 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.1561, allocations: 3.938 kB / 400.4 MB, free: 5.422 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005521/0.1566, allocations: 271.1 kB / 400.6 MB, free: 5.16 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005817/0.1572, allocations: 48.86 kB / 400.7 MB, free: 5.113 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002373/0.1596, allocations: 1.079 MB / 401.8 MB, free: 4.004 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005163/0.1601, allocations: 0.8421 MB / 402.6 MB, free: 3.137 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000386/0.1605, allocations: 83.39 kB / 402.7 MB, free: 3.055 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001492/0.1607, allocations: 51.36 kB / 402.7 MB, free: 3.004 MB / 334.1 MB Notification: Performance of SimCode: time 8.71e-07/0.1607, allocations: 0 / 402.7 MB, free: 3.004 MB / 334.1 MB Notification: Performance of Templates: time 0.012/0.1727, allocations: 5.169 MB / 407.9 MB, free: 13.83 MB / 350.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1)