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.006027/0.006027, allocations: 97.69 kB / 15.73 MB, free: 6.02 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.001226/0.001227, allocations: 189.9 kB / 16.67 MB, free: 5.938 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.417/1.417, allocations: 205.1 MB / 222.6 MB, free: 4.492 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.001191/0.001192, allocations: 49.33 kB / 326.5 MB, free: 14.44 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09487/0.09607, allocations: 46.63 MB / 373.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005257/0.1014, allocations: 4.126 MB / 377.3 MB, free: 13.17 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003055/0.1045, allocations: 1.674 MB / 379 MB, free: 11.48 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002009/0.1047, allocations: 16 kB / 379 MB, free: 11.47 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002219/0.1069, allocations: 1.011 MB / 380 MB, free: 10.45 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005176/0.1075, allocations: 226.3 kB / 380.2 MB, free: 10.23 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001471/0.1089, allocations: 0.7978 MB / 381 MB, free: 9.43 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000579/0.1095, allocations: 0.6261 MB / 381.6 MB, free: 8.801 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006845/0.1102, allocations: 0.4915 MB / 382.1 MB, free: 8.301 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003608/0.1106, allocations: 267 kB / 382.4 MB, free: 8.039 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000406/0.111, allocations: 334.7 kB / 382.7 MB, free: 7.711 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.733e-05/0.1111, allocations: 52 kB / 382.8 MB, free: 7.66 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005299/0.1116, allocations: 267.8 kB / 383 MB, free: 7.398 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.1118, allocations: 135.5 kB / 383.2 MB, free: 7.266 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002659/0.112, allocations: 306.5 kB / 383.5 MB, free: 6.965 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001076/0.1131, allocations: 0.9145 MB / 384.4 MB, free: 6.047 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1131, allocations: 4 kB / 384.4 MB, free: 6.043 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1131, allocations: 0 / 384.4 MB, free: 6.043 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.115e-05/0.1132, allocations: 3.984 kB / 384.4 MB, free: 6.039 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.003543/0.1167, allocations: 1.216 MB / 385.6 MB, free: 4.77 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.1168, allocations: 11.89 kB / 385.6 MB, free: 4.758 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001126/0.1179, allocations: 180.4 kB / 385.8 MB, free: 4.582 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002115/0.1181, allocations: 244.2 kB / 386 MB, free: 4.305 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.816e-05/0.1182, allocations: 50.38 kB / 386.1 MB, free: 4.258 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.1183, allocations: 72.3 kB / 386.2 MB, free: 4.188 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001267/0.1196, allocations: 0.7038 MB / 386.9 MB, free: 3.465 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.415e-05/0.1196, allocations: 0 / 386.9 MB, free: 3.465 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.335e-05/0.1197, allocations: 36 kB / 386.9 MB, free: 3.43 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.602e-05/0.1197, allocations: 16 kB / 386.9 MB, free: 3.414 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001304/0.121, allocations: 0.5985 MB / 387.5 MB, free: 2.816 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003419/0.1244, allocations: 2.305 MB / 389.8 MB, free: 388 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001737/0.1262, allocations: 1.641 MB / 391.5 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005418/0.1267, allocations: 279.3 kB / 391.7 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001544/0.1269, allocations: 89.67 kB / 391.8 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/0.1269, allocations: 43.11 kB / 391.9 MB, free: 14.07 MB / 334.1 MB Notification: Performance of pre-optimization done (n=66): time 2.504e-06/0.127, allocations: 0 / 391.9 MB, free: 14.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=66): time 0.001679/0.1286, allocations: 0.7018 MB / 392.6 MB, free: 13.36 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.374e-05/0.1287, allocations: 107.4 kB / 392.7 MB, free: 13.23 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002998/0.129, allocations: 265 kB / 392.9 MB, free: 12.96 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.095e-05/0.1291, allocations: 37.7 kB / 393 MB, free: 12.92 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001737/0.1293, allocations: 276.6 kB / 393.2 MB, free: 12.64 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001766/0.1294, allocations: 238 kB / 393.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002048/0.1297, allocations: 110.7 kB / 393.6 MB, free: 12.29 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.1298, allocations: 350.8 kB / 393.9 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004781/0.1303, allocations: 205.9 kB / 394.1 MB, free: 11.74 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005447/0.1308, allocations: 305.3 kB / 394.4 MB, free: 11.42 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009872/0.1318, allocations: 0.5181 MB / 394.9 MB, free: 10.88 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.1319, allocations: 0 / 394.9 MB, free: 10.88 MB / 334.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001246/0.1331, allocations: 0.6258 MB / 395.6 MB, free: 10.25 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.1331, allocations: 8.172 kB / 395.6 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.1332, allocations: 11.98 kB / 395.6 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.1332, allocations: 4 kB / 395.6 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007058/0.1339, allocations: 159.8 kB / 395.7 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.742e-05/0.1339, allocations: 4 kB / 395.7 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004787/0.1344, allocations: 75.48 kB / 395.8 MB, free: 9.992 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.845e-05/0.1345, allocations: 31.98 kB / 395.8 MB, free: 9.961 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.000227/0.1347, allocations: 193.7 kB / 396 MB, free: 9.762 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.951e-05/0.1348, allocations: 35.77 kB / 396.1 MB, free: 9.727 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001287/0.1361, allocations: 0.6084 MB / 396.7 MB, free: 9.109 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.844e-06/0.1361, allocations: 7.984 kB / 396.7 MB, free: 9.102 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.1361, allocations: 4 kB / 396.7 MB, free: 9.098 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.1361, allocations: 3.984 kB / 396.7 MB, free: 9.094 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002068/0.1382, allocations: 1.286 MB / 398 MB, free: 7.746 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.1382, allocations: 0 / 398 MB, free: 7.746 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005473/0.1388, allocations: 127.8 kB / 398.1 MB, free: 7.621 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.855e-06/0.1388, allocations: 4 kB / 398.1 MB, free: 7.617 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.755e-05/0.1388, allocations: 12 kB / 398.1 MB, free: 7.605 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.803e-06/0.1388, allocations: 7.938 kB / 398.1 MB, free: 7.598 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1389, allocations: 0 / 398.1 MB, free: 7.598 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001697/0.1406, allocations: 0.9754 MB / 399.1 MB, free: 6.609 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.337e-05/0.1407, allocations: 124.7 kB / 399.2 MB, free: 6.469 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.135e-05/0.1407, allocations: 12 kB / 399.2 MB, free: 6.457 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003978/0.1411, allocations: 39.91 kB / 399.3 MB, free: 6.418 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.1413, allocations: 48.44 kB / 399.3 MB, free: 6.371 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.33e-05/0.1413, allocations: 16 kB / 399.3 MB, free: 6.355 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001899/0.1415, allocations: 192.5 kB / 399.5 MB, free: 6.168 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1415, allocations: 3.938 kB / 399.5 MB, free: 6.164 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005545/0.1421, allocations: 179.6 kB / 399.7 MB, free: 5.988 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.0002387/0.1423, allocations: 135.2 kB / 399.8 MB, free: 5.848 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001156/0.1435, allocations: 0.5351 MB / 400.4 MB, free: 5.305 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.1435, allocations: 0 / 400.4 MB, free: 5.305 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005165/0.144, allocations: 275 kB / 400.6 MB, free: 5.039 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005391/0.1446, allocations: 52.8 kB / 400.7 MB, free: 4.988 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001994/0.1466, allocations: 1.08 MB / 401.8 MB, free: 3.879 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005265/0.1471, allocations: 0.8382 MB / 402.6 MB, free: 3.016 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003527/0.1475, allocations: 83.39 kB / 402.7 MB, free: 2.934 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001544/0.1476, allocations: 47.42 kB / 402.7 MB, free: 2.887 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1476, allocations: 0 / 402.7 MB, free: 2.887 MB / 334.1 MB Notification: Performance of Templates: time 0.009746/0.1574, allocations: 5.165 MB / 407.9 MB, free: 13.71 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)