Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_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.1_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.1_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.0008925/0.0008926, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005904/0.005904, allocations: 169.7 kB / 16.27 MB, free: 6.652 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.408/1.408, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.0004619/0.000462, allocations: 16 kB / 279.5 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.2761, allocations: 47.58 MB / 327 MB, free: 1.371 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.004318/0.2805, allocations: 3.716 MB / 330.8 MB, free: 14.43 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003071/0.2836, allocations: 1.65 MB / 332.4 MB, free: 13.1 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001945/0.2838, allocations: 11.25 kB / 332.4 MB, free: 13.1 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005918/0.2844, allocations: 216.5 kB / 332.6 MB, free: 12.96 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005822/0.285, allocations: 195.9 kB / 332.8 MB, free: 12.81 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001926/0.287, allocations: 0.7498 MB / 333.6 MB, free: 12.25 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008709/0.2879, allocations: 0.5906 MB / 334.2 MB, free: 11.91 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00199/0.2899, allocations: 0.9007 MB / 335.1 MB, free: 11.24 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000464/0.2903, allocations: 232.3 kB / 335.3 MB, free: 11.06 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004339/0.2908, allocations: 306.6 kB / 335.6 MB, free: 10.76 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.708e-05/0.2908, allocations: 24 kB / 335.6 MB, free: 10.74 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000544/0.2914, allocations: 235.8 kB / 335.8 MB, free: 10.51 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.986e-05/0.2915, allocations: 99.53 kB / 335.9 MB, free: 10.41 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002595/0.2917, allocations: 308.2 kB / 336.2 MB, free: 10.1 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008596/0.2926, allocations: 0.8694 MB / 337.1 MB, free: 9.23 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.2926, allocations: 0 / 337.1 MB, free: 9.23 MB / 270.1 MB Notification: Performance of FrontEnd: time 4.228e-06/0.2926, allocations: 3.938 kB / 337.1 MB, free: 9.227 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.2927, allocations: 3.938 kB / 337.1 MB, free: 9.223 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003351/0.296, allocations: 1.097 MB / 338.2 MB, free: 8.074 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.2961, allocations: 8.031 kB / 338.2 MB, free: 8.066 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001091/0.2972, allocations: 176 kB / 338.4 MB, free: 7.895 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/0.2974, allocations: 240.2 kB / 338.6 MB, free: 7.621 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.996e-05/0.2975, allocations: 54.38 kB / 338.7 MB, free: 7.57 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.2976, allocations: 68.38 kB / 338.7 MB, free: 7.504 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001289/0.2989, allocations: 0.7077 MB / 339.5 MB, free: 6.777 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.671e-05/0.2989, allocations: 11.91 kB / 339.5 MB, free: 6.766 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.867e-05/0.299, allocations: 24 kB / 339.5 MB, free: 6.742 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.65e-05/0.299, allocations: 16 kB / 339.5 MB, free: 6.727 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001251/0.3002, allocations: 0.6296 MB / 340.1 MB, free: 6.094 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003289/0.3035, allocations: 2.324 MB / 342.5 MB, free: 3.625 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001687/0.3052, allocations: 1.641 MB / 344.1 MB, free: 1.754 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005362/0.3058, allocations: 279.4 kB / 344.4 MB, free: 1.473 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001231/0.3059, allocations: 101.6 kB / 344.5 MB, free: 1.355 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.407e-05/0.306, allocations: 47.12 kB / 344.5 MB, free: 1.301 MB / 270.1 MB Notification: Performance of pre-optimization done (n=66): time 2.275e-06/0.306, allocations: 0 / 344.5 MB, free: 1.301 MB / 270.1 MB Notification: Performance of matching and sorting (n=66): time 0.001647/0.3076, allocations: 0.7407 MB / 345.3 MB, free: 0.5547 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.18e-05/0.3077, allocations: 111.4 kB / 345.4 MB, free: 432 kB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002837/0.308, allocations: 264.8 kB / 345.6 MB, free: 160 kB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.95e-05/0.3081, allocations: 33.7 kB / 345.7 MB, free: 120 kB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001791/0.3082, allocations: 264.2 kB / 345.9 MB, free: 15.85 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000178/0.3084, allocations: 224.7 kB / 346.1 MB, free: 15.63 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.263e-05/0.3085, allocations: 57.69 kB / 346.2 MB, free: 15.57 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.3087, allocations: 342.8 kB / 346.5 MB, free: 15.22 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004929/0.3092, allocations: 225.9 kB / 346.8 MB, free: 15 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005478/0.3097, allocations: 309.4 kB / 347.1 MB, free: 14.68 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/0.3108, allocations: 0.5415 MB / 347.6 MB, free: 14.11 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.3108, allocations: 0 / 347.6 MB, free: 14.11 MB / 286.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00125/0.3121, allocations: 0.6491 MB / 348.2 MB, free: 13.46 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.3121, allocations: 8 kB / 348.3 MB, free: 13.45 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.3121, allocations: 0 / 348.3 MB, free: 13.45 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.3121, allocations: 4 kB / 348.3 MB, free: 13.45 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006909/0.3128, allocations: 168 kB / 348.4 MB, free: 13.28 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.3128, allocations: 4 kB / 348.4 MB, free: 13.28 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004963/0.3133, allocations: 75.41 kB / 348.5 MB, free: 13.2 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.946e-05/0.3134, allocations: 20 kB / 348.5 MB, free: 13.18 MB / 286.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.0002226/0.3136, allocations: 197.5 kB / 348.7 MB, free: 12.98 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.562e-05/0.3137, allocations: 39.53 kB / 348.7 MB, free: 12.94 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001296/0.315, allocations: 0.6203 MB / 349.4 MB, free: 12.31 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.315, allocations: 8 kB / 349.4 MB, free: 12.3 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/0.315, allocations: 0 / 349.4 MB, free: 12.3 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.3151, allocations: 3.984 kB / 349.4 MB, free: 12.3 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002037/0.3171, allocations: 1.316 MB / 350.7 MB, free: 10.93 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.3171, allocations: 4 kB / 350.7 MB, free: 10.92 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005657/0.3177, allocations: 139.7 kB / 350.8 MB, free: 10.79 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.3177, allocations: 4 kB / 350.8 MB, free: 10.78 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.385e-05/0.3177, allocations: 12 kB / 350.9 MB, free: 10.77 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-06/0.3178, allocations: 7.938 kB / 350.9 MB, free: 10.76 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3178, allocations: 0 / 350.9 MB, free: 10.76 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0017/0.3195, allocations: 1.009 MB / 351.9 MB, free: 9.734 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.889e-05/0.3196, allocations: 124.5 kB / 352 MB, free: 9.594 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.774e-05/0.3196, allocations: 15.98 kB / 352 MB, free: 9.578 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004091/0.32, allocations: 35.92 kB / 352 MB, free: 9.543 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.3202, allocations: 40.56 kB / 352.1 MB, free: 9.504 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-05/0.3202, allocations: 20 kB / 352.1 MB, free: 9.484 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001847/0.3204, allocations: 192.5 kB / 352.3 MB, free: 9.297 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.3204, allocations: 0 / 352.3 MB, free: 9.297 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005481/0.3209, allocations: 171.5 kB / 352.5 MB, free: 9.129 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 (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.0002313/0.3212, allocations: 147 kB / 352.6 MB, free: 8.977 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001122/0.3223, allocations: 0.5546 MB / 353.2 MB, free: 8.426 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3223, allocations: 384 / 353.2 MB, free: 8.426 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005408/0.3229, allocations: 287.1 kB / 353.4 MB, free: 8.145 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005031/0.3234, allocations: 44.42 kB / 353.5 MB, free: 8.098 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002193/0.3256, allocations: 1.381 MB / 354.9 MB, free: 6.688 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004441/0.3261, allocations: 0.8385 MB / 355.7 MB, free: 5.824 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0004242/0.3265, allocations: 83.39 kB / 355.8 MB, free: 5.738 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/0.3266, allocations: 43.42 kB / 355.8 MB, free: 5.699 MB / 286.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3266, allocations: 3.938 kB / 355.8 MB, free: 5.695 MB / 286.1 MB Notification: Performance of Templates: time 0.009423/0.3361, allocations: 4.781 MB / 360.6 MB, free: 0.9102 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile (rm -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1)