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.001788/0.001788, allocations: 116.2 kB / 17.07 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.00206/0.00206, allocations: 190.9 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.433/1.433, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.001224/0.001224, allocations: 55.92 kB / 327.9 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08908/0.09032, 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.005185/0.09556, allocations: 4.277 MB / 378.8 MB, free: 268 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1765/0.2721, allocations: 1.681 MB / 380.4 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001875/0.2723, allocations: 12.56 kB / 380.5 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001969/0.2744, allocations: 1.028 MB / 381.5 MB, free: 9.555 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004702/0.2749, allocations: 251.6 kB / 381.7 MB, free: 9.457 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001386/0.2763, allocations: 0.7905 MB / 382.5 MB, free: 9.324 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006543/0.2769, allocations: 0.6431 MB / 383.2 MB, free: 9.168 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006659/0.2776, allocations: 0.516 MB / 383.7 MB, free: 9.082 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002876/0.2779, allocations: 275.4 kB / 384 MB, free: 8.957 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000359/0.2783, allocations: 360.6 kB / 384.3 MB, free: 8.801 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.268e-05/0.2784, allocations: 56.44 kB / 384.4 MB, free: 8.801 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000469/0.2788, allocations: 268.3 kB / 384.6 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.857e-05/0.2789, allocations: 139.7 kB / 384.8 MB, free: 8.641 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002281/0.2792, allocations: 335.8 kB / 385.1 MB, free: 8.438 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009508/0.2801, allocations: 0.9523 MB / 386 MB, free: 8.105 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.279e-06/0.2801, allocations: 0 / 386 MB, free: 8.105 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.2802, allocations: 0 / 386 MB, free: 8.105 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.2802, allocations: 1.438 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.003306/0.2835, allocations: 1.255 MB / 387.3 MB, free: 7.383 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.2835, allocations: 12.86 kB / 387.3 MB, free: 7.379 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001332/0.2849, allocations: 205.8 kB / 387.5 MB, free: 7.324 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001802/0.2851, allocations: 236.6 kB / 387.7 MB, free: 7.078 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.512e-05/0.2851, allocations: 56.09 kB / 387.8 MB, free: 7.051 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001195/0.2852, allocations: 80.22 kB / 387.9 MB, free: 7.02 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001297/0.2865, allocations: 0.7739 MB / 388.6 MB, free: 6.684 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.53e-05/0.2866, allocations: 1.281 kB / 388.6 MB, free: 6.684 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.977e-05/0.2866, allocations: 29.94 kB / 388.7 MB, free: 6.66 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.682e-05/0.2867, allocations: 22.03 kB / 388.7 MB, free: 6.656 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001278/0.2879, allocations: 0.6699 MB / 389.4 MB, free: 6.43 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003514/0.2915, allocations: 3.086 MB / 392.5 MB, free: 4.191 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001864/0.2933, allocations: 2.085 MB / 394.5 MB, free: 2.336 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006758/0.294, allocations: 324.7 kB / 394.9 MB, free: 2.211 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001183/0.2942, allocations: 102.8 kB / 395 MB, free: 2.113 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.2942, allocations: 38 kB / 395 MB, free: 2.07 MB / 318.1 MB Notification: Performance of pre-optimization done (n=72): time 2.976e-06/0.2942, allocations: 1.156 kB / 395 MB, free: 2.07 MB / 318.1 MB Notification: Performance of matching and sorting (n=72): time 0.002792/0.297, allocations: 1.141 MB / 396.1 MB, free: 1.516 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/0.2971, allocations: 110.8 kB / 396.2 MB, free: 1.391 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002958/0.2974, allocations: 274.5 kB / 396.5 MB, free: 1.227 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.76e-05/0.2974, allocations: 36.83 kB / 396.5 MB, free: 1.188 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001382/0.2976, allocations: 297.2 kB / 396.8 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001463/0.2977, allocations: 249.1 kB / 397.1 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002015/0.2979, allocations: 140.7 kB / 397.2 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.105e-05/0.298, allocations: 352.8 kB / 397.6 MB, free: 352 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004773/0.2985, allocations: 232.2 kB / 397.8 MB, free: 272 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005367/0.299, allocations: 385.8 kB / 398.2 MB, free: 16 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/0.3002, allocations: 0.6414 MB / 398.8 MB, free: 15.62 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.3002, allocations: 0 / 398.8 MB, free: 15.62 MB / 334.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001542/0.3017, allocations: 0.8291 MB / 399.6 MB, free: 15.27 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.3018, allocations: 7.578 kB / 399.6 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.3018, allocations: 5.75 kB / 399.6 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000392/0.3022, allocations: 122.5 kB / 399.8 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006192/0.3028, allocations: 163.4 kB / 399.9 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003178/0.306, allocations: 3.781 MB / 403.7 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004993/0.3065, allocations: 89.72 kB / 403.8 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.556e-05/0.3066, allocations: 29.53 kB / 403.8 MB, free: 11.68 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.0002642/0.3068, allocations: 203.6 kB / 404 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.824e-05/0.3069, allocations: 44.58 kB / 404.1 MB, free: 11.47 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001532/0.3085, allocations: 0.7397 MB / 404.8 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.3085, allocations: 7.938 kB / 404.8 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.3085, allocations: 2.562 kB / 404.8 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.3085, allocations: 7.328 kB / 404.8 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002439/0.311, allocations: 1.492 MB / 406.3 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.311, allocations: 4 kB / 406.3 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004876/0.3115, allocations: 117.4 kB / 406.4 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002725/0.3118, allocations: 106.4 kB / 406.5 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.092e-05/0.3118, allocations: 19.56 kB / 406.6 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002609/0.3144, allocations: 3.341 MB / 409.9 MB, free: 7.152 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3144, allocations: 1.125 kB / 409.9 MB, free: 7.152 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001884/0.3163, allocations: 1.122 MB / 411 MB, free: 6.484 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.3165, allocations: 133.4 kB / 411.2 MB, free: 6.348 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.608e-05/0.3165, allocations: 11.75 kB / 411.2 MB, free: 6.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003704/0.3169, allocations: 36.66 kB / 411.2 MB, free: 6.316 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.317, allocations: 56.22 kB / 411.3 MB, free: 6.285 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.19e-05/0.3171, allocations: 18.47 kB / 411.3 MB, free: 6.281 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001986/0.3173, allocations: 195.6 kB / 411.5 MB, free: 6.148 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3173, allocations: 0 / 411.5 MB, free: 6.148 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008757/0.3182, allocations: 212.4 kB / 411.7 MB, free: 6.098 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.0002613/0.3184, allocations: 140.6 kB / 411.8 MB, free: 5.984 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001652/0.3201, allocations: 0.8913 MB / 412.7 MB, free: 5.441 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3201, allocations: 3.938 kB / 412.7 MB, free: 5.438 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007537/0.3209, allocations: 0.5532 MB / 413.3 MB, free: 5.047 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004532/0.3213, allocations: 43.48 kB / 413.3 MB, free: 5.016 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002087/0.3234, allocations: 1.116 MB / 414.4 MB, free: 4.312 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000418/0.3239, allocations: 0.8617 MB / 415.3 MB, free: 3.535 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002953/0.3242, allocations: 83.42 kB / 415.4 MB, free: 3.488 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/0.3243, allocations: 41.77 kB / 415.4 MB, free: 3.477 MB / 334.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3243, allocations: 0 / 415.4 MB, free: 3.477 MB / 334.1 MB Notification: Performance of Templates: time 0.01235/0.3367, allocations: 6.22 MB / 421.6 MB, free: 14.76 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)