Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001014/0.001013, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.001308/0.001308, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.308/1.308, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.0003907/0.0003907, allocations: 8 kB / 278.9 MB, free: 12.81 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1878/0.1882, allocations: 47.59 MB / 326.5 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.004319/0.1925, allocations: 4.426 MB / 330.9 MB, free: 13.94 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002344/0.1949, allocations: 1.573 MB / 332.5 MB, free: 12.65 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001972/0.1951, allocations: 17.59 kB / 332.5 MB, free: 12.65 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004064/0.1955, allocations: 198 kB / 332.7 MB, free: 12.5 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005146/0.1961, allocations: 255.2 kB / 333 MB, free: 12.3 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001236/0.1973, allocations: 0.6535 MB / 333.6 MB, free: 11.8 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007627/0.1981, allocations: 0.7551 MB / 334.4 MB, free: 11.35 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002324/0.2004, allocations: 1.354 MB / 335.7 MB, free: 10.24 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003439/0.2008, allocations: 282.8 kB / 336 MB, free: 9.961 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004134/0.2012, allocations: 386.4 kB / 336.4 MB, free: 9.582 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.993e-05/0.2013, allocations: 36 kB / 336.4 MB, free: 9.547 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004208/0.2017, allocations: 215.8 kB / 336.6 MB, free: 9.336 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.444e-05/0.2018, allocations: 123.4 kB / 336.7 MB, free: 9.215 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001268/0.2019, allocations: 173.3 kB / 336.9 MB, free: 9.039 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007866/0.2027, allocations: 0.8932 MB / 337.8 MB, free: 8.145 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2027, allocations: 4 kB / 337.8 MB, free: 8.141 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2027, allocations: 0 / 337.8 MB, free: 8.141 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.2028, allocations: 0 / 337.8 MB, free: 8.141 MB / 270.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.003281/0.206, allocations: 1.287 MB / 339.1 MB, free: 6.801 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.2061, allocations: 8.031 kB / 339.1 MB, free: 6.793 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001559/0.2077, allocations: 254.8 kB / 339.3 MB, free: 6.543 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001952/0.2079, allocations: 265.8 kB / 339.6 MB, free: 6.242 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.661e-05/0.2079, allocations: 70 kB / 339.7 MB, free: 6.176 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/0.2081, allocations: 111.8 kB / 339.8 MB, free: 6.066 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001463/0.2095, allocations: 0.9302 MB / 340.7 MB, free: 5.121 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.799e-05/0.2096, allocations: 8 kB / 340.7 MB, free: 5.113 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-05/0.2097, allocations: 36 kB / 340.8 MB, free: 5.078 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.275e-05/0.2097, allocations: 24 kB / 340.8 MB, free: 5.055 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001223/0.2109, allocations: 0.7692 MB / 341.5 MB, free: 4.289 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004547/0.2155, allocations: 3.392 MB / 344.9 MB, free: 0.7109 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001748/0.2172, allocations: 1.253 MB / 346.2 MB, free: 15.37 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005062/0.2178, allocations: 373.1 kB / 346.6 MB, free: 15 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000103/0.2179, allocations: 102.1 kB / 346.7 MB, free: 14.89 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/0.2179, allocations: 47.5 kB / 346.7 MB, free: 14.83 MB / 286.1 MB Notification: Performance of pre-optimization done (n=87): time 1.813e-06/0.2179, allocations: 4 kB / 346.7 MB, free: 14.83 MB / 286.1 MB Notification: Performance of matching and sorting (n=87): time 0.002021/0.2199, allocations: 1.296 MB / 348 MB, free: 13.44 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.988e-05/0.22, allocations: 90.05 kB / 348.1 MB, free: 13.33 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003949/0.2204, allocations: 368.3 kB / 348.4 MB, free: 12.97 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.845e-05/0.2205, allocations: 37.7 kB / 348.5 MB, free: 12.93 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002319/0.2207, allocations: 386.8 kB / 348.9 MB, free: 12.54 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001786/0.2209, allocations: 291.7 kB / 349.1 MB, free: 12.25 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.953e-05/0.2209, allocations: 24.03 kB / 349.2 MB, free: 12.23 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.221, allocations: 358.8 kB / 349.5 MB, free: 11.87 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004065/0.2215, allocations: 262.5 kB / 349.8 MB, free: 11.61 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005467/0.222, allocations: 471.4 kB / 350.2 MB, free: 11.07 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005264/0.2225, allocations: 330.9 kB / 350.6 MB, free: 10.75 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.2226, allocations: 4 kB / 350.6 MB, free: 10.75 MB / 286.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001473/0.224, allocations: 0.9683 MB / 351.5 MB, free: 9.762 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.2241, allocations: 8.656 kB / 351.5 MB, free: 9.754 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.2241, allocations: 8 kB / 351.6 MB, free: 9.746 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000338/0.2244, allocations: 123.4 kB / 351.7 MB, free: 9.613 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007206/0.2251, allocations: 195.7 kB / 351.9 MB, free: 9.422 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003655/0.2288, allocations: 5.574 MB / 357.4 MB, free: 3.305 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004799/0.2293, allocations: 107.1 kB / 357.5 MB, free: 3.199 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.359e-05/0.2294, allocations: 36 kB / 357.6 MB, free: 3.164 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002861/0.2297, allocations: 233.5 kB / 357.8 MB, free: 2.926 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.2298, allocations: 55.3 kB / 357.9 MB, free: 2.871 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001415/0.2312, allocations: 0.848 MB / 358.7 MB, free: 2 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.2312, allocations: 8 kB / 358.7 MB, free: 1.992 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.2312, allocations: 4 kB / 358.7 MB, free: 1.988 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.2312, allocations: 3.984 kB / 358.7 MB, free: 1.984 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002561/0.2338, allocations: 1.924 MB / 360.6 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.2338, allocations: 8.031 kB / 360.7 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005461/0.2344, allocations: 135.8 kB / 360.8 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002579/0.2346, allocations: 111.2 kB / 360.9 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.517e-05/0.2347, allocations: 24 kB / 360.9 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003512/0.2382, allocations: 5.295 MB / 366.2 MB, free: 9.82 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/0.2382, allocations: 8 kB / 366.2 MB, free: 9.812 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001716/0.24, allocations: 1.272 MB / 367.5 MB, free: 8.484 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001468/0.2401, allocations: 148.2 kB / 367.6 MB, free: 8.32 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.295e-05/0.2402, allocations: 19.98 kB / 367.7 MB, free: 8.301 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003465/0.2406, allocations: 20 kB / 367.7 MB, free: 8.281 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.767e-05/0.2407, allocations: 68.59 kB / 367.7 MB, free: 8.215 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.795e-05/0.2407, allocations: 24 kB / 367.8 MB, free: 8.191 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002698/0.241, allocations: 255.1 kB / 368 MB, free: 7.945 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.241, allocations: 0 / 368 MB, free: 7.945 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000923/0.2419, allocations: 259.4 kB / 368.3 MB, free: 7.691 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002329/0.2422, allocations: 155 kB / 368.4 MB, free: 7.527 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001519/0.2437, allocations: 1.161 MB / 369.6 MB, free: 6.316 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.2437, allocations: 0.5 kB / 369.6 MB, free: 6.316 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008301/0.2446, allocations: 0.7913 MB / 370.4 MB, free: 5.469 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005618/0.2451, allocations: 57.42 kB / 370.4 MB, free: 5.41 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002492/0.2476, allocations: 1.711 MB / 372.1 MB, free: 3.641 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004865/0.2481, allocations: 0.9187 MB / 373.1 MB, free: 2.695 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0005302/0.2487, allocations: 105.1 kB / 373.2 MB, free: 2.59 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001531/0.2488, allocations: 59.42 kB / 373.2 MB, free: 2.531 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2488, allocations: 0 / 373.2 MB, free: 2.531 MB / 302.1 MB Notification: Performance of Templates: time 0.01258/0.2614, allocations: 6.598 MB / 379.8 MB, free: 11.92 MB / 318.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1)