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.001011/0.001011, allocations: 112.4 kB / 17.06 MB, free: 6.004 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.001199/0.001198, allocations: 200 kB / 18 MB, free: 5.082 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.396/1.396, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.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.001163/0.001163, allocations: 47.94 kB / 327.9 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08104/0.08221, allocations: 46.62 MB / 374.5 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005278/0.08753, allocations: 4.285 MB / 378.8 MB, free: 260 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1656/0.2532, allocations: 1.679 MB / 380.5 MB, free: 9.664 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002127/0.2534, allocations: 11.75 kB / 380.5 MB, free: 9.664 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001944/0.2554, allocations: 1.018 MB / 381.5 MB, free: 9.527 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004684/0.2559, allocations: 255.7 kB / 381.7 MB, free: 9.43 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001342/0.2572, allocations: 0.8007 MB / 382.5 MB, free: 9.293 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006274/0.2579, allocations: 0.6357 MB / 383.2 MB, free: 9.141 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006856/0.2586, allocations: 0.5095 MB / 383.7 MB, free: 9.086 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002972/0.2589, allocations: 275.2 kB / 383.9 MB, free: 8.957 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003665/0.2592, allocations: 364.7 kB / 384.3 MB, free: 8.797 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.96e-05/0.2593, allocations: 55.72 kB / 384.4 MB, free: 8.797 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004719/0.2598, allocations: 269.7 kB / 384.6 MB, free: 8.727 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.431e-05/0.2599, allocations: 139.1 kB / 384.8 MB, free: 8.641 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002153/0.2601, allocations: 331.2 kB / 385.1 MB, free: 8.441 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000938/0.2611, allocations: 0.9538 MB / 386 MB, free: 8.105 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2611, allocations: 0.7031 kB / 386 MB, free: 8.105 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2611, allocations: 0 / 386 MB, free: 8.105 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.113e-05/0.2611, allocations: 1.344 kB / 386 MB, free: 8.105 MB / 318.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.00339/0.2645, allocations: 1.252 MB / 387.3 MB, free: 7.387 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.2646, allocations: 13.17 kB / 387.3 MB, free: 7.383 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001465/0.266, allocations: 205.4 kB / 387.5 MB, free: 7.328 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.2662, allocations: 248 kB / 387.7 MB, free: 7.07 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.846e-05/0.2662, allocations: 52.5 kB / 387.8 MB, free: 7.047 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/0.2663, allocations: 84.72 kB / 387.9 MB, free: 7.012 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001282/0.2676, allocations: 0.7644 MB / 388.6 MB, free: 6.684 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.53e-05/0.2677, allocations: 1.797 kB / 388.6 MB, free: 6.684 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.242e-05/0.2677, allocations: 30.72 kB / 388.7 MB, free: 6.66 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.614e-05/0.2678, allocations: 18.42 kB / 388.7 MB, free: 6.66 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001314/0.2691, allocations: 0.6751 MB / 389.4 MB, free: 6.43 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003476/0.2726, allocations: 3.084 MB / 392.5 MB, free: 4.195 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001908/0.2745, allocations: 2.088 MB / 394.5 MB, free: 2.332 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006116/0.2751, allocations: 321.8 kB / 394.9 MB, free: 2.211 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.038e-05/0.2752, allocations: 95.28 kB / 394.9 MB, free: 2.117 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.2752, allocations: 40.27 kB / 395 MB, free: 2.074 MB / 318.1 MB Notification: Performance of pre-optimization done (n=72): time 1.994e-06/0.2753, allocations: 0 / 395 MB, free: 2.074 MB / 318.1 MB Notification: Performance of matching and sorting (n=72): time 0.002459/0.2777, allocations: 1.14 MB / 396.1 MB, free: 1.52 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.2778, allocations: 111.8 kB / 396.2 MB, free: 1.395 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000273/0.278, allocations: 278.6 kB / 396.5 MB, free: 1.227 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.2781, allocations: 36.11 kB / 396.5 MB, free: 1.188 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.2782, allocations: 299.1 kB / 396.8 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000132/0.2784, allocations: 251.2 kB / 397.1 MB, free: 0.75 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00019/0.2786, allocations: 139.4 kB / 397.2 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.52e-05/0.2786, allocations: 349.9 kB / 397.6 MB, free: 352 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004919/0.2791, allocations: 235.2 kB / 397.8 MB, free: 272 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005726/0.2797, allocations: 390.4 kB / 398.2 MB, free: 12 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001132/0.2809, allocations: 0.6338 MB / 398.8 MB, free: 15.62 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.2809, allocations: 0 / 398.8 MB, free: 15.62 MB / 334.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001622/0.2825, allocations: 0.8328 MB / 399.6 MB, free: 15.27 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.2825, allocations: 6.891 kB / 399.6 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.2825, allocations: 4.25 kB / 399.6 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004083/0.283, allocations: 126.9 kB / 399.8 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006289/0.2836, allocations: 162.7 kB / 399.9 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003121/0.2867, allocations: 3.782 MB / 403.7 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005535/0.2873, allocations: 85.59 kB / 403.8 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.763e-05/0.2874, allocations: 33.28 kB / 403.8 MB, free: 11.67 MB / 334.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.0003193/0.2877, allocations: 200 kB / 404 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.2878, allocations: 39.53 kB / 404.1 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00172/0.2895, allocations: 0.7424 MB / 404.8 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/0.2896, allocations: 8.641 kB / 404.8 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.2896, allocations: 3.562 kB / 404.8 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/0.2896, allocations: 3.141 kB / 404.8 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002747/0.2924, allocations: 1.499 MB / 406.3 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.2924, allocations: 0.7031 kB / 406.3 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000506/0.2929, allocations: 115.4 kB / 406.4 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002995/0.2932, allocations: 110.5 kB / 406.5 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.181e-05/0.2932, allocations: 14.94 kB / 406.6 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002702/0.296, allocations: 3.34 MB / 409.9 MB, free: 7.156 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.296, allocations: 5.25 kB / 409.9 MB, free: 7.152 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001975/0.298, allocations: 1.133 MB / 411 MB, free: 6.465 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001373/0.2981, allocations: 121.9 kB / 411.2 MB, free: 6.34 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.992e-05/0.2982, allocations: 19.92 kB / 411.2 MB, free: 6.324 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003924/0.2986, allocations: 25.2 kB / 411.2 MB, free: 6.312 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001296/0.2987, allocations: 56.89 kB / 411.3 MB, free: 6.277 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.679e-05/0.2988, allocations: 17.38 kB / 411.3 MB, free: 6.273 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001941/0.299, allocations: 192.5 kB / 411.5 MB, free: 6.145 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.202e-06/0.299, allocations: 4.062 kB / 411.5 MB, free: 6.141 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008877/0.2999, allocations: 215.8 kB / 411.7 MB, free: 6.086 MB / 334.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.0002607/0.3001, allocations: 141.5 kB / 411.8 MB, free: 5.973 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001676/0.3018, allocations: 0.8829 MB / 412.7 MB, free: 5.438 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.3018, allocations: 0 / 412.7 MB, free: 5.438 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008099/0.3026, allocations: 0.5615 MB / 413.3 MB, free: 5.039 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000495/0.3031, allocations: 43.97 kB / 413.3 MB, free: 5.008 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001936/0.3051, allocations: 1.116 MB / 414.4 MB, free: 4.305 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003834/0.3055, allocations: 0.859 MB / 415.3 MB, free: 3.531 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003116/0.3058, allocations: 82.86 kB / 415.4 MB, free: 3.484 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/0.3059, allocations: 42.08 kB / 415.4 MB, free: 3.473 MB / 334.1 MB Notification: Performance of SimCode: time 2e-07/0.306, allocations: 0 / 415.4 MB, free: 3.473 MB / 334.1 MB Notification: Performance of Templates: time 0.01139/0.3173, allocations: 6.359 MB / 421.8 MB, free: 14.61 MB / 350.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile (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)