Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.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.00148/0.00148, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.00142/0.00142, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.647/1.647, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.0005059/0.0005061, allocations: 12 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3016, allocations: 47.58 MB / 326.4 MB, free: 1.43 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.001801/0.3034, allocations: 1.395 MB / 327.8 MB, free: 344 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009632/0.3044, allocations: 0.6358 MB / 328.5 MB, free: 15.83 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.758e-05/0.3045, allocations: 2.562 kB / 328.5 MB, free: 15.83 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 3.31e-05/0.3046, allocations: 9.453 kB / 328.5 MB, free: 15.82 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001219/0.3047, allocations: 36.27 kB / 328.5 MB, free: 15.79 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000223/0.3049, allocations: 44.91 kB / 328.6 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001719/0.3051, allocations: 88.45 kB / 328.7 MB, free: 15.7 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.3053, allocations: 32.28 kB / 328.7 MB, free: 15.68 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.872e-05/0.3053, allocations: 37.38 kB / 328.7 MB, free: 15.66 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.3054, allocations: 40.22 kB / 328.8 MB, free: 15.63 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.3055, allocations: 4.969 kB / 328.8 MB, free: 15.63 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.26e-05/0.3056, allocations: 21.16 kB / 328.8 MB, free: 15.63 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.273e-05/0.3056, allocations: 14.86 kB / 328.8 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.067e-05/0.3056, allocations: 47.92 kB / 328.8 MB, free: 15.57 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000153/0.3058, allocations: 94.8 kB / 328.9 MB, free: 15.52 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.3058, allocations: 0 / 328.9 MB, free: 15.52 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3058, allocations: 1.125 kB / 328.9 MB, free: 15.52 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.3058, allocations: 0 / 328.9 MB, free: 15.52 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.0005203/0.3063, allocations: 391.8 kB / 329.3 MB, free: 15.12 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.3064, allocations: 9.25 kB / 329.3 MB, free: 15.12 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002195/0.3066, allocations: 31.52 kB / 329.4 MB, free: 15.1 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002483/0.3069, allocations: 195.3 kB / 329.6 MB, free: 14.88 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.3069, allocations: 8.438 kB / 329.6 MB, free: 14.88 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.878e-05/0.307, allocations: 10.31 kB / 329.6 MB, free: 14.87 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002069/0.3072, allocations: 91.69 kB / 329.7 MB, free: 14.8 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.3072, allocations: 0.9688 kB / 329.7 MB, free: 14.8 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.3072, allocations: 5.125 kB / 329.7 MB, free: 14.8 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.3072, allocations: 2.344 kB / 329.7 MB, free: 14.8 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001498/0.3074, allocations: 61.3 kB / 329.7 MB, free: 14.77 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007782/0.3082, allocations: 446 kB / 330.2 MB, free: 14.35 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002916/0.3085, allocations: 104 kB / 330.3 MB, free: 14.29 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/0.3085, allocations: 9.156 kB / 330.3 MB, free: 14.28 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.3085, allocations: 31.84 kB / 330.3 MB, free: 14.24 MB / 270.1 MB Notification: Performance of pre-optimization done (n=11): time 1.663e-06/0.3085, allocations: 0 / 330.3 MB, free: 14.24 MB / 270.1 MB Notification: Performance of matching and sorting (n=12): time 0.001356/0.3099, allocations: 0.5342 MB / 330.8 MB, free: 13.77 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.309e-05/0.31, allocations: 57.56 kB / 330.9 MB, free: 13.71 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.927e-05/0.3101, allocations: 121 kB / 331 MB, free: 13.59 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.3101, allocations: 26.86 kB / 331 MB, free: 13.56 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.25e-05/0.3102, allocations: 107.9 kB / 331.1 MB, free: 13.45 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.406e-05/0.3102, allocations: 44.52 kB / 331.2 MB, free: 13.41 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.054e-06/0.3102, allocations: 5.188 kB / 331.2 MB, free: 13.41 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.3104, allocations: 320.9 kB / 331.5 MB, free: 13.09 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.433e-05/0.3104, allocations: 28.08 kB / 331.5 MB, free: 13.08 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.846e-05/0.3105, allocations: 53.23 kB / 331.6 MB, free: 13.03 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.036e-05/0.3106, allocations: 44.12 kB / 331.6 MB, free: 13.01 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.3106, allocations: 4 kB / 331.6 MB, free: 13 MB / 270.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001918/0.3108, allocations: 129.2 kB / 331.8 MB, free: 12.93 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.742e-05/0.3108, allocations: 5.219 kB / 331.8 MB, free: 12.93 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.3108, allocations: 1.391 kB / 331.8 MB, free: 12.93 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.3109, allocations: 10.59 kB / 331.8 MB, free: 12.92 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.311, allocations: 33.45 kB / 331.8 MB, free: 12.91 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.311, allocations: 1.125 kB / 331.8 MB, free: 12.91 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.935e-05/0.3111, allocations: 10.98 kB / 331.8 MB, free: 12.9 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.3111, allocations: 4.438 kB / 331.8 MB, free: 12.9 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.872e-05/0.3112, allocations: 122.4 kB / 331.9 MB, free: 12.78 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.954e-05/0.3112, allocations: 8 kB / 332 MB, free: 12.77 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.079e-05/0.3113, allocations: 14.72 kB / 332 MB, free: 12.76 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.3113, allocations: 4.922 kB / 332 MB, free: 12.76 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.3113, allocations: 4.844 kB / 332 MB, free: 12.75 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.3113, allocations: 0 / 332 MB, free: 12.75 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005438/0.3119, allocations: 431.3 kB / 332.4 MB, free: 12.34 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3119, allocations: 0.9688 kB / 332.4 MB, free: 12.34 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001468/0.312, allocations: 31.17 kB / 332.4 MB, free: 12.34 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.3121, allocations: 4.891 kB / 332.4 MB, free: 12.33 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.3121, allocations: 6.75 kB / 332.4 MB, free: 12.33 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/0.3121, allocations: 1.094 kB / 332.4 MB, free: 12.33 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3121, allocations: 1.406 kB / 332.4 MB, free: 12.33 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002881/0.3124, allocations: 271.3 kB / 332.7 MB, free: 12.09 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.402e-05/0.3124, allocations: 92.27 kB / 332.8 MB, free: 11.98 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/0.3125, allocations: 1.25 kB / 332.8 MB, free: 11.98 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.769e-05/0.3126, allocations: 10.19 kB / 332.8 MB, free: 11.98 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.542e-05/0.3126, allocations: 16.3 kB / 332.8 MB, free: 11.96 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.3126, allocations: 6.219 kB / 332.8 MB, free: 11.96 MB / 270.1 MB Notification: Performance of sorting global known variables: time 5.211e-05/0.3127, allocations: 97.23 kB / 332.9 MB, free: 11.88 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3127, allocations: 0 / 332.9 MB, free: 11.88 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002873/0.313, allocations: 26 kB / 333 MB, free: 11.87 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001077/0.3131, allocations: 97.03 kB / 333 MB, free: 11.78 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0001766/0.3133, allocations: 79.66 kB / 333.1 MB, free: 11.75 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.3133, allocations: 0 / 333.1 MB, free: 11.75 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 5.675e-05/0.3133, allocations: 43.38 kB / 333.2 MB, free: 11.73 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000274/0.3136, allocations: 19.41 kB / 333.2 MB, free: 11.71 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008469/0.3145, allocations: 0.5442 MB / 333.7 MB, free: 11.26 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004551/0.3149, allocations: 0.7112 MB / 334.4 MB, free: 10.54 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 6.33e-05/0.315, allocations: 13.66 kB / 334.5 MB, free: 10.53 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.574e-05/0.3151, allocations: 13.47 kB / 334.5 MB, free: 10.52 MB / 270.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3151, allocations: 0 / 334.5 MB, free: 10.52 MB / 270.1 MB Notification: Performance of Templates: time 0.003852/0.3189, allocations: 1.012 MB / 335.5 MB, free: 9.988 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) Environment - environmentSimulation: