Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.0009855/0.0009856, allocations: 95.73 kB / 16.3 MB, free: 5.996 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.0009657/0.0009658, allocations: 184.7 kB / 17.2 MB, free: 5.914 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.489/1.489, allocations: 205.4 MB / 223.4 MB, free: 5.535 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.0004499/0.00045, allocations: 8 kB / 280.1 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2274/0.2278, allocations: 47.58 MB / 327.7 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.003669/0.2315, allocations: 3.415 MB / 331.1 MB, free: 14.78 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002404/0.234, allocations: 1.54 MB / 332.7 MB, free: 13.55 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001717/0.2341, allocations: 12 kB / 332.7 MB, free: 13.55 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004079/0.2346, allocations: 172.1 kB / 332.8 MB, free: 13.43 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004975/0.2351, allocations: 232.3 kB / 333.1 MB, free: 13.24 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001281/0.2364, allocations: 0.6409 MB / 333.7 MB, free: 12.76 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000503/0.2369, allocations: 444.4 kB / 334.1 MB, free: 12.49 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001397/0.2383, allocations: 0.8286 MB / 335 MB, free: 11.88 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000337/0.2386, allocations: 232.9 kB / 335.2 MB, free: 11.76 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003458/0.239, allocations: 291.6 kB / 335.5 MB, free: 11.58 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.277e-05/0.239, allocations: 27.97 kB / 335.5 MB, free: 11.58 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004746/0.2395, allocations: 218.4 kB / 335.7 MB, free: 11.46 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.2396, allocations: 103.6 kB / 335.8 MB, free: 11.36 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001481/0.2398, allocations: 133.4 kB / 336 MB, free: 11.22 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006435/0.2405, allocations: 0.6947 MB / 336.7 MB, free: 10.52 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.993e-06/0.2405, allocations: 0 / 336.7 MB, free: 10.52 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2405, allocations: 4 kB / 336.7 MB, free: 10.52 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.243e-06/0.2405, allocations: 0 / 336.7 MB, free: 10.52 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.003388/0.2439, allocations: 1.151 MB / 337.8 MB, free: 9.316 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.2439, allocations: 8.031 kB / 337.8 MB, free: 9.309 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001331/0.2453, allocations: 210.9 kB / 338 MB, free: 9.102 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002805/0.2455, allocations: 238.2 kB / 338.3 MB, free: 8.828 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.327e-05/0.2456, allocations: 61.94 kB / 338.3 MB, free: 8.77 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.2457, allocations: 72 kB / 338.4 MB, free: 8.699 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001259/0.247, allocations: 0.7698 MB / 339.2 MB, free: 7.91 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.183e-05/0.247, allocations: 0 / 339.2 MB, free: 7.91 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.572e-05/0.2471, allocations: 32 kB / 339.2 MB, free: 7.879 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.776e-05/0.2471, allocations: 24 kB / 339.2 MB, free: 7.855 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001328/0.2485, allocations: 0.6805 MB / 339.9 MB, free: 7.172 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004063/0.2525, allocations: 3.122 MB / 343 MB, free: 3.781 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002226/0.2548, allocations: 2.089 MB / 345.1 MB, free: 1.395 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.796e-05/0.2549, allocations: 101.7 kB / 345.2 MB, free: 1.277 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.853e-05/0.2549, allocations: 39.22 kB / 345.2 MB, free: 1.23 MB / 270.1 MB Notification: Performance of pre-optimization done (n=72): time 1.914e-06/0.255, allocations: 0 / 345.2 MB, free: 1.23 MB / 270.1 MB Notification: Performance of matching and sorting (n=72): time 0.00247/0.2574, allocations: 1.147 MB / 346.4 MB, free: 36 kB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.338e-05/0.2575, allocations: 111.5 kB / 346.5 MB, free: 15.9 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003502/0.2579, allocations: 274.5 kB / 346.8 MB, free: 15.62 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.487e-05/0.2579, allocations: 37.7 kB / 346.8 MB, free: 15.58 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000171/0.2581, allocations: 295.4 kB / 347.1 MB, free: 15.29 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001655/0.2583, allocations: 244.5 kB / 347.3 MB, free: 15.05 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.251e-05/0.2583, allocations: 16 kB / 347.3 MB, free: 15.03 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.2585, allocations: 354.8 kB / 347.7 MB, free: 14.68 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004781/0.2589, allocations: 233.9 kB / 347.9 MB, free: 14.45 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005995/0.2596, allocations: 398.2 kB / 348.3 MB, free: 14 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005557/0.2601, allocations: 290.9 kB / 348.6 MB, free: 13.72 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.2601, allocations: 0 / 348.6 MB, free: 13.72 MB / 286.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001562/0.2617, allocations: 0.8423 MB / 349.4 MB, free: 12.86 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.2617, allocations: 12.16 kB / 349.4 MB, free: 12.85 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.2618, allocations: 4 kB / 349.5 MB, free: 12.85 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003443/0.2621, allocations: 113.6 kB / 349.6 MB, free: 12.73 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006294/0.2627, allocations: 171.7 kB / 349.7 MB, free: 12.56 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002699/0.2655, allocations: 3.167 MB / 352.9 MB, free: 9.129 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004901/0.266, allocations: 95.16 kB / 353 MB, free: 9.035 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.944e-05/0.266, allocations: 31.98 kB / 353 MB, free: 9.004 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 (88): * Single equations (assignments): 86 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002655/0.2663, allocations: 201.7 kB / 353.2 MB, free: 8.797 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.191e-05/0.2664, allocations: 47.52 kB / 353.3 MB, free: 8.75 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001525/0.2679, allocations: 0.7531 MB / 354 MB, free: 7.984 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.615e-05/0.2679, allocations: 11.98 kB / 354 MB, free: 7.973 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.268, allocations: 4.219 kB / 354 MB, free: 7.969 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.268, allocations: 3.984 kB / 354 MB, free: 7.965 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002314/0.2703, allocations: 1.445 MB / 355.5 MB, free: 6.457 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.2703, allocations: 3.938 kB / 355.5 MB, free: 6.453 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005009/0.2708, allocations: 119.9 kB / 355.6 MB, free: 6.336 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002551/0.2711, allocations: 106.6 kB / 355.7 MB, free: 6.227 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.41e-05/0.2711, allocations: 15.95 kB / 355.7 MB, free: 6.211 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002418/0.2735, allocations: 3.16 MB / 358.9 MB, free: 2.781 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.2736, allocations: 0 / 358.9 MB, free: 2.781 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001839/0.2754, allocations: 1.161 MB / 360 MB, free: 1.594 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.2755, allocations: 132.4 kB / 360.2 MB, free: 1.445 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.913e-05/0.2756, allocations: 16 kB / 360.2 MB, free: 1.43 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000381/0.276, allocations: 31.97 kB / 360.2 MB, free: 1.398 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.789e-05/0.2761, allocations: 60.58 kB / 360.3 MB, free: 1.34 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.622e-05/0.2762, allocations: 23.95 kB / 360.3 MB, free: 1.316 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001737/0.2763, allocations: 190 kB / 360.5 MB, free: 1.133 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2763, allocations: 0 / 360.5 MB, free: 1.133 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006837/0.277, allocations: 211.5 kB / 360.7 MB, free: 0.9258 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002212/0.2773, allocations: 143.1 kB / 360.8 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001468/0.2787, allocations: 0.8914 MB / 361.7 MB, free: 15.86 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.2788, allocations: 0 / 361.7 MB, free: 15.86 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007567/0.2795, allocations: 0.5759 MB / 362.3 MB, free: 15.26 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/0.2798, allocations: 24.56 kB / 362.3 MB, free: 15.23 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001905/0.2818, allocations: 1.375 MB / 363.7 MB, free: 13.83 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003832/0.2822, allocations: 0.8772 MB / 364.6 MB, free: 12.93 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003866/0.2826, allocations: 84.36 kB / 364.7 MB, free: 12.84 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/0.2827, allocations: 43.42 kB / 364.7 MB, free: 12.8 MB / 302.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2827, allocations: 0 / 364.7 MB, free: 12.8 MB / 302.1 MB Notification: Performance of Templates: time 0.009478/0.2922, allocations: 5.496 MB / 370.2 MB, free: 7.297 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) Environment - environmentSimulation: