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.0009971/0.0009969, allocations: 92.16 kB / 16.65 MB, free: 6.305 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.001159/0.00116, allocations: 175.3 kB / 17.56 MB, free: 5.91 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.437/1.437, allocations: 205.4 MB / 223.7 MB, free: 13.07 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.0004336/0.0004337, allocations: 12 kB / 280.8 MB, free: 3.402 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09209/0.09254, allocations: 47.58 MB / 328.3 MB, free: 3.742 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.004256/0.09684, allocations: 3.717 MB / 332 MB, free: 0 / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002781/0.09966, allocations: 1.636 MB / 333.7 MB, free: 14.35 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001862/0.09987, allocations: 12 kB / 333.7 MB, free: 14.34 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005137/0.1004, allocations: 215.1 kB / 333.9 MB, free: 14.13 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004861/0.1009, allocations: 206.8 kB / 334.1 MB, free: 13.93 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001479/0.1024, allocations: 0.7478 MB / 334.9 MB, free: 13.18 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006101/0.103, allocations: 0.6027 MB / 335.5 MB, free: 12.57 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001581/0.1046, allocations: 0.8881 MB / 336.3 MB, free: 11.66 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003581/0.105, allocations: 235 kB / 336.6 MB, free: 11.43 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003882/0.1054, allocations: 298.6 kB / 336.9 MB, free: 11.14 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.295e-05/0.1054, allocations: 28 kB / 336.9 MB, free: 11.11 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005622/0.106, allocations: 239.7 kB / 337.1 MB, free: 10.88 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.992e-05/0.1061, allocations: 103.5 kB / 337.2 MB, free: 10.77 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000267/0.1064, allocations: 300.2 kB / 337.5 MB, free: 10.47 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008893/0.1073, allocations: 0.8721 MB / 338.4 MB, free: 9.598 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1073, allocations: 0 / 338.4 MB, free: 9.598 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1073, allocations: 0 / 338.4 MB, free: 9.598 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.1073, allocations: 4 kB / 338.4 MB, free: 9.594 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.003369/0.1107, allocations: 1.093 MB / 339.5 MB, free: 8.449 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.1107, allocations: 8.031 kB / 339.5 MB, free: 8.441 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001129/0.1119, allocations: 180 kB / 339.7 MB, free: 8.266 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002399/0.1121, allocations: 240.2 kB / 339.9 MB, free: 7.992 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.686e-05/0.1122, allocations: 50.38 kB / 340 MB, free: 7.945 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.1123, allocations: 72.28 kB / 340 MB, free: 7.875 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001313/0.1136, allocations: 0.7194 MB / 340.8 MB, free: 7.137 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.148e-05/0.1136, allocations: 0 / 340.8 MB, free: 7.137 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.584e-05/0.1137, allocations: 27.98 kB / 340.8 MB, free: 7.109 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.111e-05/0.1137, allocations: 20 kB / 340.8 MB, free: 7.09 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001298/0.115, allocations: 0.6218 MB / 341.4 MB, free: 6.465 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003369/0.1184, allocations: 2.336 MB / 343.8 MB, free: 3.984 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001721/0.1202, allocations: 1.636 MB / 345.4 MB, free: 2.121 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005443/0.1207, allocations: 287.4 kB / 345.7 MB, free: 1.832 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001389/0.1209, allocations: 97.66 kB / 345.8 MB, free: 1.719 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.1209, allocations: 43.16 kB / 345.8 MB, free: 1.668 MB / 286.1 MB Notification: Performance of pre-optimization done (n=66): time 2.535e-06/0.1209, allocations: 4 kB / 345.8 MB, free: 1.664 MB / 286.1 MB Notification: Performance of matching and sorting (n=66): time 0.001652/0.1226, allocations: 0.7327 MB / 346.5 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.612e-05/0.1226, allocations: 111.4 kB / 346.7 MB, free: 0.793 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002797/0.1229, allocations: 252.9 kB / 346.9 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.089e-05/0.123, allocations: 37.83 kB / 346.9 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001501/0.1231, allocations: 271.9 kB / 347.2 MB, free: 232 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001532/0.1233, allocations: 220.8 kB / 347.4 MB, free: 8 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.194e-05/0.1234, allocations: 61.69 kB / 347.5 MB, free: 15.94 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.1235, allocations: 342.8 kB / 347.8 MB, free: 15.6 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004955/0.124, allocations: 221.9 kB / 348 MB, free: 15.38 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005519/0.1246, allocations: 309.3 kB / 348.3 MB, free: 15.06 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/0.1257, allocations: 0.5415 MB / 348.9 MB, free: 14.49 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.1257, allocations: 0 / 348.9 MB, free: 14.49 MB / 302.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001285/0.127, allocations: 0.6571 MB / 349.5 MB, free: 13.83 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.127, allocations: 4 kB / 349.5 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.127, allocations: 4 kB / 349.5 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.1271, allocations: 4 kB / 349.5 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007256/0.1278, allocations: 159.8 kB / 349.7 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/0.1278, allocations: 7.938 kB / 349.7 MB, free: 13.65 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005257/0.1283, allocations: 83.34 kB / 349.8 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.305e-05/0.1284, allocations: 20 kB / 349.8 MB, free: 13.55 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.0002518/0.1287, allocations: 189.7 kB / 350 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.917e-05/0.1288, allocations: 35.53 kB / 350 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00138/0.1301, allocations: 0.6319 MB / 350.7 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.1302, allocations: 4 kB / 350.7 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.1302, allocations: 4 kB / 350.7 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.1302, allocations: 3.984 kB / 350.7 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00213/0.1323, allocations: 1.323 MB / 352 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.1323, allocations: 0 / 352 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005869/0.1329, allocations: 127.9 kB / 352.1 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.398e-06/0.133, allocations: 4 kB / 352.1 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.784e-05/0.133, allocations: 12 kB / 352.1 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.294e-06/0.133, allocations: 11.94 kB / 352.1 MB, free: 11.13 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.133, allocations: 0 / 352.1 MB, free: 11.13 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001743/0.1348, allocations: 1.009 MB / 353.2 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00012/0.1349, allocations: 128.5 kB / 353.3 MB, free: 9.961 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.265e-05/0.135, allocations: 15.98 kB / 353.3 MB, free: 9.945 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000418/0.1354, allocations: 31.92 kB / 353.3 MB, free: 9.914 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.836e-05/0.1355, allocations: 40.5 kB / 353.4 MB, free: 9.875 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.181e-05/0.1355, allocations: 16 kB / 353.4 MB, free: 9.859 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002008/0.1358, allocations: 192.5 kB / 353.6 MB, free: 9.672 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1358, allocations: 4 kB / 353.6 MB, free: 9.668 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006173/0.1364, allocations: 175.5 kB / 353.7 MB, free: 9.496 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.0002287/0.1366, allocations: 143.1 kB / 353.9 MB, free: 9.348 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001175/0.1378, allocations: 0.5507 MB / 354.4 MB, free: 8.801 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1378, allocations: 4 kB / 354.4 MB, free: 8.797 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005193/0.1383, allocations: 283.5 kB / 354.7 MB, free: 8.52 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005274/0.1389, allocations: 52.41 kB / 354.8 MB, free: 8.469 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002196/0.1411, allocations: 1.381 MB / 356.2 MB, free: 7.059 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004026/0.1415, allocations: 0.8463 MB / 357 MB, free: 6.188 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004314/0.1419, allocations: 83.34 kB / 357.1 MB, free: 6.102 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000139/0.1421, allocations: 39.42 kB / 357.1 MB, free: 6.062 MB / 302.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1421, allocations: 4 kB / 357.1 MB, free: 6.059 MB / 302.1 MB Notification: Performance of Templates: time 0.009575/0.1517, allocations: 4.77 MB / 361.9 MB, free: 1.289 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)