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.001543/0.001543, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001195/0.001195, allocations: 195.7 kB / 16.25 MB, free: 6.621 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.406/1.406, allocations: 205.1 MB / 222.1 MB, free: 4.691 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: 47.92 kB / 278.2 MB, free: 12.67 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1924/0.1936, allocations: 46.63 MB / 324.9 MB, free: 1.93 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005599/0.1993, allocations: 4.283 MB / 329.1 MB, free: 14.55 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003175/0.2025, allocations: 1.665 MB / 330.8 MB, free: 13.21 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003113/0.2028, allocations: 11.62 kB / 330.8 MB, free: 13.21 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002215/0.2051, allocations: 0.9595 MB / 331.8 MB, free: 12.51 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006947/0.2058, allocations: 219 kB / 332 MB, free: 12.34 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001522/0.2073, allocations: 0.7365 MB / 332.7 MB, free: 11.79 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007383/0.2081, allocations: 0.6305 MB / 333.4 MB, free: 11.42 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008792/0.2089, allocations: 0.5707 MB / 333.9 MB, free: 11 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003832/0.2093, allocations: 278.9 kB / 334.2 MB, free: 10.72 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003625/0.2097, allocations: 366.5 kB / 334.6 MB, free: 10.36 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.646e-05/0.2098, allocations: 56 kB / 334.6 MB, free: 10.31 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005128/0.2103, allocations: 267.8 kB / 334.9 MB, free: 10.05 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.368e-05/0.2104, allocations: 147.4 kB / 335 MB, free: 9.902 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002578/0.2107, allocations: 326.3 kB / 335.3 MB, free: 9.582 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008627/0.2116, allocations: 0.9423 MB / 336.3 MB, free: 8.637 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.2116, allocations: 0 / 336.3 MB, free: 8.637 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2116, allocations: 0 / 336.3 MB, free: 8.637 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.376e-06/0.2116, allocations: 0 / 336.3 MB, free: 8.637 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.003422/0.215, allocations: 1.26 MB / 337.5 MB, free: 7.324 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.2151, allocations: 11.89 kB / 337.6 MB, free: 7.312 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00132/0.2164, allocations: 211.9 kB / 337.8 MB, free: 7.105 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002438/0.2167, allocations: 243.4 kB / 338 MB, free: 6.828 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.436e-05/0.2167, allocations: 54.38 kB / 338.1 MB, free: 6.777 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/0.2168, allocations: 76.36 kB / 338.1 MB, free: 6.703 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001444/0.2183, allocations: 0.7701 MB / 338.9 MB, free: 5.914 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.581e-05/0.2183, allocations: 3.984 kB / 338.9 MB, free: 5.91 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.832e-05/0.2184, allocations: 28 kB / 338.9 MB, free: 5.883 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.701e-05/0.2184, allocations: 24 kB / 339 MB, free: 5.859 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001309/0.2197, allocations: 0.6649 MB / 339.6 MB, free: 5.191 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004217/0.224, allocations: 3.114 MB / 342.7 MB, free: 1.809 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002369/0.2264, allocations: 2.074 MB / 344.8 MB, free: 15.44 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005926/0.227, allocations: 319.5 kB / 345.1 MB, free: 15.11 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001051/0.2271, allocations: 97.75 kB / 345.2 MB, free: 15 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.595e-05/0.2271, allocations: 39.22 kB / 345.3 MB, free: 14.95 MB / 286.1 MB Notification: Performance of pre-optimization done (n=72): time 2.865e-06/0.2272, allocations: 0 / 345.3 MB, free: 14.95 MB / 286.1 MB Notification: Performance of matching and sorting (n=72): time 0.002541/0.2297, allocations: 1.149 MB / 346.4 MB, free: 13.75 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.259e-05/0.2298, allocations: 107.5 kB / 346.5 MB, free: 13.62 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002969/0.2301, allocations: 278.5 kB / 346.8 MB, free: 13.34 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.399e-05/0.2302, allocations: 37.7 kB / 346.8 MB, free: 13.3 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001703/0.2303, allocations: 295.4 kB / 347.1 MB, free: 13.01 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002215/0.2306, allocations: 244.4 kB / 347.3 MB, free: 12.77 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002095/0.2308, allocations: 142.6 kB / 347.5 MB, free: 12.62 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.2309, allocations: 358.7 kB / 347.8 MB, free: 12.26 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004837/0.2314, allocations: 229.9 kB / 348.1 MB, free: 12.04 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005679/0.232, allocations: 386.2 kB / 348.4 MB, free: 11.61 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/0.2331, allocations: 0.6301 MB / 349.1 MB, free: 10.93 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.2331, allocations: 0 / 349.1 MB, free: 10.93 MB / 286.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00167/0.2348, allocations: 0.8383 MB / 349.9 MB, free: 10.07 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/0.2348, allocations: 8 kB / 349.9 MB, free: 10.07 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.2348, allocations: 4 kB / 349.9 MB, free: 10.06 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004255/0.2353, allocations: 121.7 kB / 350 MB, free: 9.938 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006265/0.2359, allocations: 159.8 kB / 350.2 MB, free: 9.781 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00319/0.2391, allocations: 3.789 MB / 354 MB, free: 5.715 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005189/0.2396, allocations: 95.03 kB / 354.1 MB, free: 5.621 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.064e-05/0.2397, allocations: 32 kB / 354.1 MB, free: 5.59 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.0002938/0.24, allocations: 205.6 kB / 354.3 MB, free: 5.379 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.641e-05/0.2401, allocations: 39.53 kB / 354.3 MB, free: 5.34 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001525/0.2416, allocations: 0.7492 MB / 355.1 MB, free: 4.582 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.2417, allocations: 8 kB / 355.1 MB, free: 4.574 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.2417, allocations: 4 kB / 355.1 MB, free: 4.57 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.357e-06/0.2417, allocations: 3.984 kB / 355.1 MB, free: 4.566 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002368/0.2441, allocations: 1.493 MB / 356.6 MB, free: 3.008 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.2441, allocations: 0 / 356.6 MB, free: 3.008 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004985/0.2446, allocations: 115.8 kB / 356.7 MB, free: 2.895 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002769/0.2449, allocations: 113.6 kB / 356.8 MB, free: 2.777 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.85e-05/0.2449, allocations: 16 kB / 356.8 MB, free: 2.762 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002474/0.2474, allocations: 3.353 MB / 360.2 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2474, allocations: 0 / 360.2 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001808/0.2492, allocations: 1.12 MB / 361.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.722e-05/0.2493, allocations: 128.5 kB / 361.4 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.927e-05/0.2494, allocations: 12 kB / 361.4 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004052/0.2498, allocations: 27.98 kB / 361.5 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.2499, allocations: 48.58 kB / 361.5 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.973e-05/0.25, allocations: 27.98 kB / 361.5 MB, free: 13.72 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001796/0.2502, allocations: 186 kB / 361.7 MB, free: 13.54 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2502, allocations: 4 kB / 361.7 MB, free: 13.54 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007566/0.2509, allocations: 219.4 kB / 361.9 MB, free: 13.32 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.0002303/0.2512, allocations: 147.2 kB / 362.1 MB, free: 13.17 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001764/0.2529, allocations: 0.9069 MB / 363 MB, free: 12.24 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.253, allocations: 0 / 363 MB, free: 12.24 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00078/0.2537, allocations: 0.5564 MB / 363.6 MB, free: 11.66 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004703/0.2542, allocations: 44.44 kB / 363.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002066/0.2563, allocations: 1.407 MB / 365 MB, free: 10.18 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004177/0.2567, allocations: 0.8694 MB / 365.9 MB, free: 9.285 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004003/0.2571, allocations: 80.36 kB / 366 MB, free: 9.203 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001368/0.2573, allocations: 47.42 kB / 366 MB, free: 9.156 MB / 302.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2573, allocations: 0 / 366 MB, free: 9.156 MB / 302.1 MB Notification: Performance of Templates: time 0.01082/0.2681, allocations: 6.094 MB / 372.1 MB, free: 3.055 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)