Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.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.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 91.34 kB / 16.65 MB, free: 6.586 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.001138/0.001138, allocations: 183 kB / 17.56 MB, free: 6.203 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.431/1.431, allocations: 205.4 MB / 223.8 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.0007025/0.0007025, allocations: 19.92 kB / 280.8 MB, free: 3.398 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1327, allocations: 47.58 MB / 328.3 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.005282/0.1381, allocations: 4.727 MB / 333.1 MB, free: 15 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003087/0.1412, allocations: 1.69 MB / 334.8 MB, free: 13.29 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005195/0.1417, allocations: 16 kB / 334.8 MB, free: 13.28 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007745/0.1425, allocations: 258.9 kB / 335 MB, free: 13.02 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001005/0.1435, allocations: 266.4 kB / 335.3 MB, free: 12.76 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00164/0.1452, allocations: 0.7673 MB / 336 MB, free: 11.99 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001127/0.1463, allocations: 0.7702 MB / 336.8 MB, free: 11.22 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002768/0.1491, allocations: 1.502 MB / 338.3 MB, free: 9.688 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004548/0.1496, allocations: 294.7 kB / 338.6 MB, free: 9.398 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005302/0.1501, allocations: 406.2 kB / 339 MB, free: 9 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.749e-05/0.1502, allocations: 36 kB / 339 MB, free: 8.965 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005315/0.1508, allocations: 215.8 kB / 339.3 MB, free: 8.754 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001265/0.1509, allocations: 135.3 kB / 339.4 MB, free: 8.621 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003603/0.1513, allocations: 399.6 kB / 339.8 MB, free: 8.223 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001128/0.1524, allocations: 1.129 MB / 340.9 MB, free: 7.09 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1524, allocations: 0 / 340.9 MB, free: 7.09 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1524, allocations: 0 / 340.9 MB, free: 7.09 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.355e-05/0.1525, allocations: 0 / 340.9 MB, free: 7.09 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.003732/0.1562, allocations: 1.287 MB / 342.2 MB, free: 5.75 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.1562, allocations: 8.031 kB / 342.2 MB, free: 5.742 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001684/0.1579, allocations: 255.7 kB / 342.4 MB, free: 5.492 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002492/0.1582, allocations: 255.2 kB / 342.7 MB, free: 5.203 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.799e-05/0.1583, allocations: 74.38 kB / 342.8 MB, free: 5.133 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001571/0.1584, allocations: 100.3 kB / 342.9 MB, free: 5.035 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001562/0.16, allocations: 0.9462 MB / 343.8 MB, free: 4.074 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.071e-05/0.16, allocations: 7.984 kB / 343.8 MB, free: 4.066 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.081e-05/0.1601, allocations: 40 kB / 343.9 MB, free: 4.027 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.947e-05/0.1602, allocations: 24 kB / 343.9 MB, free: 4.004 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001328/0.1615, allocations: 0.7845 MB / 344.7 MB, free: 3.223 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004849/0.1663, allocations: 3.385 MB / 348.1 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001856/0.1682, allocations: 1.263 MB / 349.3 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005105/0.1687, allocations: 373 kB / 349.7 MB, free: 13.93 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.646e-05/0.1689, allocations: 102.1 kB / 349.8 MB, free: 13.81 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.1689, allocations: 43.5 kB / 349.8 MB, free: 13.76 MB / 302.1 MB Notification: Performance of pre-optimization done (n=87): time 2.084e-06/0.1689, allocations: 0 / 349.8 MB, free: 13.76 MB / 302.1 MB Notification: Performance of matching and sorting (n=87): time 0.002172/0.1711, allocations: 1.32 MB / 351.1 MB, free: 12.35 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.1711, allocations: 86.11 kB / 351.2 MB, free: 12.25 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003859/0.1715, allocations: 368.3 kB / 351.6 MB, free: 11.88 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.078e-05/0.1716, allocations: 41.7 kB / 351.6 MB, free: 11.83 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002093/0.1718, allocations: 374.9 kB / 352 MB, free: 11.46 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002124/0.172, allocations: 299.7 kB / 352.3 MB, free: 11.16 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.1721, allocations: 85.67 kB / 352.4 MB, free: 11.07 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.1723, allocations: 362.8 kB / 352.7 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004349/0.1727, allocations: 262.5 kB / 353 MB, free: 10.45 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005627/0.1733, allocations: 475.4 kB / 353.4 MB, free: 9.91 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001031/0.1743, allocations: 0.7744 MB / 354.2 MB, free: 9.059 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.1743, allocations: 0 / 354.2 MB, free: 9.059 MB / 302.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001555/0.1759, allocations: 0.9807 MB / 355.2 MB, free: 8.062 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.1759, allocations: 8 kB / 355.2 MB, free: 8.055 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/0.176, allocations: 4 kB / 355.2 MB, free: 8.051 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004427/0.1764, allocations: 123.3 kB / 355.3 MB, free: 7.918 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007645/0.1772, allocations: 207.7 kB / 355.5 MB, free: 7.715 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003974/0.1812, allocations: 5.578 MB / 361.1 MB, free: 1.598 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005629/0.1817, allocations: 102.8 kB / 361.2 MB, free: 1.496 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.568e-05/0.1818, allocations: 36 kB / 361.2 MB, free: 1.461 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (120): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002958/0.1821, allocations: 241.5 kB / 361.5 MB, free: 1.215 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.1822, allocations: 47.44 kB / 361.5 MB, free: 1.168 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001544/0.1838, allocations: 0.8405 MB / 362.4 MB, free: 308 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.1838, allocations: 8 kB / 362.4 MB, free: 300 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.1838, allocations: 7.938 kB / 362.4 MB, free: 292 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/0.1838, allocations: 7.969 kB / 362.4 MB, free: 284 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002741/0.1866, allocations: 1.939 MB / 364.3 MB, free: 14.21 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.1866, allocations: 0 / 364.3 MB, free: 14.21 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000576/0.1872, allocations: 139.8 kB / 364.5 MB, free: 14.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002695/0.1874, allocations: 107.6 kB / 364.6 MB, free: 13.95 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.468e-05/0.1875, allocations: 20 kB / 364.6 MB, free: 13.93 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003618/0.1911, allocations: 5.306 MB / 369.9 MB, free: 8.098 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.1911, allocations: 4 kB / 369.9 MB, free: 8.094 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001771/0.1929, allocations: 1.272 MB / 371.2 MB, free: 6.766 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.193, allocations: 148.2 kB / 371.3 MB, free: 6.602 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.991e-05/0.1931, allocations: 23.94 kB / 371.3 MB, free: 6.578 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003795/0.1935, allocations: 19.94 kB / 371.4 MB, free: 6.559 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.619e-05/0.1936, allocations: 68.52 kB / 371.4 MB, free: 6.492 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.984e-05/0.1937, allocations: 23.98 kB / 371.5 MB, free: 6.469 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003159/0.194, allocations: 255.2 kB / 371.7 MB, free: 6.219 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.194, allocations: 0 / 371.7 MB, free: 6.219 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008284/0.1948, allocations: 260.4 kB / 372 MB, free: 5.965 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 1 (constantSource.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 (78): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002416/0.1951, allocations: 155 kB / 372.1 MB, free: 5.805 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001622/0.1967, allocations: 1.169 MB / 373.3 MB, free: 4.582 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.1967, allocations: 0 / 373.3 MB, free: 4.582 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008005/0.1975, allocations: 0.7928 MB / 374.1 MB, free: 3.738 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006364/0.1982, allocations: 61.48 kB / 374.1 MB, free: 3.68 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002607/0.2008, allocations: 1.808 MB / 375.9 MB, free: 1.812 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005558/0.2014, allocations: 0.9148 MB / 376.9 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006387/0.202, allocations: 113.1 kB / 377 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002263/0.2023, allocations: 47.44 kB / 377 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2023, allocations: 0 / 377 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of Templates: time 0.1466/0.3489, allocations: 6.756 MB / 383.8 MB, free: 50.53 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1)