Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.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.CylinderSections,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0016/0.001599, allocations: 105 kB / 17.06 MB, free: 6.027 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.00189/0.00189, allocations: 195 kB / 18 MB, free: 5.109 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.369/1.369, 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.001205/0.001205, allocations: 63.86 kB / 327.9 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09664/0.09785, allocations: 46.61 MB / 374.5 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005483/0.1034, allocations: 4.129 MB / 378.6 MB, free: 424 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2097/0.3131, allocations: 1.663 MB / 380.3 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003385/0.3135, allocations: 15.84 kB / 380.3 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002294/0.3159, allocations: 1.01 MB / 381.3 MB, free: 9.578 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007603/0.3167, allocations: 238.3 kB / 381.5 MB, free: 9.484 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001684/0.3184, allocations: 0.7912 MB / 382.3 MB, free: 9.355 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009605/0.3193, allocations: 0.6288 MB / 383 MB, free: 9.207 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007971/0.3201, allocations: 0.4953 MB / 383.5 MB, free: 9.152 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004282/0.3206, allocations: 266.8 kB / 383.7 MB, free: 9.078 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004526/0.321, allocations: 339.7 kB / 384 MB, free: 8.93 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.433e-05/0.3211, allocations: 52.69 kB / 384.1 MB, free: 8.93 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007005/0.3218, allocations: 262.6 kB / 384.4 MB, free: 8.863 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.322, allocations: 136.1 kB / 384.5 MB, free: 8.777 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000251/0.3222, allocations: 306.5 kB / 384.8 MB, free: 8.594 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001104/0.3233, allocations: 0.9107 MB / 385.7 MB, free: 8.277 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.3234, allocations: 4 kB / 385.7 MB, free: 8.273 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3234, allocations: 1.031 kB / 385.7 MB, free: 8.273 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.224e-05/0.3234, allocations: 0 / 385.7 MB, free: 8.273 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.004153/0.3275, allocations: 1.208 MB / 386.9 MB, free: 7.566 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.3276, allocations: 13.58 kB / 386.9 MB, free: 7.562 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001239/0.3288, allocations: 176.3 kB / 387.1 MB, free: 7.512 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002389/0.3291, allocations: 240.5 kB / 387.3 MB, free: 7.258 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.728e-05/0.3292, allocations: 50.7 kB / 387.4 MB, free: 7.238 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.3293, allocations: 67.91 kB / 387.4 MB, free: 7.215 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001399/0.3307, allocations: 0.7016 MB / 388.1 MB, free: 6.906 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.876e-05/0.3307, allocations: 1.094 kB / 388.1 MB, free: 6.906 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.243e-05/0.3308, allocations: 33.59 kB / 388.2 MB, free: 6.879 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.053e-05/0.3308, allocations: 16.44 kB / 388.2 MB, free: 6.879 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001331/0.3322, allocations: 0.5993 MB / 388.8 MB, free: 6.68 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003425/0.3356, allocations: 2.309 MB / 391.1 MB, free: 5.18 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001474/0.3371, allocations: 1.632 MB / 392.7 MB, free: 3.734 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000534/0.3376, allocations: 278.3 kB / 393 MB, free: 3.621 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001258/0.3378, allocations: 95.08 kB / 393.1 MB, free: 3.527 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.3378, allocations: 39.5 kB / 393.1 MB, free: 3.484 MB / 318.1 MB Notification: Performance of pre-optimization done (n=66): time 3.106e-06/0.3378, allocations: 0 / 393.1 MB, free: 3.484 MB / 318.1 MB Notification: Performance of matching and sorting (n=66): time 0.001681/0.3395, allocations: 0.7034 MB / 393.8 MB, free: 3.207 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.474e-05/0.3396, allocations: 115.4 kB / 394 MB, free: 3.078 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003093/0.3399, allocations: 256.6 kB / 394.2 MB, free: 2.922 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.683e-05/0.3399, allocations: 37.67 kB / 394.2 MB, free: 2.883 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/0.3401, allocations: 263.7 kB / 394.5 MB, free: 2.668 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001413/0.3402, allocations: 225.4 kB / 394.7 MB, free: 2.496 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001964/0.3404, allocations: 122.7 kB / 394.8 MB, free: 2.426 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.42e-05/0.3405, allocations: 350.9 kB / 395.2 MB, free: 2.094 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005138/0.3411, allocations: 206.8 kB / 395.4 MB, free: 2.027 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005889/0.3417, allocations: 304.7 kB / 395.7 MB, free: 1.867 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/0.3427, allocations: 0.5163 MB / 396.2 MB, free: 1.602 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.3427, allocations: 0 / 396.2 MB, free: 1.602 MB / 318.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001308/0.344, allocations: 0.6248 MB / 396.8 MB, free: 1.348 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.3441, allocations: 6.469 kB / 396.8 MB, free: 1.348 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.3441, allocations: 4 kB / 396.8 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.346e-05/0.3441, allocations: 6.719 kB / 396.8 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007285/0.3448, allocations: 158.7 kB / 397 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.431e-05/0.3449, allocations: 5.141 kB / 397 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000543/0.3454, allocations: 74.12 kB / 397.1 MB, free: 1.285 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.898e-05/0.3455, allocations: 31.27 kB / 397.1 MB, free: 1.273 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (84): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000228/0.3457, allocations: 191.6 kB / 397.3 MB, free: 1.102 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.536e-05/0.3458, allocations: 34.09 kB / 397.3 MB, free: 1.086 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001294/0.3471, allocations: 0.6072 MB / 397.9 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.275e-06/0.3471, allocations: 7.406 kB / 397.9 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.3471, allocations: 1.156 kB / 397.9 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-06/0.3471, allocations: 3.562 kB / 397.9 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002195/0.3493, allocations: 1.288 MB / 399.2 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.3494, allocations: 1.219 kB / 399.2 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005754/0.35, allocations: 127.9 kB / 399.4 MB, free: 100 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.35, allocations: 3.719 kB / 399.4 MB, free: 100 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.722e-05/0.35, allocations: 14.44 kB / 399.4 MB, free: 92 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.534e-06/0.35, allocations: 8.312 kB / 399.4 MB, free: 88 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.35, allocations: 0 / 399.4 MB, free: 88 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001781/0.3518, allocations: 0.969 MB / 400.4 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001343/0.352, allocations: 127.6 kB / 400.5 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.429e-05/0.352, allocations: 12.86 kB / 400.5 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004173/0.3525, allocations: 35.48 kB / 400.5 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/0.3526, allocations: 46.67 kB / 400.6 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.943e-05/0.3526, allocations: 18.23 kB / 400.6 MB, free: 15.41 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002419/0.3529, allocations: 186.8 kB / 400.8 MB, free: 15.29 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3529, allocations: 0 / 400.8 MB, free: 15.29 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006867/0.3536, allocations: 178.4 kB / 400.9 MB, free: 15.25 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 (66): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003481/0.354, allocations: 138 kB / 401.1 MB, free: 15.14 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001324/0.3553, allocations: 0.5392 MB / 401.6 MB, free: 14.96 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/0.3553, allocations: 1.125 kB / 401.6 MB, free: 14.96 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005675/0.3559, allocations: 276.9 kB / 401.9 MB, free: 14.87 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000591/0.3565, allocations: 50.91 kB / 401.9 MB, free: 14.84 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002607/0.3591, allocations: 1.064 MB / 403 MB, free: 14.27 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006164/0.3597, allocations: 0.8407 MB / 403.8 MB, free: 13.56 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004234/0.3602, allocations: 87.62 kB / 403.9 MB, free: 13.52 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001584/0.3603, allocations: 45.44 kB / 404 MB, free: 13.51 MB / 334.1 MB Notification: Performance of SimCode: time 1.242e-06/0.3604, allocations: 0 / 404 MB, free: 13.51 MB / 334.1 MB Notification: Performance of Templates: time 0.01282/0.3732, allocations: 5.248 MB / 409.2 MB, free: 11.06 MB / 334.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1)