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.005077/0.005077, allocations: 101 kB / 15.73 MB, free: 6.047 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.001141/0.001141, allocations: 188 kB / 16.67 MB, free: 5.977 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.441/1.441, allocations: 205.1 MB / 222.6 MB, free: 4.531 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.001213/0.001213, allocations: 54.55 kB / 326.6 MB, free: 14.34 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1058, allocations: 46.61 MB / 373.2 MB, free: 1.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005319/0.1111, allocations: 4.142 MB / 377.3 MB, free: 13.17 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002898/0.1141, allocations: 1.663 MB / 379 MB, free: 11.5 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002634/0.1143, allocations: 16 kB / 379 MB, free: 11.48 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002514/0.1169, allocations: 1.019 MB / 380 MB, free: 10.46 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006507/0.1176, allocations: 234.2 kB / 380.2 MB, free: 10.23 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001582/0.1192, allocations: 0.7901 MB / 381 MB, free: 9.434 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005813/0.1198, allocations: 0.63 MB / 381.7 MB, free: 8.801 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006999/0.1205, allocations: 495.4 kB / 382.1 MB, free: 8.309 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003315/0.1208, allocations: 271 kB / 382.4 MB, free: 8.043 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003923/0.1212, allocations: 334.7 kB / 382.7 MB, free: 7.715 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.337e-05/0.1213, allocations: 59.94 kB / 382.8 MB, free: 7.656 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005764/0.1219, allocations: 267.8 kB / 383 MB, free: 7.395 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.122, allocations: 127.5 kB / 383.2 MB, free: 7.27 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002703/0.1223, allocations: 306.5 kB / 383.5 MB, free: 6.969 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000995/0.1233, allocations: 0.9189 MB / 384.4 MB, free: 6.047 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.1233, allocations: 0 / 384.4 MB, free: 6.047 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1233, allocations: 0 / 384.4 MB, free: 6.047 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.826e-06/0.1233, allocations: 0 / 384.4 MB, free: 6.047 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.003405/0.1267, allocations: 1.198 MB / 385.6 MB, free: 4.797 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.1268, allocations: 19.88 kB / 385.6 MB, free: 4.777 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001094/0.1279, allocations: 172.1 kB / 385.8 MB, free: 4.609 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/0.1281, allocations: 248.1 kB / 386 MB, free: 4.328 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.14e-05/0.1282, allocations: 50.38 kB / 386.1 MB, free: 4.281 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.826e-05/0.1283, allocations: 64.38 kB / 386.1 MB, free: 4.219 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00121/0.1295, allocations: 0.7077 MB / 386.8 MB, free: 3.492 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.327e-05/0.1296, allocations: 4 kB / 386.8 MB, free: 3.488 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.663e-05/0.1296, allocations: 27.98 kB / 386.9 MB, free: 3.461 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.613e-05/0.1297, allocations: 20 kB / 386.9 MB, free: 3.441 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001242/0.1309, allocations: 0.5985 MB / 387.5 MB, free: 2.844 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003456/0.1344, allocations: 2.293 MB / 389.8 MB, free: 428 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001564/0.136, allocations: 1.633 MB / 391.4 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004878/0.1365, allocations: 275.4 kB / 391.7 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001273/0.1366, allocations: 97.56 kB / 391.8 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.1367, allocations: 43.12 kB / 391.8 MB, free: 14.11 MB / 334.1 MB Notification: Performance of pre-optimization done (n=66): time 4.559e-06/0.1367, allocations: 0 / 391.8 MB, free: 14.11 MB / 334.1 MB Notification: Performance of matching and sorting (n=66): time 0.00158/0.1383, allocations: 0.7131 MB / 392.5 MB, free: 13.39 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.901e-05/0.1384, allocations: 111.4 kB / 392.6 MB, free: 13.26 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000299/0.1387, allocations: 253 kB / 392.9 MB, free: 13 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.118e-05/0.1387, allocations: 37.7 kB / 392.9 MB, free: 12.96 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001648/0.1389, allocations: 275.8 kB / 393.2 MB, free: 12.68 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001834/0.1391, allocations: 216.8 kB / 393.4 MB, free: 12.47 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001975/0.1393, allocations: 126.5 kB / 393.5 MB, free: 12.34 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.1394, allocations: 346.9 kB / 393.9 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004586/0.1399, allocations: 209.9 kB / 394.1 MB, free: 11.79 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005136/0.1404, allocations: 301.4 kB / 394.4 MB, free: 11.46 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009828/0.1414, allocations: 0.5142 MB / 394.9 MB, free: 10.93 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.1414, allocations: 0 / 394.9 MB, free: 10.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001233/0.1427, allocations: 0.6257 MB / 395.5 MB, free: 10.3 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.1427, allocations: 12.19 kB / 395.5 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.1427, allocations: 0 / 395.5 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.34e-05/0.1428, allocations: 4 kB / 395.5 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007093/0.1435, allocations: 163.8 kB / 395.7 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.1435, allocations: 4 kB / 395.7 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004601/0.144, allocations: 79.25 kB / 395.8 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.628e-05/0.144, allocations: 23.98 kB / 395.8 MB, free: 10.02 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.0002587/0.1443, allocations: 189.7 kB / 396 MB, free: 9.824 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.476e-05/0.1444, allocations: 39.56 kB / 396 MB, free: 9.785 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001298/0.1457, allocations: 0.5968 MB / 396.6 MB, free: 9.18 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.1457, allocations: 8 kB / 396.6 MB, free: 9.172 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.1457, allocations: 0 / 396.6 MB, free: 9.172 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.1457, allocations: 3.984 kB / 396.6 MB, free: 9.168 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002127/0.1479, allocations: 1.29 MB / 397.9 MB, free: 7.816 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/0.1479, allocations: 3.984 kB / 397.9 MB, free: 7.812 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005396/0.1484, allocations: 135.8 kB / 398 MB, free: 7.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/0.1484, allocations: 4 kB / 398.1 MB, free: 7.676 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.819e-05/0.1485, allocations: 15.98 kB / 398.1 MB, free: 7.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.1485, allocations: 3.938 kB / 398.1 MB, free: 7.656 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.1485, allocations: 4 kB / 398.1 MB, free: 7.652 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001567/0.1501, allocations: 0.9714 MB / 399 MB, free: 6.668 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000115/0.1502, allocations: 120.5 kB / 399.2 MB, free: 6.531 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.973e-05/0.1503, allocations: 12 kB / 399.2 MB, free: 6.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003747/0.1507, allocations: 39.92 kB / 399.2 MB, free: 6.48 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.1508, allocations: 40.5 kB / 399.3 MB, free: 6.441 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.485e-05/0.1508, allocations: 19.98 kB / 399.3 MB, free: 6.422 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000196/0.151, allocations: 188.5 kB / 399.5 MB, free: 6.238 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.151, allocations: 0 / 399.5 MB, free: 6.238 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006057/0.1516, allocations: 171.5 kB / 399.6 MB, free: 6.07 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.0002696/0.1519, allocations: 159 kB / 399.8 MB, free: 5.906 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001129/0.1531, allocations: 0.5351 MB / 400.3 MB, free: 5.363 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1531, allocations: 0 / 400.3 MB, free: 5.363 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004959/0.1536, allocations: 279.1 kB / 400.6 MB, free: 5.094 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005305/0.1541, allocations: 40.86 kB / 400.6 MB, free: 5.055 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002124/0.1563, allocations: 1.065 MB / 401.7 MB, free: 3.961 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004356/0.1567, allocations: 0.846 MB / 402.5 MB, free: 3.09 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003279/0.157, allocations: 79.41 kB / 402.6 MB, free: 3.012 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.1572, allocations: 43.42 kB / 402.7 MB, free: 2.969 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1572, allocations: 0 / 402.7 MB, free: 2.969 MB / 334.1 MB Notification: Performance of Templates: time 0.009733/0.1669, allocations: 5.169 MB / 407.8 MB, free: 13.79 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)