Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.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.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009988/0.0009989, allocations: 98.03 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.01032/0.01032, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.538/1.538, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.0004632/0.0004633, allocations: 11.19 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.2902, allocations: 47.59 MB / 327 MB, free: 1.441 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.001925/0.2922, allocations: 1.488 MB / 328.5 MB, free: 272 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.2933, allocations: 0.6653 MB / 329.2 MB, free: 15.73 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.202e-05/0.2934, allocations: 1.438 kB / 329.2 MB, free: 15.73 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000111/0.2935, allocations: 14.64 kB / 329.2 MB, free: 15.72 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.923e-05/0.2936, allocations: 35.56 kB / 329.2 MB, free: 15.69 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002244/0.2938, allocations: 36.14 kB / 329.3 MB, free: 15.66 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001695/0.294, allocations: 115.5 kB / 329.4 MB, free: 15.59 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.2942, allocations: 28.3 kB / 329.4 MB, free: 15.57 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.119e-05/0.2942, allocations: 39.59 kB / 329.4 MB, free: 15.55 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.212e-05/0.2943, allocations: 44.33 kB / 329.5 MB, free: 15.53 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.2944, allocations: 4.469 kB / 329.5 MB, free: 15.53 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.113e-05/0.2944, allocations: 23.33 kB / 329.5 MB, free: 15.52 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.427e-05/0.2945, allocations: 14.23 kB / 329.5 MB, free: 15.51 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.221e-05/0.2946, allocations: 80.05 kB / 329.6 MB, free: 15.44 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00019/0.2948, allocations: 117.6 kB / 329.7 MB, free: 15.37 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.2948, allocations: 1.531 kB / 329.7 MB, free: 15.37 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.2948, allocations: 3.938 kB / 329.7 MB, free: 15.36 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.2948, allocations: 3.938 kB / 329.7 MB, free: 15.36 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005112/0.2953, allocations: 395.3 kB / 330.1 MB, free: 14.96 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.2954, allocations: 9.719 kB / 330.1 MB, free: 14.96 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002254/0.2956, allocations: 28.66 kB / 330.2 MB, free: 14.95 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/0.2958, allocations: 188.6 kB / 330.3 MB, free: 14.73 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.2958, allocations: 7.969 kB / 330.3 MB, free: 14.73 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.63e-05/0.2959, allocations: 15.16 kB / 330.4 MB, free: 14.72 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002265/0.2961, allocations: 98.98 kB / 330.5 MB, free: 14.64 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.2961, allocations: 0.9688 kB / 330.5 MB, free: 14.64 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/0.2961, allocations: 4.969 kB / 330.5 MB, free: 14.64 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.346e-05/0.2962, allocations: 7.141 kB / 330.5 MB, free: 14.64 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001528/0.2963, allocations: 57.03 kB / 330.5 MB, free: 14.61 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007874/0.2971, allocations: 452.6 kB / 331 MB, free: 14.18 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002971/0.2974, allocations: 109.6 kB / 331.1 MB, free: 14.12 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.437e-05/0.2975, allocations: 27.02 kB / 331.1 MB, free: 14.1 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.254e-05/0.2975, allocations: 1.031 kB / 331.1 MB, free: 14.1 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.2975, allocations: 35.66 kB / 331.1 MB, free: 14.06 MB / 270.1 MB Notification: Performance of pre-optimization done (n=11): time 1.252e-06/0.2975, allocations: 5.125 kB / 331.1 MB, free: 14.05 MB / 270.1 MB Notification: Performance of matching and sorting (n=12): time 0.001366/0.2989, allocations: 0.5249 MB / 331.7 MB, free: 13.6 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/0.299, allocations: 56.62 kB / 331.7 MB, free: 13.53 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.391e-05/0.2991, allocations: 129.9 kB / 331.9 MB, free: 13.41 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.2991, allocations: 29.7 kB / 331.9 MB, free: 13.37 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.315e-05/0.2991, allocations: 100.5 kB / 332 MB, free: 13.27 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.772e-05/0.2992, allocations: 45.28 kB / 332 MB, free: 13.23 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.932e-05/0.2992, allocations: 20.95 kB / 332 MB, free: 13.21 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 9.276e-05/0.2993, allocations: 325.1 kB / 332.4 MB, free: 12.89 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.523e-05/0.2994, allocations: 23.41 kB / 332.4 MB, free: 12.88 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.521e-05/0.2995, allocations: 71.78 kB / 332.5 MB, free: 12.82 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.2996, allocations: 88.31 kB / 332.5 MB, free: 12.75 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.2996, allocations: 1.25 kB / 332.5 MB, free: 12.75 MB / 270.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002049/0.2999, allocations: 135 kB / 332.7 MB, free: 12.67 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.2999, allocations: 8.656 kB / 332.7 MB, free: 12.67 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.2999, allocations: 1.5 kB / 332.7 MB, free: 12.67 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.2999, allocations: 1.156 kB / 332.7 MB, free: 12.67 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.3001, allocations: 33.61 kB / 332.7 MB, free: 12.66 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.3001, allocations: 2.125 kB / 332.7 MB, free: 12.66 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.094e-05/0.3001, allocations: 14.17 kB / 332.7 MB, free: 12.65 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.3002, allocations: 4.156 kB / 332.7 MB, free: 12.65 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (17): * Single equations (assignments): 17 * 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.0001108/0.3003, allocations: 123.1 kB / 332.9 MB, free: 12.53 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.258e-05/0.3003, allocations: 12.03 kB / 332.9 MB, free: 12.52 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.115e-05/0.3004, allocations: 14.22 kB / 332.9 MB, free: 12.51 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.3004, allocations: 2.281 kB / 332.9 MB, free: 12.51 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.3004, allocations: 0 / 332.9 MB, free: 12.51 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.3004, allocations: 3.938 kB / 332.9 MB, free: 12.5 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005384/0.3009, allocations: 428.9 kB / 333.3 MB, free: 12.1 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.301, allocations: 48 / 333.3 MB, free: 12.1 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001613/0.3011, allocations: 39.19 kB / 333.3 MB, free: 12.08 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.3011, allocations: 4.969 kB / 333.4 MB, free: 12.08 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.3012, allocations: 6.25 kB / 333.4 MB, free: 12.07 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.3012, allocations: 0.8438 kB / 333.4 MB, free: 12.07 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3012, allocations: 1.031 kB / 333.4 MB, free: 12.07 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002985/0.3015, allocations: 245.1 kB / 333.6 MB, free: 11.88 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.82e-05/0.3015, allocations: 88.39 kB / 333.7 MB, free: 11.77 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.37e-05/0.3016, allocations: 9.219 kB / 333.7 MB, free: 11.77 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.911e-05/0.3017, allocations: 6.031 kB / 333.7 MB, free: 11.76 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.857e-05/0.3017, allocations: 8.141 kB / 333.7 MB, free: 11.76 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.3018, allocations: 3.281 kB / 333.7 MB, free: 11.76 MB / 270.1 MB Notification: Performance of sorting global known variables: time 6.16e-05/0.3018, allocations: 97.39 kB / 333.8 MB, free: 11.67 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3018, allocations: 4 kB / 333.8 MB, free: 11.67 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002572/0.3021, allocations: 25.41 kB / 333.8 MB, free: 11.66 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (mass.s,mass.v,heatCapacitor.T) * 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 (12): * Single equations (assignments): 12 * 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.0001368/0.3022, allocations: 93.53 kB / 333.9 MB, free: 11.57 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0002467/0.3025, allocations: 83.36 kB / 334 MB, free: 11.54 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3025, allocations: 0.9688 kB / 334 MB, free: 11.54 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 9.31e-05/0.3026, allocations: 39.05 kB / 334 MB, free: 11.52 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005378/0.3032, allocations: 29.98 kB / 334.1 MB, free: 11.5 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008802/0.304, allocations: 0.5576 MB / 334.6 MB, free: 11.04 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002897/0.3043, allocations: 0.7059 MB / 335.3 MB, free: 10.32 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 6.744e-05/0.3044, allocations: 13.25 kB / 335.4 MB, free: 10.31 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.707e-05/0.3045, allocations: 13.22 kB / 335.4 MB, free: 10.3 MB / 270.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3045, allocations: 1.469 kB / 335.4 MB, free: 10.3 MB / 270.1 MB Notification: Performance of Templates: time 0.003525/0.308, allocations: 1.047 MB / 336.4 MB, free: 9.492 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile (rm -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_3.1_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1)