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.001004/0.001004, 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.009501/0.009501, 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.598/1.598, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.0008701/0.0008705, allocations: 8 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.3, allocations: 47.58 MB / 327 MB, free: 1.438 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.001848/0.3019, allocations: 1.484 MB / 328.5 MB, free: 272 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001086/0.303, allocations: 0.6716 MB / 329.2 MB, free: 15.73 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.536e-05/0.3031, allocations: 1.594 kB / 329.2 MB, free: 15.73 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001037/0.3032, allocations: 8.859 kB / 329.2 MB, free: 15.72 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.29e-05/0.3033, allocations: 40.66 kB / 329.2 MB, free: 15.68 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002191/0.3035, allocations: 35.77 kB / 329.3 MB, free: 15.66 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001567/0.3037, allocations: 120.8 kB / 329.4 MB, free: 15.59 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.3038, allocations: 23.83 kB / 329.4 MB, free: 15.57 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.04e-05/0.3039, allocations: 39.06 kB / 329.4 MB, free: 15.55 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.304, allocations: 43.62 kB / 329.5 MB, free: 15.52 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.945e-05/0.3041, allocations: 5.188 kB / 329.5 MB, free: 15.52 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.954e-05/0.3042, allocations: 22.61 kB / 329.5 MB, free: 15.52 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.503e-05/0.3042, allocations: 18.09 kB / 329.5 MB, free: 15.5 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.541e-05/0.3043, allocations: 76.34 kB / 329.6 MB, free: 15.44 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000187/0.3045, allocations: 117.7 kB / 329.7 MB, free: 15.36 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.3045, allocations: 1.25 kB / 329.7 MB, free: 15.36 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.654e-06/0.3045, allocations: 3.938 kB / 329.7 MB, free: 15.36 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.3045, allocations: 0 / 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.0006017/0.3051, allocations: 399.7 kB / 330.1 MB, free: 14.95 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/0.3052, allocations: 9.5 kB / 330.1 MB, free: 14.95 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002084/0.3054, allocations: 28.62 kB / 330.2 MB, free: 14.94 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002196/0.3056, allocations: 192.5 kB / 330.3 MB, free: 14.72 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.3057, allocations: 8.781 kB / 330.4 MB, free: 14.72 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.019e-05/0.3057, allocations: 14.34 kB / 330.4 MB, free: 14.71 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002448/0.306, allocations: 103.4 kB / 330.5 MB, free: 14.63 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/0.306, allocations: 1.438 kB / 330.5 MB, free: 14.63 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.922e-05/0.306, allocations: 5.375 kB / 330.5 MB, free: 14.63 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.306, allocations: 1.406 kB / 330.5 MB, free: 14.63 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001573/0.3062, allocations: 57.22 kB / 330.5 MB, free: 14.61 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000824/0.307, allocations: 453.6 kB / 331 MB, free: 14.18 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003211/0.3074, allocations: 108.2 kB / 331.1 MB, free: 14.11 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.158e-05/0.3074, allocations: 28.08 kB / 331.1 MB, free: 14.09 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.134e-05/0.3075, allocations: 1.156 kB / 331.1 MB, free: 14.09 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.3075, allocations: 31.81 kB / 331.1 MB, free: 14.05 MB / 270.1 MB Notification: Performance of pre-optimization done (n=11): time 1.513e-06/0.3075, allocations: 4 kB / 331.1 MB, free: 14.05 MB / 270.1 MB Notification: Performance of matching and sorting (n=12): time 0.001431/0.3089, allocations: 0.5286 MB / 331.7 MB, free: 13.59 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/0.309, allocations: 57.94 kB / 331.7 MB, free: 13.52 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.3091, allocations: 129.9 kB / 331.9 MB, free: 13.4 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.3091, allocations: 29.7 kB / 331.9 MB, free: 13.36 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.634e-05/0.3092, allocations: 100 kB / 332 MB, free: 13.27 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.434e-05/0.3092, allocations: 40.86 kB / 332 MB, free: 13.23 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.299e-05/0.3093, allocations: 21.48 kB / 332 MB, free: 13.21 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.3094, allocations: 326 kB / 332.4 MB, free: 12.88 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.561e-05/0.3094, allocations: 27.12 kB / 332.4 MB, free: 12.87 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.077e-05/0.3095, allocations: 62.5 kB / 332.4 MB, free: 12.82 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.3097, allocations: 93.5 kB / 332.5 MB, free: 12.75 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.3097, allocations: 0 / 332.5 MB, free: 12.75 MB / 270.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002161/0.3099, allocations: 135.4 kB / 332.7 MB, free: 12.67 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.3099, allocations: 6 kB / 332.7 MB, free: 12.67 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.31, allocations: 1.375 kB / 332.7 MB, free: 12.67 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.31, allocations: 1.469 kB / 332.7 MB, free: 12.67 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.3101, allocations: 32.98 kB / 332.7 MB, free: 12.66 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/0.3101, allocations: 2.688 kB / 332.7 MB, free: 12.66 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.014e-05/0.3102, allocations: 10.48 kB / 332.7 MB, free: 12.65 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.3102, allocations: 7.656 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 9.575e-05/0.3103, allocations: 123.4 kB / 332.9 MB, free: 12.52 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.135e-05/0.3104, allocations: 7.625 kB / 332.9 MB, free: 12.52 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.308e-05/0.3104, allocations: 18.62 kB / 332.9 MB, free: 12.5 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.3104, allocations: 1.062 kB / 332.9 MB, free: 12.5 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.004e-06/0.3104, allocations: 5.062 kB / 332.9 MB, free: 12.5 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.3104, allocations: 7.969 kB / 332.9 MB, free: 12.49 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005387/0.311, allocations: 431.6 kB / 333.3 MB, free: 12.08 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.311, allocations: 1.219 kB / 333.3 MB, free: 12.08 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000154/0.3112, allocations: 31.33 kB / 333.3 MB, free: 12.07 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.3112, allocations: 5.031 kB / 333.4 MB, free: 12.07 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.3112, allocations: 1.125 kB / 333.4 MB, free: 12.07 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.3112, allocations: 2.062 kB / 333.4 MB, free: 12.07 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.3112, allocations: 0.9688 kB / 333.4 MB, free: 12.07 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003062/0.3115, allocations: 248.2 kB / 333.6 MB, free: 11.87 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.3116, allocations: 92.3 kB / 333.7 MB, free: 11.76 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.174e-05/0.3117, allocations: 6.031 kB / 333.7 MB, free: 11.76 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.809e-05/0.3118, allocations: 6 kB / 333.7 MB, free: 11.75 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.565e-05/0.3118, allocations: 7.891 kB / 333.7 MB, free: 11.75 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/0.3118, allocations: 3.406 kB / 333.7 MB, free: 11.75 MB / 270.1 MB Notification: Performance of sorting global known variables: time 6.104e-05/0.3119, allocations: 93.23 kB / 333.8 MB, free: 11.67 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3119, allocations: 4 kB / 333.8 MB, free: 11.66 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002684/0.3121, allocations: 26.31 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.0001169/0.3123, allocations: 97.08 kB / 333.9 MB, free: 11.57 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0001856/0.3125, allocations: 83.33 kB / 334 MB, free: 11.53 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3125, allocations: 0 / 334 MB, free: 11.53 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 6.812e-05/0.3125, allocations: 40.67 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.0003679/0.3129, allocations: 24.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.0008465/0.3138, allocations: 0.5531 MB / 334.6 MB, free: 11.04 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002943/0.3141, allocations: 0.7059 MB / 335.3 MB, free: 10.32 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 7.543e-05/0.3142, allocations: 18.34 kB / 335.3 MB, free: 10.31 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.917e-05/0.3142, allocations: 13.28 kB / 335.4 MB, free: 10.3 MB / 270.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3142, allocations: 0 / 335.4 MB, free: 10.3 MB / 270.1 MB Notification: Performance of Templates: time 0.00385/0.3181, allocations: 1.055 MB / 336.4 MB, free: 9.48 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile (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)