Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.001439/0.001439, allocations: 108 kB / 15.61 MB, free: 148 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.001652/0.001652, allocations: 196.5 kB / 16.53 MB, free: 6.656 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.426/1.426, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.001221/0.001221, allocations: 55.92 kB / 278.7 MB, free: 12.33 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2097/0.2109, allocations: 46.63 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.00541/0.2164, allocations: 4.291 MB / 329.6 MB, free: 14.45 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002887/0.2193, allocations: 1.684 MB / 331.3 MB, free: 13.08 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002856/0.2196, allocations: 12.66 kB / 331.3 MB, free: 13.08 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00233/0.222, allocations: 1.02 MB / 332.3 MB, free: 12.32 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006938/0.2227, allocations: 245.7 kB / 332.6 MB, free: 12.12 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001526/0.2242, allocations: 0.7882 MB / 333.4 MB, free: 11.52 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006837/0.2249, allocations: 0.6371 MB / 334 MB, free: 11.15 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007679/0.2257, allocations: 0.5153 MB / 334.5 MB, free: 10.7 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003632/0.2261, allocations: 274.9 kB / 334.8 MB, free: 10.43 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003924/0.2265, allocations: 362.5 kB / 335.1 MB, free: 10.07 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.501e-05/0.2266, allocations: 56 kB / 335.2 MB, free: 10.02 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006098/0.2272, allocations: 271.7 kB / 335.5 MB, free: 9.754 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.2273, allocations: 143.4 kB / 335.6 MB, free: 9.613 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000272/0.2276, allocations: 334.3 kB / 335.9 MB, free: 9.285 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009694/0.2286, allocations: 0.9422 MB / 336.9 MB, free: 8.34 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2286, allocations: 0 / 336.9 MB, free: 8.34 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.2286, allocations: 0 / 336.9 MB, free: 8.34 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.224e-05/0.2286, allocations: 0 / 336.9 MB, free: 8.34 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.00358/0.2322, allocations: 1.261 MB / 338.1 MB, free: 7.027 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.2322, allocations: 15.89 kB / 338.1 MB, free: 7.012 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001384/0.2336, allocations: 207.9 kB / 338.3 MB, free: 6.809 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002123/0.2338, allocations: 235.5 kB / 338.6 MB, free: 6.539 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.218e-05/0.2339, allocations: 58.38 kB / 338.6 MB, free: 6.484 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/0.234, allocations: 76.31 kB / 338.7 MB, free: 6.41 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001321/0.2353, allocations: 0.7663 MB / 339.5 MB, free: 5.625 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.643e-05/0.2354, allocations: 8 kB / 339.5 MB, free: 5.617 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.547e-05/0.2355, allocations: 27.94 kB / 339.5 MB, free: 5.59 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.675e-05/0.2355, allocations: 20 kB / 339.5 MB, free: 5.57 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001348/0.2368, allocations: 0.6649 MB / 340.2 MB, free: 4.906 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004005/0.2408, allocations: 3.11 MB / 343.3 MB, free: 1.527 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002302/0.2432, allocations: 2.07 MB / 345.4 MB, free: 15.16 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006285/0.2438, allocations: 323.8 kB / 345.7 MB, free: 14.83 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001063/0.2439, allocations: 101.7 kB / 345.8 MB, free: 14.71 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.244, allocations: 39.22 kB / 345.8 MB, free: 14.67 MB / 286.1 MB Notification: Performance of pre-optimization done (n=72): time 2.555e-06/0.244, allocations: 0 / 345.8 MB, free: 14.67 MB / 286.1 MB Notification: Performance of matching and sorting (n=72): time 0.002553/0.2465, allocations: 1.138 MB / 347 MB, free: 13.48 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.337e-05/0.2466, allocations: 115.4 kB / 347.1 MB, free: 13.34 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002914/0.2469, allocations: 274.5 kB / 347.3 MB, free: 13.07 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.114e-05/0.247, allocations: 37.7 kB / 347.4 MB, free: 13.02 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001652/0.2471, allocations: 299.4 kB / 347.7 MB, free: 12.73 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001728/0.2473, allocations: 248.4 kB / 347.9 MB, free: 12.48 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001946/0.2475, allocations: 134.6 kB / 348 MB, free: 12.34 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.2477, allocations: 354.7 kB / 348.4 MB, free: 11.99 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005086/0.2482, allocations: 225.9 kB / 348.6 MB, free: 11.77 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006333/0.2488, allocations: 386.3 kB / 349 MB, free: 11.33 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001147/0.25, allocations: 0.6415 MB / 349.6 MB, free: 10.64 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.25, allocations: 0 / 349.6 MB, free: 10.64 MB / 286.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001614/0.2516, allocations: 0.8305 MB / 350.5 MB, free: 9.801 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.353e-05/0.2517, allocations: 12.31 kB / 350.5 MB, free: 9.789 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.2517, allocations: 15.88 kB / 350.5 MB, free: 9.773 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004008/0.2521, allocations: 121.6 kB / 350.6 MB, free: 9.648 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006531/0.2528, allocations: 163.8 kB / 350.8 MB, free: 9.488 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003263/0.256, allocations: 3.781 MB / 354.5 MB, free: 5.43 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005352/0.2566, allocations: 95.09 kB / 354.6 MB, free: 5.336 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.964e-05/0.2566, allocations: 28 kB / 354.7 MB, free: 5.309 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.0002863/0.2569, allocations: 201.7 kB / 354.9 MB, free: 5.102 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.257, allocations: 43.53 kB / 354.9 MB, free: 5.059 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001563/0.2586, allocations: 0.7452 MB / 355.7 MB, free: 4.301 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/0.2586, allocations: 12 kB / 355.7 MB, free: 4.289 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.2586, allocations: 4 kB / 355.7 MB, free: 4.285 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/0.2587, allocations: 3.984 kB / 355.7 MB, free: 4.281 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002482/0.2612, allocations: 1.493 MB / 357.2 MB, free: 2.723 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.2612, allocations: 0 / 357.2 MB, free: 2.723 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005016/0.2617, allocations: 107.9 kB / 357.3 MB, free: 2.617 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002874/0.262, allocations: 125.5 kB / 357.4 MB, free: 2.488 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.76e-05/0.262, allocations: 12 kB / 357.4 MB, free: 2.477 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002696/0.2647, allocations: 3.349 MB / 360.8 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.2648, allocations: 3.938 kB / 360.8 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002025/0.2668, allocations: 1.124 MB / 361.9 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001213/0.2669, allocations: 120.5 kB / 362 MB, free: 13.56 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.53e-05/0.267, allocations: 15.98 kB / 362 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000399/0.2674, allocations: 27.98 kB / 362 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001445/0.2676, allocations: 56.56 kB / 362.1 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.803e-05/0.2676, allocations: 20 kB / 362.1 MB, free: 13.44 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002039/0.2678, allocations: 190 kB / 362.3 MB, free: 13.25 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2678, allocations: 0 / 362.3 MB, free: 13.25 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008693/0.2687, allocations: 219.5 kB / 362.5 MB, free: 13.04 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.0002397/0.2689, allocations: 147.1 kB / 362.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001882/0.2708, allocations: 0.9069 MB / 363.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.2709, allocations: 0 / 363.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008302/0.2717, allocations: 0.5564 MB / 364.1 MB, free: 11.37 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005347/0.2722, allocations: 48.38 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.002049/0.2743, allocations: 1.121 MB / 365.3 MB, free: 10.17 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004356/0.2747, allocations: 0.8733 MB / 366.2 MB, free: 9.277 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000392/0.2751, allocations: 76.36 kB / 366.2 MB, free: 9.199 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.2753, allocations: 47.42 kB / 366.3 MB, free: 9.152 MB / 302.1 MB Notification: Performance of SimCode: time 7.01e-07/0.2753, allocations: 4 kB / 366.3 MB, free: 9.148 MB / 302.1 MB Notification: Performance of Templates: time 0.01131/0.2866, allocations: 6.137 MB / 372.4 MB, free: 3.004 MB / 302.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile (rm -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1)