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.008683/0.008683, allocations: 100.5 kB / 15.73 MB, free: 6.496 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.001827/0.001827, allocations: 201.3 kB / 16.68 MB, free: 6.375 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.513/1.513, allocations: 205.1 MB / 222.5 MB, free: 4.512 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.001193/0.001193, allocations: 50.22 kB / 326.5 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0982/0.0994, allocations: 46.63 MB / 373.2 MB, free: 1.316 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005519/0.105, allocations: 4.127 MB / 377.3 MB, free: 13.16 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002934/0.1079, allocations: 1.667 MB / 379 MB, free: 11.48 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002596/0.1082, allocations: 12 kB / 379 MB, free: 11.47 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00243/0.1107, allocations: 1.027 MB / 380 MB, free: 10.44 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006504/0.1113, allocations: 226.3 kB / 380.2 MB, free: 10.22 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001706/0.1131, allocations: 0.794 MB / 381 MB, free: 9.422 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009505/0.114, allocations: 0.63 MB / 381.7 MB, free: 8.789 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009513/0.115, allocations: 495.3 kB / 382.1 MB, free: 8.297 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005264/0.1155, allocations: 263 kB / 382.4 MB, free: 8.039 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005116/0.116, allocations: 334.7 kB / 382.7 MB, free: 7.711 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.465e-05/0.1161, allocations: 56 kB / 382.8 MB, free: 7.656 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007062/0.1169, allocations: 279.7 kB / 383.1 MB, free: 7.383 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001254/0.117, allocations: 131.5 kB / 383.2 MB, free: 7.254 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002907/0.1173, allocations: 306.5 kB / 383.5 MB, free: 6.953 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00115/0.1184, allocations: 0.9106 MB / 384.4 MB, free: 6.039 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1185, allocations: 0 / 384.4 MB, free: 6.039 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1185, allocations: 0 / 384.4 MB, free: 6.039 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.909e-06/0.1185, allocations: 0 / 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.003419/0.1219, allocations: 1.22 MB / 385.6 MB, free: 4.766 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.122, allocations: 15.83 kB / 385.6 MB, free: 4.75 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001126/0.1231, allocations: 180.4 kB / 385.8 MB, free: 4.574 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002288/0.1233, allocations: 244.2 kB / 386 MB, free: 4.297 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.449e-05/0.1234, allocations: 50.38 kB / 386.1 MB, free: 4.25 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/0.1235, allocations: 68.38 kB / 386.2 MB, free: 4.184 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001324/0.1248, allocations: 0.7038 MB / 386.9 MB, free: 3.461 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.472e-05/0.1249, allocations: 0 / 386.9 MB, free: 3.461 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.024e-05/0.1249, allocations: 28 kB / 386.9 MB, free: 3.434 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.637e-05/0.125, allocations: 16 kB / 386.9 MB, free: 3.418 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00125/0.1262, allocations: 0.6063 MB / 387.5 MB, free: 2.812 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003257/0.1295, allocations: 2.313 MB / 389.8 MB, free: 376 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001624/0.1311, allocations: 1.633 MB / 391.5 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005066/0.1316, allocations: 271.4 kB / 391.7 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001292/0.1318, allocations: 93.66 kB / 391.8 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.1318, allocations: 43.12 kB / 391.9 MB, free: 14.07 MB / 334.1 MB Notification: Performance of pre-optimization done (n=66): time 2.144e-06/0.1318, allocations: 0 / 391.9 MB, free: 14.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=66): time 0.001589/0.1334, allocations: 0.7057 MB / 392.6 MB, free: 13.36 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.36e-05/0.1335, allocations: 115.2 kB / 392.7 MB, free: 13.22 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002689/0.1338, allocations: 257 kB / 392.9 MB, free: 12.96 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.943e-05/0.1338, allocations: 37.83 kB / 393 MB, free: 12.91 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.134, allocations: 284.6 kB / 393.2 MB, free: 12.63 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001483/0.1341, allocations: 234 kB / 393.5 MB, free: 12.4 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001822/0.1343, allocations: 110.7 kB / 393.6 MB, free: 12.29 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.1345, allocations: 346.8 kB / 393.9 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004741/0.1349, allocations: 209.9 kB / 394.1 MB, free: 11.73 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005317/0.1355, allocations: 305.4 kB / 394.4 MB, free: 11.41 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/0.1365, allocations: 0.5103 MB / 394.9 MB, free: 10.88 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.1365, allocations: 0 / 394.9 MB, free: 10.88 MB / 334.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001252/0.1378, allocations: 0.6336 MB / 395.6 MB, free: 10.24 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/0.1378, allocations: 4 kB / 395.6 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.1379, allocations: 4 kB / 395.6 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.857e-05/0.1379, allocations: 4 kB / 395.6 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000714/0.1386, allocations: 159.8 kB / 395.7 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.1386, allocations: 4 kB / 395.7 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004952/0.1391, allocations: 83.67 kB / 395.8 MB, free: 9.988 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.506e-05/0.1392, allocations: 20 kB / 395.8 MB, free: 9.969 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.0002413/0.1394, allocations: 197.6 kB / 396 MB, free: 9.766 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.019e-05/0.1395, allocations: 35.77 kB / 396.1 MB, free: 9.73 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001281/0.1408, allocations: 0.6046 MB / 396.7 MB, free: 9.117 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.1408, allocations: 4 kB / 396.7 MB, free: 9.113 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-05/0.1409, allocations: 4 kB / 396.7 MB, free: 9.109 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/0.1409, allocations: 7.984 kB / 396.7 MB, free: 9.102 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002051/0.1429, allocations: 1.29 MB / 398 MB, free: 7.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.1429, allocations: 0 / 398 MB, free: 7.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005547/0.1435, allocations: 127.8 kB / 398.1 MB, free: 7.625 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/0.1435, allocations: 4 kB / 398.1 MB, free: 7.621 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.748e-05/0.1436, allocations: 15.98 kB / 398.1 MB, free: 7.605 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.813e-06/0.1436, allocations: 11.94 kB / 398.1 MB, free: 7.594 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1436, allocations: 0 / 398.1 MB, free: 7.594 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001692/0.1453, allocations: 0.9754 MB / 399.1 MB, free: 6.605 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.1454, allocations: 124.7 kB / 399.2 MB, free: 6.465 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.43e-05/0.1455, allocations: 12 kB / 399.2 MB, free: 6.453 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003871/0.1459, allocations: 31.92 kB / 399.3 MB, free: 6.422 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.146, allocations: 44.44 kB / 399.3 MB, free: 6.379 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.943e-05/0.146, allocations: 23.98 kB / 399.3 MB, free: 6.355 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001961/0.1462, allocations: 188.5 kB / 399.5 MB, free: 6.172 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1462, allocations: 0 / 399.5 MB, free: 6.172 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005644/0.1468, allocations: 179.7 kB / 399.7 MB, free: 5.996 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.0002542/0.1471, allocations: 143.1 kB / 399.8 MB, free: 5.848 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00116/0.1483, allocations: 0.535 MB / 400.4 MB, free: 5.305 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1483, allocations: 0 / 400.4 MB, free: 5.305 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005161/0.1488, allocations: 275.5 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.00054/0.1493, allocations: 52.34 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.002077/0.1514, allocations: 1.076 MB / 401.8 MB, free: 3.883 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004018/0.1518, allocations: 0.846 MB / 402.6 MB, free: 3.012 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003573/0.1522, allocations: 79.39 kB / 402.7 MB, free: 2.934 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001438/0.1524, allocations: 43.42 kB / 402.7 MB, free: 2.891 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1524, allocations: 0 / 402.7 MB, free: 2.891 MB / 334.1 MB Notification: Performance of Templates: time 0.009724/0.1621, allocations: 5.172 MB / 407.9 MB, free: 13.71 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)