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.001415/0.001415, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001588/0.001588, allocations: 192.2 kB / 16.13 MB, free: 6.668 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.374/1.374, allocations: 205.1 MB / 222 MB, free: 4.957 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.001094/0.001094, allocations: 51.94 kB / 278.1 MB, free: 12.97 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2102/0.2113, allocations: 46.62 MB / 324.7 MB, free: 1.848 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005358/0.2167, allocations: 4.299 MB / 329 MB, free: 14.45 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003178/0.2199, allocations: 1.67 MB / 330.7 MB, free: 13.11 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005449/0.2205, allocations: 12.44 kB / 330.7 MB, free: 13.11 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002206/0.2227, allocations: 0.9537 MB / 331.6 MB, free: 12.41 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007474/0.2235, allocations: 212.9 kB / 331.8 MB, free: 12.24 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001495/0.225, allocations: 0.7671 MB / 332.6 MB, free: 11.68 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007082/0.2257, allocations: 0.6018 MB / 333.2 MB, free: 11.33 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007023/0.2264, allocations: 486.9 kB / 333.7 MB, free: 11.03 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003009/0.2267, allocations: 253.2 kB / 333.9 MB, free: 10.89 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003616/0.2271, allocations: 354 kB / 334.3 MB, free: 10.58 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.098e-05/0.2272, allocations: 40 kB / 334.3 MB, free: 10.54 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004817/0.2276, allocations: 255.7 kB / 334.6 MB, free: 10.29 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.109e-05/0.2277, allocations: 123.5 kB / 334.7 MB, free: 10.17 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002531/0.228, allocations: 318.3 kB / 335 MB, free: 9.859 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008127/0.2288, allocations: 0.9305 MB / 335.9 MB, free: 8.926 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2288, allocations: 0 / 335.9 MB, free: 8.926 MB / 270.1 MB Notification: Performance of FrontEnd: time 9.41e-07/0.2288, allocations: 0 / 335.9 MB, free: 8.926 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.174e-06/0.2289, allocations: 0 / 335.9 MB, free: 8.926 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.003399/0.2323, allocations: 1.257 MB / 337.2 MB, free: 7.617 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.2323, allocations: 8.031 kB / 337.2 MB, free: 7.609 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001363/0.2337, allocations: 211.9 kB / 337.4 MB, free: 7.402 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001822/0.2339, allocations: 235.4 kB / 337.6 MB, free: 7.133 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.167e-05/0.2339, allocations: 58.38 kB / 337.7 MB, free: 7.078 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.234, allocations: 76.31 kB / 337.8 MB, free: 7.004 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001304/0.2353, allocations: 0.774 MB / 338.5 MB, free: 6.211 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.389e-05/0.2354, allocations: 3.984 kB / 338.5 MB, free: 6.207 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.498e-05/0.2354, allocations: 32 kB / 338.6 MB, free: 6.176 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.731e-05/0.2355, allocations: 16 kB / 338.6 MB, free: 6.16 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001332/0.2368, allocations: 0.661 MB / 339.2 MB, free: 5.496 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003751/0.2406, allocations: 3.122 MB / 342.4 MB, free: 2.105 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002208/0.2428, allocations: 2.066 MB / 344.4 MB, free: 15.74 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006071/0.2434, allocations: 327.5 kB / 344.7 MB, free: 15.41 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000107/0.2435, allocations: 101.7 kB / 344.8 MB, free: 15.3 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.696e-05/0.2436, allocations: 47.22 kB / 344.9 MB, free: 15.24 MB / 286.1 MB Notification: Performance of pre-optimization done (n=72): time 2.244e-06/0.2436, allocations: 0 / 344.9 MB, free: 15.24 MB / 286.1 MB Notification: Performance of matching and sorting (n=72): time 0.002534/0.2461, allocations: 1.137 MB / 346 MB, free: 14.05 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.294e-05/0.2462, allocations: 115.5 kB / 346.1 MB, free: 13.92 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002544/0.2465, allocations: 270.5 kB / 346.4 MB, free: 13.65 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.949e-05/0.2465, allocations: 37.7 kB / 346.4 MB, free: 13.61 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001743/0.2467, allocations: 299.4 kB / 346.7 MB, free: 13.31 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001809/0.2469, allocations: 248.4 kB / 347 MB, free: 13.06 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002076/0.2471, allocations: 138.6 kB / 347.1 MB, free: 12.92 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.2473, allocations: 350.7 kB / 347.5 MB, free: 12.57 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004993/0.2478, allocations: 233.9 kB / 347.7 MB, free: 12.34 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005929/0.2484, allocations: 382.3 kB / 348.1 MB, free: 11.91 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/0.2495, allocations: 0.6337 MB / 348.7 MB, free: 11.23 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.2495, allocations: 4 kB / 348.7 MB, free: 11.23 MB / 286.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001524/0.251, allocations: 0.8307 MB / 349.5 MB, free: 10.38 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.251, allocations: 7.984 kB / 349.5 MB, free: 10.38 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.251, allocations: 7.938 kB / 349.5 MB, free: 10.37 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003637/0.2514, allocations: 129.7 kB / 349.7 MB, free: 10.23 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006189/0.252, allocations: 155.8 kB / 349.8 MB, free: 10.08 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002859/0.2549, allocations: 3.404 MB / 353.2 MB, free: 6.41 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004629/0.2554, allocations: 87.19 kB / 353.3 MB, free: 6.324 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-05/0.2554, allocations: 40.05 kB / 353.3 MB, free: 6.285 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.0002401/0.2557, allocations: 202.1 kB / 353.5 MB, free: 6.078 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.435e-05/0.2558, allocations: 43.44 kB / 353.6 MB, free: 6.035 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001484/0.2573, allocations: 0.7453 MB / 354.3 MB, free: 5.277 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-05/0.2573, allocations: 8 kB / 354.3 MB, free: 5.27 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.2573, allocations: 4 kB / 354.3 MB, free: 5.266 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.2573, allocations: 3.984 kB / 354.3 MB, free: 5.262 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002376/0.2597, allocations: 1.504 MB / 355.9 MB, free: 3.691 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.2597, allocations: 7.938 kB / 355.9 MB, free: 3.684 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005119/0.2602, allocations: 111.9 kB / 356 MB, free: 3.574 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002805/0.2605, allocations: 109.6 kB / 356.1 MB, free: 3.461 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.091e-05/0.2606, allocations: 15.98 kB / 356.1 MB, free: 3.445 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002491/0.2631, allocations: 3.097 MB / 359.2 MB, free: 80 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.2631, allocations: 8.156 kB / 359.2 MB, free: 72 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001904/0.265, allocations: 1.124 MB / 360.3 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.863e-05/0.2651, allocations: 124.5 kB / 360.4 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.31e-05/0.2652, allocations: 16 kB / 360.5 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004017/0.2656, allocations: 27.97 kB / 360.5 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/0.2657, allocations: 52.58 kB / 360.5 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.741e-05/0.2658, allocations: 24.06 kB / 360.6 MB, free: 14.66 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000186/0.266, allocations: 190 kB / 360.7 MB, free: 14.48 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.266, allocations: 0 / 360.7 MB, free: 14.48 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007322/0.2667, allocations: 211.5 kB / 361 MB, free: 14.27 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.0002424/0.267, allocations: 147.2 kB / 361.1 MB, free: 14.12 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001546/0.2685, allocations: 0.8873 MB / 362 MB, free: 13.21 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.2685, allocations: 4.812 kB / 362 MB, free: 13.2 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007945/0.2693, allocations: 0.5595 MB / 362.5 MB, free: 12.62 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000508/0.2698, allocations: 44.5 kB / 362.6 MB, free: 12.58 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002149/0.272, allocations: 1.397 MB / 364 MB, free: 11.15 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004563/0.2725, allocations: 0.8655 MB / 364.9 MB, free: 10.27 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003931/0.2729, allocations: 80.38 kB / 364.9 MB, free: 10.18 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/0.273, allocations: 43.42 kB / 365 MB, free: 10.14 MB / 302.1 MB Notification: Performance of SimCode: time 1.894e-06/0.273, allocations: 0 / 365 MB, free: 10.14 MB / 302.1 MB Notification: Performance of Templates: time 0.01069/0.2837, allocations: 5.821 MB / 370.8 MB, free: 4.312 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)