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.005136/0.005136, allocations: 103.9 kB / 15.74 MB, free: 5.953 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.001093/0.001093, allocations: 188.9 kB / 16.67 MB, free: 5.883 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.482/1.482, allocations: 205.1 MB / 222.6 MB, free: 4.359 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.001225/0.001225, allocations: 49.89 kB / 326.5 MB, free: 14.44 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09626/0.0975, allocations: 46.63 MB / 373.2 MB, free: 1.289 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005403/0.1029, allocations: 4.13 MB / 377.3 MB, free: 13.13 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003034/0.106, allocations: 1.67 MB / 379 MB, free: 11.45 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002017/0.1062, allocations: 16 kB / 379 MB, free: 11.43 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002459/0.1087, allocations: 1.011 MB / 380 MB, free: 10.42 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005617/0.1093, allocations: 242.2 kB / 380.2 MB, free: 10.18 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001588/0.1109, allocations: 0.7862 MB / 381 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006549/0.1115, allocations: 0.6222 MB / 381.6 MB, free: 8.766 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00077/0.1123, allocations: 0.4955 MB / 382.1 MB, free: 8.262 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004274/0.1128, allocations: 267 kB / 382.4 MB, free: 8 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004117/0.1132, allocations: 330.7 kB / 382.7 MB, free: 7.676 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001085/0.1133, allocations: 52 kB / 382.8 MB, free: 7.625 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005857/0.1139, allocations: 275.7 kB / 383 MB, free: 7.355 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.114, allocations: 131.5 kB / 383.2 MB, free: 7.227 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002903/0.1143, allocations: 310.5 kB / 383.5 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001014/0.1153, allocations: 0.9072 MB / 384.4 MB, free: 6.012 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1153, allocations: 8 kB / 384.4 MB, free: 6.004 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1153, allocations: 0 / 384.4 MB, free: 6.004 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.513e-05/0.1154, allocations: 0 / 384.4 MB, free: 6.004 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.003453/0.1188, allocations: 1.206 MB / 385.6 MB, free: 4.746 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.1189, allocations: 11.89 kB / 385.6 MB, free: 4.734 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001093/0.12, allocations: 176.1 kB / 385.8 MB, free: 4.562 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002463/0.1202, allocations: 240.2 kB / 386 MB, free: 4.289 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.422e-05/0.1203, allocations: 50.38 kB / 386.1 MB, free: 4.242 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/0.1204, allocations: 64.38 kB / 386.1 MB, free: 4.18 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001289/0.1217, allocations: 0.7038 MB / 386.8 MB, free: 3.457 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.611e-05/0.1218, allocations: 0 / 386.8 MB, free: 3.457 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.28e-05/0.1218, allocations: 31.94 kB / 386.9 MB, free: 3.426 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.777e-05/0.1219, allocations: 16 kB / 386.9 MB, free: 3.41 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00136/0.1232, allocations: 0.5985 MB / 387.5 MB, free: 2.812 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00344/0.1267, allocations: 2.308 MB / 389.8 MB, free: 380 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001732/0.1284, allocations: 1.633 MB / 391.4 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000561/0.129, allocations: 275.4 kB / 391.7 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001471/0.1292, allocations: 93.66 kB / 391.8 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.1292, allocations: 47.16 kB / 391.8 MB, free: 14.06 MB / 334.1 MB Notification: Performance of pre-optimization done (n=66): time 1.783e-06/0.1292, allocations: 0 / 391.8 MB, free: 14.06 MB / 334.1 MB Notification: Performance of matching and sorting (n=66): time 0.001561/0.1308, allocations: 0.7016 MB / 392.5 MB, free: 13.36 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001432/0.1309, allocations: 115.3 kB / 392.6 MB, free: 13.21 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002632/0.1312, allocations: 256.9 kB / 392.9 MB, free: 12.95 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.799e-05/0.1312, allocations: 41.64 kB / 392.9 MB, free: 12.91 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/0.1314, allocations: 267.8 kB / 393.2 MB, free: 12.64 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001493/0.1316, allocations: 220.8 kB / 393.4 MB, free: 12.43 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001919/0.1318, allocations: 122.6 kB / 393.5 MB, free: 12.3 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.1319, allocations: 350.8 kB / 393.9 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004732/0.1324, allocations: 209.9 kB / 394.1 MB, free: 11.74 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005253/0.1329, allocations: 293.4 kB / 394.4 MB, free: 11.43 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000983/0.1339, allocations: 0.5181 MB / 394.9 MB, free: 10.89 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.1339, allocations: 4 kB / 394.9 MB, free: 10.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001204/0.1351, allocations: 0.6179 MB / 395.5 MB, free: 10.27 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.1352, allocations: 8.188 kB / 395.5 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.984e-06/0.1352, allocations: 4 kB / 395.5 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.1352, allocations: 4 kB / 395.5 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007004/0.1359, allocations: 159.8 kB / 395.7 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.684e-05/0.1359, allocations: 11.98 kB / 395.7 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004647/0.1364, allocations: 79.19 kB / 395.8 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.155e-05/0.1365, allocations: 27.98 kB / 395.8 MB, free: 9.977 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.0002397/0.1367, allocations: 189.7 kB / 396 MB, free: 9.781 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.955e-05/0.1368, allocations: 35.62 kB / 396 MB, free: 9.746 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001253/0.1381, allocations: 0.5968 MB / 396.6 MB, free: 9.141 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.939e-06/0.1381, allocations: 11.98 kB / 396.6 MB, free: 9.129 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1381, allocations: 0 / 396.6 MB, free: 9.129 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.1381, allocations: 4 kB / 396.6 MB, free: 9.125 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002103/0.1402, allocations: 1.294 MB / 397.9 MB, free: 7.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.1402, allocations: 3.938 kB / 397.9 MB, free: 7.766 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005729/0.1408, allocations: 127.9 kB / 398 MB, free: 7.641 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.1408, allocations: 0 / 398 MB, free: 7.641 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.967e-05/0.1409, allocations: 19.98 kB / 398.1 MB, free: 7.621 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.1409, allocations: 3.938 kB / 398.1 MB, free: 7.617 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1409, allocations: 0 / 398.1 MB, free: 7.617 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001645/0.1426, allocations: 0.9753 MB / 399 MB, free: 6.629 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.838e-05/0.1427, allocations: 120.5 kB / 399.2 MB, free: 6.492 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.554e-05/0.1427, allocations: 11.94 kB / 399.2 MB, free: 6.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003876/0.1431, allocations: 43.97 kB / 399.2 MB, free: 6.438 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.205e-05/0.1432, allocations: 36.52 kB / 399.3 MB, free: 6.402 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.33e-05/0.1433, allocations: 19.98 kB / 399.3 MB, free: 6.383 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001816/0.1435, allocations: 192.4 kB / 399.5 MB, free: 6.195 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1435, allocations: 0 / 399.5 MB, free: 6.195 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005497/0.144, allocations: 175.5 kB / 399.6 MB, free: 6.023 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.0002449/0.1443, allocations: 159 kB / 399.8 MB, free: 5.859 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001108/0.1454, allocations: 0.5273 MB / 400.3 MB, free: 5.324 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1454, allocations: 0 / 400.3 MB, free: 5.324 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005054/0.1459, allocations: 279.1 kB / 400.6 MB, free: 5.055 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005034/0.1464, allocations: 44.86 kB / 400.6 MB, free: 5.012 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002048/0.1485, allocations: 1.065 MB / 401.7 MB, free: 3.918 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004211/0.1489, allocations: 0.8421 MB / 402.5 MB, free: 3.051 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003285/0.1493, allocations: 83.39 kB / 402.6 MB, free: 2.969 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001371/0.1494, allocations: 43.42 kB / 402.7 MB, free: 2.926 MB / 334.1 MB Notification: Performance of SimCode: time 6.72e-07/0.1494, allocations: 3.938 kB / 402.7 MB, free: 2.922 MB / 334.1 MB Notification: Performance of Templates: time 0.01038/0.1598, allocations: 5.161 MB / 407.8 MB, free: 13.75 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)