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.000811/0.000811, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006515/0.006516, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.538/1.538, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.0004214/0.0004214, allocations: 10.81 kB / 279.5 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.2093, allocations: 47.58 MB / 327 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.004036/0.2134, allocations: 3.86 MB / 330.9 MB, free: 14.35 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003134/0.2165, allocations: 1.655 MB / 332.6 MB, free: 13.02 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005096/0.2171, allocations: 11.88 kB / 332.6 MB, free: 13.02 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007798/0.2179, allocations: 230.4 kB / 332.8 MB, free: 12.88 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000898/0.2188, allocations: 208.2 kB / 333 MB, free: 12.71 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001755/0.2206, allocations: 0.7547 MB / 333.8 MB, free: 12.15 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001234/0.2218, allocations: 0.609 MB / 334.4 MB, free: 11.8 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001844/0.2237, allocations: 0.9214 MB / 335.3 MB, free: 11.08 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000516/0.2242, allocations: 231 kB / 335.5 MB, free: 10.86 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004713/0.2247, allocations: 326.5 kB / 335.8 MB, free: 10.54 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.93e-05/0.2248, allocations: 28 kB / 335.9 MB, free: 10.51 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000574/0.2253, allocations: 239.7 kB / 336.1 MB, free: 10.27 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.945e-05/0.2254, allocations: 107.5 kB / 336.2 MB, free: 10.17 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002953/0.2257, allocations: 316 kB / 336.5 MB, free: 9.852 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00109/0.2268, allocations: 0.9044 MB / 337.4 MB, free: 8.945 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.2269, allocations: 0 / 337.4 MB, free: 8.945 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.2269, allocations: 3.938 kB / 337.4 MB, free: 8.941 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.875e-05/0.2269, allocations: 0 / 337.4 MB, free: 8.941 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.003547/0.2305, allocations: 1.147 MB / 338.6 MB, free: 7.742 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.2305, allocations: 8.031 kB / 338.6 MB, free: 7.734 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001442/0.232, allocations: 211.9 kB / 338.8 MB, free: 7.527 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002178/0.2322, allocations: 243.4 kB / 339 MB, free: 7.25 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.672e-05/0.2322, allocations: 54.38 kB / 339.1 MB, free: 7.199 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001245/0.2324, allocations: 72.38 kB / 339.1 MB, free: 7.129 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001386/0.2338, allocations: 0.7858 MB / 339.9 MB, free: 6.324 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.444e-05/0.2338, allocations: 4 kB / 339.9 MB, free: 6.32 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.665e-05/0.2339, allocations: 27.94 kB / 340 MB, free: 6.293 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.555e-05/0.2339, allocations: 20 kB / 340 MB, free: 6.273 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001358/0.2353, allocations: 0.6884 MB / 340.7 MB, free: 5.582 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003968/0.2392, allocations: 3.126 MB / 343.8 MB, free: 2.191 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002285/0.2415, allocations: 2.078 MB / 345.9 MB, free: 15.82 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006441/0.2422, allocations: 335.5 kB / 346.2 MB, free: 15.48 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.493e-05/0.2423, allocations: 97.73 kB / 346.3 MB, free: 15.37 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.2423, allocations: 43.22 kB / 346.3 MB, free: 15.32 MB / 286.1 MB Notification: Performance of pre-optimization done (n=72): time 2.284e-06/0.2424, allocations: 0 / 346.3 MB, free: 15.32 MB / 286.1 MB Notification: Performance of matching and sorting (n=72): time 0.002628/0.245, allocations: 1.184 MB / 347.5 MB, free: 14.08 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.244e-05/0.245, allocations: 107.5 kB / 347.6 MB, free: 13.95 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000263/0.2453, allocations: 274.5 kB / 347.9 MB, free: 13.68 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.642e-05/0.2454, allocations: 37.7 kB / 347.9 MB, free: 13.64 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001581/0.2455, allocations: 295.4 kB / 348.2 MB, free: 13.34 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001637/0.2457, allocations: 248.4 kB / 348.5 MB, free: 13.1 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.294e-05/0.2458, allocations: 65.69 kB / 348.5 MB, free: 13.03 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.2459, allocations: 354.7 kB / 348.9 MB, free: 12.67 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005148/0.2465, allocations: 241.9 kB / 349.1 MB, free: 12.44 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006075/0.2471, allocations: 402.2 kB / 349.5 MB, free: 11.99 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/0.2482, allocations: 0.6457 MB / 350.1 MB, free: 11.3 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.2483, allocations: 4 kB / 350.1 MB, free: 11.29 MB / 286.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001581/0.2498, allocations: 0.8617 MB / 351 MB, free: 10.41 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.2499, allocations: 4 kB / 351 MB, free: 10.41 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.2499, allocations: 4 kB / 351 MB, free: 10.41 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003859/0.2503, allocations: 129.7 kB / 351.1 MB, free: 10.27 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006539/0.2509, allocations: 167.7 kB / 351.3 MB, free: 10.11 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002913/0.2539, allocations: 3.416 MB / 354.7 MB, free: 6.426 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005269/0.2544, allocations: 87.2 kB / 354.8 MB, free: 6.34 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.123e-05/0.2545, allocations: 31.98 kB / 354.8 MB, free: 6.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.0002728/0.2547, allocations: 209.6 kB / 355 MB, free: 6.094 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.346e-05/0.2548, allocations: 43.44 kB / 355.1 MB, free: 6.051 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001653/0.2565, allocations: 0.7688 MB / 355.9 MB, free: 5.27 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.2565, allocations: 8 kB / 355.9 MB, free: 5.262 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.2565, allocations: 7.938 kB / 355.9 MB, free: 5.254 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.2566, allocations: 3.984 kB / 355.9 MB, free: 5.25 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002535/0.2591, allocations: 1.524 MB / 357.4 MB, free: 3.66 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.2591, allocations: 3.984 kB / 357.4 MB, free: 3.656 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005104/0.2596, allocations: 119.8 kB / 357.5 MB, free: 3.539 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003123/0.26, allocations: 109.6 kB / 357.6 MB, free: 3.426 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.497e-05/0.26, allocations: 12 kB / 357.6 MB, free: 3.414 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002396/0.2624, allocations: 3.113 MB / 360.7 MB, free: 32 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2624, allocations: 0 / 360.7 MB, free: 32 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001938/0.2644, allocations: 1.159 MB / 361.9 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.2645, allocations: 120.5 kB / 362 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.638e-05/0.2645, allocations: 16 kB / 362 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004068/0.265, allocations: 36.05 kB / 362.1 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.2651, allocations: 52.58 kB / 362.1 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.588e-05/0.2651, allocations: 19.98 kB / 362.1 MB, free: 14.59 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000181/0.2653, allocations: 190 kB / 362.3 MB, free: 14.41 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.2653, allocations: 0 / 362.3 MB, free: 14.41 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007971/0.2661, allocations: 215.5 kB / 362.5 MB, free: 14.2 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.0002181/0.2663, allocations: 151 kB / 362.7 MB, free: 14.04 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001586/0.2679, allocations: 0.9108 MB / 363.6 MB, free: 13.1 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.268, allocations: 3.938 kB / 363.6 MB, free: 13.1 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007821/0.2687, allocations: 0.5682 MB / 364.2 MB, free: 12.51 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004679/0.2692, allocations: 36.55 kB / 364.2 MB, free: 12.47 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002066/0.2713, allocations: 1.446 MB / 365.7 MB, free: 11 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003881/0.2717, allocations: 0.8577 MB / 366.5 MB, free: 10.12 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004132/0.2721, allocations: 88.34 kB / 366.6 MB, free: 10.03 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/0.2723, allocations: 43.42 kB / 366.6 MB, free: 9.988 MB / 302.1 MB Notification: Performance of SimCode: time 3.7e-07/0.2723, allocations: 0 / 366.6 MB, free: 9.988 MB / 302.1 MB Notification: Performance of Templates: time 0.01076/0.283, allocations: 5.734 MB / 372.4 MB, free: 4.25 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)