Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001545/0.001544, allocations: 103.7 kB / 16.62 MB, free: 6.812 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.001725/0.001725, allocations: 193.8 kB / 17.55 MB, free: 5.953 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.463/1.463, allocations: 205.1 MB / 223.4 MB, free: 12.45 MB / 190.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.001234/0.001234, allocations: 43.94 kB / 279.5 MB, free: 3.48 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09034/0.09158, allocations: 46.63 MB / 326.1 MB, free: 4.785 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005494/0.09712, allocations: 4.141 MB / 330.3 MB, free: 0.6133 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002897/0.1, allocations: 1.652 MB / 331.9 MB, free: 14.95 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004284/0.1005, allocations: 12 kB / 332 MB, free: 14.94 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002297/0.1028, allocations: 0.9458 MB / 332.9 MB, free: 13.99 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008143/0.1037, allocations: 202.8 kB / 333.1 MB, free: 13.79 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001619/0.1053, allocations: 0.7476 MB / 333.8 MB, free: 13.04 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009435/0.1063, allocations: 0.6184 MB / 334.5 MB, free: 12.42 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001005/0.1073, allocations: 0.5465 MB / 335 MB, free: 11.87 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004979/0.1078, allocations: 267 kB / 335.3 MB, free: 11.61 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005389/0.1083, allocations: 342.6 kB / 335.6 MB, free: 11.27 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000144/0.1085, allocations: 52 kB / 335.7 MB, free: 11.22 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007453/0.1092, allocations: 267.7 kB / 335.9 MB, free: 10.96 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001548/0.1094, allocations: 131.5 kB / 336 MB, free: 10.83 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004161/0.1098, allocations: 310.5 kB / 336.3 MB, free: 10.53 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001176/0.111, allocations: 0.8995 MB / 337.2 MB, free: 9.625 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.111, allocations: 4 kB / 337.3 MB, free: 9.621 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.111, allocations: 3.938 kB / 337.3 MB, free: 9.617 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.049e-05/0.1111, allocations: 0 / 337.3 MB, free: 9.617 MB / 286.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.003758/0.1148, allocations: 1.202 MB / 338.5 MB, free: 8.367 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.1149, allocations: 11.89 kB / 338.5 MB, free: 8.355 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001082/0.116, allocations: 176 kB / 338.6 MB, free: 8.184 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002635/0.1162, allocations: 244.1 kB / 338.9 MB, free: 7.906 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.612e-05/0.1163, allocations: 54.38 kB / 338.9 MB, free: 7.852 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.604e-05/0.1164, allocations: 64.28 kB / 339 MB, free: 7.789 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00125/0.1177, allocations: 0.7116 MB / 339.7 MB, free: 7.062 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.375e-05/0.1177, allocations: 0 / 339.7 MB, free: 7.062 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.088e-05/0.1178, allocations: 24 kB / 339.7 MB, free: 7.039 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.943e-05/0.1178, allocations: 19.94 kB / 339.7 MB, free: 7.02 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001182/0.119, allocations: 0.6062 MB / 340.4 MB, free: 6.41 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003293/0.1223, allocations: 2.316 MB / 342.7 MB, free: 3.949 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001523/0.1238, allocations: 1.64 MB / 344.3 MB, free: 2.082 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005288/0.1244, allocations: 279.4 kB / 344.6 MB, free: 1.801 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001327/0.1245, allocations: 101.6 kB / 344.7 MB, free: 1.684 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.1246, allocations: 39.12 kB / 344.7 MB, free: 1.637 MB / 286.1 MB Notification: Performance of pre-optimization done (n=66): time 2.514e-06/0.1246, allocations: 0 / 344.7 MB, free: 1.637 MB / 286.1 MB Notification: Performance of matching and sorting (n=66): time 0.001595/0.1262, allocations: 0.7016 MB / 345.4 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.689e-05/0.1263, allocations: 107.4 kB / 345.5 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002586/0.1265, allocations: 256.9 kB / 345.8 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.314e-05/0.1266, allocations: 41.7 kB / 345.8 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.1267, allocations: 260 kB / 346.1 MB, free: 236 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002094/0.1269, allocations: 220.8 kB / 346.3 MB, free: 12 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001993/0.1271, allocations: 118.6 kB / 346.4 MB, free: 15.89 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.1273, allocations: 350.9 kB / 346.7 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004575/0.1277, allocations: 217.9 kB / 347 MB, free: 15.32 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005093/0.1283, allocations: 297.4 kB / 347.3 MB, free: 15.01 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009743/0.1292, allocations: 0.5142 MB / 347.8 MB, free: 14.47 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.1293, allocations: 0 / 347.8 MB, free: 14.47 MB / 302.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001194/0.1305, allocations: 0.6297 MB / 348.4 MB, free: 13.84 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.1305, allocations: 8 kB / 348.4 MB, free: 13.83 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.1305, allocations: 4 kB / 348.4 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.1305, allocations: 4 kB / 348.4 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007264/0.1313, allocations: 159.7 kB / 348.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.1313, allocations: 4 kB / 348.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004909/0.1318, allocations: 75.34 kB / 348.6 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.971e-05/0.1318, allocations: 23.98 kB / 348.7 MB, free: 13.56 MB / 302.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.0002293/0.1321, allocations: 193.7 kB / 348.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.788e-05/0.1322, allocations: 35.53 kB / 348.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001246/0.1334, allocations: 0.6046 MB / 349.5 MB, free: 12.72 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.1335, allocations: 4 kB / 349.5 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.1335, allocations: 4 kB / 349.5 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.1335, allocations: 3.984 kB / 349.5 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00198/0.1355, allocations: 1.296 MB / 350.8 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.1355, allocations: 0 / 350.8 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005765/0.1361, allocations: 135.8 kB / 350.9 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.1361, allocations: 0 / 350.9 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.997e-05/0.1361, allocations: 19.98 kB / 351 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.1361, allocations: 11.88 kB / 351 MB, free: 11.19 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.1361, allocations: 0 / 351 MB, free: 11.19 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001581/0.1377, allocations: 0.9743 MB / 351.9 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.975e-05/0.1378, allocations: 124.5 kB / 352.1 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.435e-05/0.1379, allocations: 12 kB / 352.1 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004115/0.1383, allocations: 31.92 kB / 352.1 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.077e-05/0.1384, allocations: 40.5 kB / 352.1 MB, free: 9.977 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.261e-05/0.1385, allocations: 19.98 kB / 352.2 MB, free: 9.957 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001698/0.1386, allocations: 188.5 kB / 352.3 MB, free: 9.773 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1386, allocations: 0 / 352.3 MB, free: 9.773 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005261/0.1392, allocations: 175.6 kB / 352.5 MB, free: 9.602 MB / 302.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.0002201/0.1394, allocations: 143.1 kB / 352.7 MB, free: 9.453 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001404/0.1408, allocations: 0.5623 MB / 353.2 MB, free: 8.895 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.716e-06/0.1408, allocations: 4 kB / 353.2 MB, free: 8.891 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005178/0.1414, allocations: 271.5 kB / 353.5 MB, free: 8.625 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006136/0.142, allocations: 44.42 kB / 353.5 MB, free: 8.582 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002141/0.1441, allocations: 1.331 MB / 354.9 MB, free: 7.219 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/0.1445, allocations: 0.846 MB / 355.7 MB, free: 6.352 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004137/0.1449, allocations: 79.41 kB / 355.8 MB, free: 6.27 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001351/0.1451, allocations: 43.42 kB / 355.8 MB, free: 6.227 MB / 302.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1451, allocations: 0 / 355.8 MB, free: 6.227 MB / 302.1 MB Notification: Performance of Templates: time 0.009091/0.1542, allocations: 5.062 MB / 360.9 MB, free: 1.168 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1)