Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.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.CuboidSections,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 191.5 kB / 16.53 MB, free: 6.391 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.314/1.314, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.001204/0.001204, allocations: 47.92 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1794/0.1806, allocations: 46.64 MB / 325.3 MB, free: 1.852 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005064/0.1857, allocations: 4.275 MB / 329.6 MB, free: 14.46 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002808/0.1886, allocations: 1.68 MB / 331.3 MB, free: 13.1 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004897/0.1891, allocations: 16.28 kB / 331.3 MB, free: 13.1 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002535/0.1917, allocations: 1.016 MB / 332.3 MB, free: 12.34 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009093/0.1926, allocations: 254.5 kB / 332.6 MB, free: 12.13 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001519/0.1941, allocations: 0.7947 MB / 333.4 MB, free: 11.53 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005895/0.1947, allocations: 0.6376 MB / 334 MB, free: 11.15 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007285/0.1955, allocations: 0.5121 MB / 334.5 MB, free: 10.69 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003369/0.1958, allocations: 270.9 kB / 334.8 MB, free: 10.43 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004004/0.1962, allocations: 366.5 kB / 335.1 MB, free: 10.07 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.485e-05/0.1963, allocations: 56 kB / 335.2 MB, free: 10.01 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004957/0.1968, allocations: 271.7 kB / 335.5 MB, free: 9.746 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.756e-05/0.1969, allocations: 131.5 kB / 335.6 MB, free: 9.617 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002614/0.1972, allocations: 338.3 kB / 335.9 MB, free: 9.285 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009432/0.1981, allocations: 0.9422 MB / 336.9 MB, free: 8.34 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.1982, allocations: 8 kB / 336.9 MB, free: 8.332 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1982, allocations: 0 / 336.9 MB, free: 8.332 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.152e-05/0.1982, allocations: 0 / 336.9 MB, free: 8.332 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.003549/0.2017, allocations: 1.253 MB / 338.1 MB, free: 7.027 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.2018, allocations: 15.89 kB / 338.1 MB, free: 7.012 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001343/0.2031, allocations: 207.9 kB / 338.3 MB, free: 6.809 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002123/0.2034, allocations: 239.5 kB / 338.6 MB, free: 6.535 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.497e-05/0.2034, allocations: 54.38 kB / 338.6 MB, free: 6.484 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.2035, allocations: 72.38 kB / 338.7 MB, free: 6.414 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001282/0.2048, allocations: 0.7779 MB / 339.5 MB, free: 5.617 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.865e-05/0.2049, allocations: 7.984 kB / 339.5 MB, free: 5.609 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.672e-05/0.2049, allocations: 28 kB / 339.5 MB, free: 5.582 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.888e-05/0.205, allocations: 23.98 kB / 339.5 MB, free: 5.559 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001367/0.2063, allocations: 0.6649 MB / 340.2 MB, free: 4.895 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003948/0.2103, allocations: 3.103 MB / 343.3 MB, free: 1.523 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002187/0.2125, allocations: 2.082 MB / 345.4 MB, free: 15.14 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005969/0.2131, allocations: 315.5 kB / 345.7 MB, free: 14.82 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.899e-05/0.2132, allocations: 97.75 kB / 345.8 MB, free: 14.71 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.2133, allocations: 43.22 kB / 345.8 MB, free: 14.66 MB / 286.1 MB Notification: Performance of pre-optimization done (n=72): time 2.224e-06/0.2133, allocations: 0 / 345.8 MB, free: 14.66 MB / 286.1 MB Notification: Performance of matching and sorting (n=72): time 0.002551/0.2158, allocations: 1.138 MB / 347 MB, free: 13.47 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.453e-05/0.2159, allocations: 115.5 kB / 347.1 MB, free: 13.34 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000271/0.2162, allocations: 274.5 kB / 347.3 MB, free: 13.06 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.028e-05/0.2162, allocations: 37.7 kB / 347.4 MB, free: 13.02 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/0.2164, allocations: 295.4 kB / 347.7 MB, free: 12.72 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001635/0.2166, allocations: 244.4 kB / 347.9 MB, free: 12.48 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001989/0.2168, allocations: 142.5 kB / 348 MB, free: 12.34 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.2169, allocations: 354.7 kB / 348.4 MB, free: 11.98 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004981/0.2174, allocations: 233.9 kB / 348.6 MB, free: 11.75 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006077/0.218, allocations: 386.2 kB / 349 MB, free: 11.32 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001135/0.2192, allocations: 0.6376 MB / 349.6 MB, free: 10.63 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.2192, allocations: 0 / 349.6 MB, free: 10.63 MB / 286.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001562/0.2208, allocations: 0.8306 MB / 350.5 MB, free: 9.789 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.2208, allocations: 12.2 kB / 350.5 MB, free: 9.777 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.2208, allocations: 4 kB / 350.5 MB, free: 9.773 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003796/0.2212, allocations: 125.7 kB / 350.6 MB, free: 9.645 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006277/0.2218, allocations: 155.7 kB / 350.8 MB, free: 9.492 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003233/0.2251, allocations: 3.789 MB / 354.5 MB, free: 5.426 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000511/0.2256, allocations: 95.16 kB / 354.6 MB, free: 5.332 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.558e-05/0.2257, allocations: 35.98 kB / 354.7 MB, free: 5.297 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (86): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,7,100.0%), (1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002472/0.2259, allocations: 201.5 kB / 354.9 MB, free: 5.09 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.935e-05/0.226, allocations: 39.53 kB / 354.9 MB, free: 5.051 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00156/0.2276, allocations: 0.7492 MB / 355.7 MB, free: 4.289 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.2276, allocations: 8 kB / 355.7 MB, free: 4.281 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.2276, allocations: 0 / 355.7 MB, free: 4.281 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.535e-05/0.2276, allocations: 7.984 kB / 355.7 MB, free: 4.273 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002477/0.2301, allocations: 1.489 MB / 357.2 MB, free: 2.719 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/0.2301, allocations: 4 kB / 357.2 MB, free: 2.715 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005216/0.2307, allocations: 111.8 kB / 357.3 MB, free: 2.605 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002896/0.231, allocations: 113.6 kB / 357.4 MB, free: 2.488 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.21e-05/0.231, allocations: 19.98 kB / 357.4 MB, free: 2.469 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002639/0.2337, allocations: 3.349 MB / 360.8 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.2337, allocations: 8.016 kB / 360.8 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001934/0.2356, allocations: 1.109 MB / 361.9 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.2357, allocations: 132.5 kB / 362 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.348e-05/0.2358, allocations: 12 kB / 362 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004142/0.2362, allocations: 27.97 kB / 362 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.2364, allocations: 52.66 kB / 362.1 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.792e-05/0.2364, allocations: 23.98 kB / 362.1 MB, free: 13.43 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001862/0.2366, allocations: 194 kB / 362.3 MB, free: 13.25 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2366, allocations: 3.938 kB / 362.3 MB, free: 13.24 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007923/0.2374, allocations: 215.4 kB / 362.5 MB, free: 13.03 MB / 302.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 (60): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002448/0.2377, allocations: 143.2 kB / 362.7 MB, free: 12.88 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001917/0.2396, allocations: 0.9075 MB / 363.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2396, allocations: 3.938 kB / 363.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000817/0.2404, allocations: 0.5596 MB / 364.1 MB, free: 11.36 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004467/0.2409, allocations: 40.48 kB / 364.2 MB, free: 11.32 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002109/0.243, allocations: 1.125 MB / 365.3 MB, free: 10.16 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004432/0.2435, allocations: 0.8656 MB / 366.2 MB, free: 9.277 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004021/0.2439, allocations: 84.3 kB / 366.2 MB, free: 9.191 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.244, allocations: 47.42 kB / 366.3 MB, free: 9.145 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.244, allocations: 0 / 366.3 MB, free: 9.145 MB / 302.1 MB Notification: Performance of Templates: time 0.01154/0.2556, allocations: 6.142 MB / 372.4 MB, free: 2.996 MB / 302.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1)