Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.007386/0.007386, allocations: 100.9 kB / 15.73 MB, free: 6.043 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.00164/0.00164, allocations: 190 kB / 16.67 MB, free: 5.977 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.439/1.439, allocations: 205.1 MB / 222.5 MB, free: 4.504 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.001387/0.001387, allocations: 50.33 kB / 326.5 MB, free: 14.59 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1028, allocations: 46.62 MB / 373.2 MB, free: 1.438 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005649/0.1085, allocations: 4.13 MB / 377.3 MB, free: 13.28 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003286/0.1118, allocations: 1.674 MB / 379 MB, free: 11.59 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005897/0.1125, allocations: 16 kB / 379 MB, free: 11.58 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002651/0.1152, allocations: 1.015 MB / 380 MB, free: 10.56 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009403/0.1161, allocations: 234.2 kB / 380.2 MB, free: 10.33 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001776/0.1179, allocations: 0.7939 MB / 381 MB, free: 9.531 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001101/0.119, allocations: 0.6183 MB / 381.6 MB, free: 8.91 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001101/0.1201, allocations: 0.4993 MB / 382.1 MB, free: 8.402 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005617/0.1207, allocations: 263.1 kB / 382.4 MB, free: 8.145 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005397/0.1213, allocations: 330.7 kB / 382.7 MB, free: 7.82 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001459/0.1214, allocations: 52 kB / 382.8 MB, free: 7.77 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000796/0.1222, allocations: 271.7 kB / 383 MB, free: 7.504 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001676/0.1224, allocations: 135.5 kB / 383.2 MB, free: 7.371 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004355/0.1229, allocations: 310.5 kB / 383.5 MB, free: 7.066 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001452/0.1243, allocations: 0.915 MB / 384.4 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.1243, allocations: 4 kB / 384.4 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.1244, allocations: 0 / 384.4 MB, free: 6.145 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.109e-05/0.1244, allocations: 0 / 384.4 MB, free: 6.145 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.004284/0.1287, allocations: 1.202 MB / 385.6 MB, free: 4.891 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.485e-05/0.1288, allocations: 15.89 kB / 385.6 MB, free: 4.875 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001215/0.13, allocations: 176 kB / 385.8 MB, free: 4.703 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002795/0.1303, allocations: 240.2 kB / 386 MB, free: 4.43 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.27e-05/0.1304, allocations: 50.38 kB / 386.1 MB, free: 4.383 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001391/0.1305, allocations: 64.38 kB / 386.1 MB, free: 4.32 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001468/0.132, allocations: 0.7038 MB / 386.8 MB, free: 3.598 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/0.132, allocations: 4 kB / 386.8 MB, free: 3.594 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.351e-05/0.1321, allocations: 31.94 kB / 386.9 MB, free: 3.562 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.739e-05/0.1321, allocations: 19.98 kB / 386.9 MB, free: 3.543 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001357/0.1335, allocations: 0.5985 MB / 387.5 MB, free: 2.945 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003841/0.1373, allocations: 2.305 MB / 389.8 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001746/0.1391, allocations: 1.629 MB / 391.4 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005642/0.1397, allocations: 279.4 kB / 391.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001263/0.1398, allocations: 97.56 kB / 391.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.346e-05/0.1399, allocations: 43.12 kB / 391.8 MB, free: 14.2 MB / 334.1 MB Notification: Performance of pre-optimization done (n=66): time 3.066e-06/0.1399, allocations: 0 / 391.8 MB, free: 14.2 MB / 334.1 MB Notification: Performance of matching and sorting (n=66): time 0.001641/0.1415, allocations: 0.7055 MB / 392.5 MB, free: 13.49 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.085e-05/0.1416, allocations: 111.4 kB / 392.6 MB, free: 13.36 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002923/0.1419, allocations: 253 kB / 392.9 MB, free: 13.1 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.971e-05/0.142, allocations: 37.7 kB / 392.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/0.1422, allocations: 271.8 kB / 393.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001727/0.1424, allocations: 220.8 kB / 393.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001876/0.1426, allocations: 118.6 kB / 393.5 MB, free: 12.44 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.1427, allocations: 350.8 kB / 393.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004982/0.1432, allocations: 205.9 kB / 394.1 MB, free: 11.89 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005797/0.1438, allocations: 301.4 kB / 394.4 MB, free: 11.57 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001034/0.1448, allocations: 0.522 MB / 394.9 MB, free: 11.03 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.1449, allocations: 0 / 394.9 MB, free: 11.03 MB / 334.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001294/0.1462, allocations: 0.6179 MB / 395.5 MB, free: 10.41 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.1462, allocations: 12.19 kB / 395.5 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.1462, allocations: 0 / 395.5 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.1462, allocations: 4 kB / 395.5 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007549/0.147, allocations: 163.7 kB / 395.7 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.623e-05/0.147, allocations: 8 kB / 395.7 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005656/0.1476, allocations: 71.25 kB / 395.8 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.125e-05/0.1477, allocations: 28 kB / 395.8 MB, free: 10.12 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.000283/0.1479, allocations: 193.6 kB / 396 MB, free: 9.926 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.1481, allocations: 35.62 kB / 396 MB, free: 9.891 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001399/0.1495, allocations: 0.6006 MB / 396.6 MB, free: 9.281 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/0.1495, allocations: 8 kB / 396.6 MB, free: 9.273 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/0.1495, allocations: 0 / 396.6 MB, free: 9.273 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/0.1495, allocations: 3.984 kB / 396.6 MB, free: 9.27 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002476/0.152, allocations: 1.294 MB / 397.9 MB, free: 7.914 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.152, allocations: 0 / 397.9 MB, free: 7.914 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006623/0.1527, allocations: 131.9 kB / 398 MB, free: 7.785 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.328e-05/0.1527, allocations: 3.984 kB / 398 MB, free: 7.781 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.728e-05/0.1528, allocations: 23.92 kB / 398.1 MB, free: 7.758 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.773e-06/0.1528, allocations: 3.938 kB / 398.1 MB, free: 7.754 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.1528, allocations: 3.938 kB / 398.1 MB, free: 7.75 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001826/0.1546, allocations: 0.9675 MB / 399 MB, free: 6.77 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001607/0.1548, allocations: 124.5 kB / 399.2 MB, free: 6.629 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.711e-05/0.1549, allocations: 12 kB / 399.2 MB, free: 6.617 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004212/0.1553, allocations: 31.98 kB / 399.2 MB, free: 6.586 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.1554, allocations: 44.5 kB / 399.3 MB, free: 6.543 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-05/0.1555, allocations: 19.98 kB / 399.3 MB, free: 6.523 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002993/0.1558, allocations: 188.5 kB / 399.5 MB, free: 6.34 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.1558, allocations: 3.938 kB / 399.5 MB, free: 6.336 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007165/0.1565, allocations: 171.5 kB / 399.6 MB, free: 6.168 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.0003035/0.1568, allocations: 151 kB / 399.8 MB, free: 6.012 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001323/0.1582, allocations: 0.5351 MB / 400.3 MB, free: 5.469 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.1582, allocations: 0 / 400.3 MB, free: 5.469 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006118/0.1588, allocations: 275 kB / 400.6 MB, free: 5.203 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006008/0.1594, allocations: 48.86 kB / 400.6 MB, free: 5.156 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002419/0.1619, allocations: 1.069 MB / 401.7 MB, free: 4.059 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005258/0.1624, allocations: 0.846 MB / 402.5 MB, free: 3.188 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003731/0.1628, allocations: 79.41 kB / 402.6 MB, free: 3.109 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001519/0.1629, allocations: 43.42 kB / 402.7 MB, free: 3.066 MB / 334.1 MB Notification: Performance of SimCode: time 7.32e-07/0.1629, allocations: 0 / 402.7 MB, free: 3.066 MB / 334.1 MB Notification: Performance of Templates: time 0.0117/0.1747, allocations: 5.169 MB / 407.8 MB, free: 13.89 MB / 350.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile (rm -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1)