Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_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.1_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.1_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.005192/0.005192, allocations: 104.5 kB / 15.73 MB, free: 6.043 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.00105/0.00105, allocations: 192.1 kB / 16.67 MB, free: 5.973 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.716/1.716, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.001197/0.001197, allocations: 49.88 kB / 326.6 MB, free: 14.31 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.118, allocations: 46.62 MB / 373.2 MB, free: 1.344 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.006239/0.1243, allocations: 5.203 MB / 378.4 MB, free: 12.11 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003105/0.1274, allocations: 1.721 MB / 380.1 MB, free: 10.38 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005725/0.1281, allocations: 16 kB / 380.1 MB, free: 10.36 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003276/0.1314, allocations: 1.416 MB / 381.5 MB, free: 8.941 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001037/0.1324, allocations: 313.7 kB / 381.8 MB, free: 8.633 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001548/0.134, allocations: 0.8175 MB / 382.7 MB, free: 7.812 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009153/0.1349, allocations: 0.8092 MB / 383.5 MB, free: 7 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001032/0.1359, allocations: 0.7613 MB / 384.2 MB, free: 6.223 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003728/0.1363, allocations: 350.7 kB / 384.6 MB, free: 5.879 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004545/0.1368, allocations: 466.1 kB / 385 MB, free: 5.422 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.133e-05/0.1369, allocations: 76 kB / 385.1 MB, free: 5.348 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005116/0.1374, allocations: 255.8 kB / 385.3 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001359/0.1375, allocations: 183.3 kB / 385.5 MB, free: 4.918 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000355/0.1379, allocations: 425.9 kB / 385.9 MB, free: 4.5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001229/0.1391, allocations: 1.187 MB / 387.1 MB, free: 3.309 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.1392, allocations: 4 kB / 387.1 MB, free: 3.305 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.579e-06/0.1392, allocations: 3.984 kB / 387.1 MB, free: 3.301 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.514e-05/0.1392, allocations: 0 / 387.1 MB, free: 3.301 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.003635/0.1428, allocations: 1.44 MB / 388.6 MB, free: 1.812 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.1429, allocations: 8.031 kB / 388.6 MB, free: 1.805 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001564/0.1445, allocations: 259.7 kB / 388.8 MB, free: 1.551 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002271/0.1447, allocations: 255.1 kB / 389.1 MB, free: 1.262 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.803e-05/0.1448, allocations: 70.38 kB / 389.2 MB, free: 1.191 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001411/0.1449, allocations: 108.3 kB / 389.3 MB, free: 1.086 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001374/0.1463, allocations: 0.9386 MB / 390.2 MB, free: 140 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.599e-05/0.1463, allocations: 11.91 kB / 390.2 MB, free: 128 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.389e-05/0.1464, allocations: 36 kB / 390.3 MB, free: 92 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.621e-05/0.1464, allocations: 24 kB / 390.3 MB, free: 68 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001248/0.1477, allocations: 0.7848 MB / 391.1 MB, free: 15.28 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004677/0.1524, allocations: 3.349 MB / 394.4 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001807/0.1542, allocations: 1.259 MB / 395.7 MB, free: 10.39 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005263/0.1548, allocations: 373.1 kB / 396 MB, free: 10.03 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001122/0.1549, allocations: 102.1 kB / 396.1 MB, free: 9.906 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/0.1549, allocations: 47.55 kB / 396.2 MB, free: 9.852 MB / 334.1 MB Notification: Performance of pre-optimization done (n=87): time 2.275e-06/0.1549, allocations: 3.938 kB / 396.2 MB, free: 9.848 MB / 334.1 MB Notification: Performance of matching and sorting (n=87): time 0.002043/0.157, allocations: 1.296 MB / 397.5 MB, free: 8.465 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.459e-05/0.157, allocations: 86.11 kB / 397.6 MB, free: 8.359 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004066/0.1575, allocations: 376.2 kB / 397.9 MB, free: 7.984 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.701e-05/0.1575, allocations: 37.7 kB / 398 MB, free: 7.941 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002279/0.1577, allocations: 378.9 kB / 398.3 MB, free: 7.562 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002204/0.158, allocations: 307.6 kB / 398.6 MB, free: 7.258 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002463/0.1582, allocations: 162.9 kB / 398.8 MB, free: 7.09 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.1584, allocations: 370.8 kB / 399.2 MB, free: 6.719 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004494/0.1589, allocations: 262.5 kB / 399.4 MB, free: 6.465 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005809/0.1594, allocations: 483.4 kB / 399.9 MB, free: 5.914 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/0.1605, allocations: 0.7706 MB / 400.7 MB, free: 5.062 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.1605, allocations: 4 kB / 400.7 MB, free: 5.059 MB / 334.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.00155/0.1621, allocations: 0.9651 MB / 401.6 MB, free: 4.078 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.1621, allocations: 8 kB / 401.6 MB, free: 4.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-05/0.1621, allocations: 12 kB / 401.6 MB, free: 4.059 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003764/0.1625, allocations: 127.3 kB / 401.8 MB, free: 3.922 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007552/0.1633, allocations: 203.7 kB / 402 MB, free: 3.723 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004269/0.1675, allocations: 6.114 MB / 408.1 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005603/0.1681, allocations: 98.97 kB / 408.2 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.189e-05/0.1682, allocations: 39.98 kB / 408.2 MB, free: 12.92 MB / 350.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.0003509/0.1686, allocations: 237.5 kB / 408.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.1687, allocations: 51.34 kB / 408.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001406/0.1701, allocations: 0.8521 MB / 409.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.1701, allocations: 8 kB / 409.4 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.1701, allocations: 4 kB / 409.4 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.1701, allocations: 11.92 kB / 409.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002683/0.1728, allocations: 1.919 MB / 411.3 MB, free: 9.672 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.728e-06/0.1729, allocations: 4 kB / 411.3 MB, free: 9.668 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005478/0.1734, allocations: 147.7 kB / 411.4 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002855/0.1737, allocations: 107.6 kB / 411.5 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.535e-05/0.1738, allocations: 23.98 kB / 411.6 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003512/0.1773, allocations: 5.693 MB / 417.3 MB, free: 3.129 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.917e-06/0.1773, allocations: 15.91 kB / 417.3 MB, free: 3.113 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001733/0.179, allocations: 1.277 MB / 418.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001541/0.1792, allocations: 144.2 kB / 418.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.537e-05/0.1793, allocations: 23.88 kB / 418.7 MB, free: 1.594 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004454/0.1797, allocations: 27.98 kB / 418.7 MB, free: 1.566 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.1799, allocations: 60.64 kB / 418.8 MB, free: 1.508 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.455e-05/0.1799, allocations: 28 kB / 418.8 MB, free: 1.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002818/0.1802, allocations: 255.2 kB / 419.1 MB, free: 1.234 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.724e-06/0.1802, allocations: 0 / 419.1 MB, free: 1.234 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009332/0.1811, allocations: 260.4 kB / 419.3 MB, free: 0.9805 MB / 350.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.0002393/0.1814, allocations: 159 kB / 419.5 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001631/0.183, allocations: 1.177 MB / 420.7 MB, free: 15.58 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.1831, allocations: 4.125 kB / 420.7 MB, free: 15.58 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008038/0.1839, allocations: 0.7834 MB / 421.5 MB, free: 14.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005447/0.1844, allocations: 65.3 kB / 421.5 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002325/0.1868, allocations: 1.403 MB / 422.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004433/0.1872, allocations: 0.9188 MB / 423.8 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003788/0.1876, allocations: 101.1 kB / 423.9 MB, free: 12.17 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001429/0.1877, allocations: 51.42 kB / 424 MB, free: 12.12 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1878, allocations: 0 / 424 MB, free: 12.12 MB / 366.1 MB Notification: Performance of Templates: time 0.01277/0.2005, allocations: 7.218 MB / 431.2 MB, free: 4.891 MB / 366.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile (rm -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1)