Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001335/0.001335, allocations: 95.77 kB / 16.3 MB, free: 5.996 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.001956/0.001957, allocations: 183.9 kB / 17.2 MB, free: 5.914 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.734/1.734, allocations: 205.4 MB / 223.4 MB, free: 5.535 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.0006493/0.0006496, allocations: 12 kB / 280.1 MB, free: 12.86 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.3031, allocations: 47.59 MB / 327.7 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.001777/0.3049, allocations: 1.405 MB / 329.1 MB, free: 316 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009446/0.3059, allocations: 0.6236 MB / 329.7 MB, free: 15.82 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.789e-05/0.306, allocations: 1.406 kB / 329.7 MB, free: 15.82 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 3.68e-05/0.306, allocations: 13.05 kB / 329.7 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001406/0.3062, allocations: 41.97 kB / 329.8 MB, free: 15.77 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002361/0.3064, allocations: 39.62 kB / 329.8 MB, free: 15.74 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001876/0.3066, allocations: 95.17 kB / 329.9 MB, free: 15.68 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.3068, allocations: 22.88 kB / 329.9 MB, free: 15.66 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.6e-05/0.3068, allocations: 37.91 kB / 330 MB, free: 15.64 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.749e-05/0.3069, allocations: 41.61 kB / 330 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.3069, allocations: 3.531 kB / 330 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.807e-05/0.307, allocations: 23.73 kB / 330 MB, free: 15.61 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.118e-05/0.3071, allocations: 15.36 kB / 330.1 MB, free: 15.6 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.488e-05/0.3071, allocations: 43.64 kB / 330.1 MB, free: 15.56 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001703/0.3073, allocations: 95.45 kB / 330.2 MB, free: 15.5 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.3073, allocations: 4 kB / 330.2 MB, free: 15.5 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.3073, allocations: 0 / 330.2 MB, free: 15.5 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.3073, allocations: 0.9688 kB / 330.2 MB, free: 15.5 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.0005832/0.3079, allocations: 388.3 kB / 330.6 MB, free: 15.1 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.308, allocations: 9.062 kB / 330.6 MB, free: 15.1 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002069/0.3082, allocations: 23.64 kB / 330.6 MB, free: 15.09 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001994/0.3084, allocations: 210.8 kB / 330.8 MB, free: 14.86 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.3084, allocations: 3.875 kB / 330.8 MB, free: 14.86 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.101e-05/0.3085, allocations: 14.72 kB / 330.8 MB, free: 14.85 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001981/0.3087, allocations: 91.72 kB / 330.9 MB, free: 14.78 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.3087, allocations: 1.031 kB / 330.9 MB, free: 14.78 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.3087, allocations: 0.9062 kB / 330.9 MB, free: 14.78 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.3087, allocations: 2.375 kB / 330.9 MB, free: 14.78 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001369/0.3089, allocations: 65.2 kB / 331 MB, free: 14.75 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006904/0.3096, allocations: 446.6 kB / 331.4 MB, free: 14.33 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002781/0.3098, allocations: 99.11 kB / 331.5 MB, free: 14.27 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.366e-05/0.3099, allocations: 1.156 kB / 331.5 MB, free: 14.27 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.3099, allocations: 44.47 kB / 331.6 MB, free: 14.22 MB / 270.1 MB Notification: Performance of pre-optimization done (n=11): time 1.233e-06/0.3099, allocations: 0 / 331.6 MB, free: 14.22 MB / 270.1 MB Notification: Performance of matching and sorting (n=12): time 0.001311/0.3112, allocations: 0.5302 MB / 332.1 MB, free: 13.75 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.3113, allocations: 52.81 kB / 332.1 MB, free: 13.69 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.3114, allocations: 117.7 kB / 332.3 MB, free: 13.58 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.3114, allocations: 30.8 kB / 332.3 MB, free: 13.54 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.482e-05/0.3115, allocations: 104.1 kB / 332.4 MB, free: 13.44 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.773e-05/0.3115, allocations: 44.98 kB / 332.4 MB, free: 13.4 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.698e-06/0.3116, allocations: 5.344 kB / 332.4 MB, free: 13.4 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.3117, allocations: 324 kB / 332.8 MB, free: 13.07 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.774e-05/0.3118, allocations: 27.39 kB / 332.8 MB, free: 13.06 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.169e-05/0.3118, allocations: 54.14 kB / 332.8 MB, free: 13.02 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.27e-05/0.3119, allocations: 42.47 kB / 332.9 MB, free: 12.99 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3119, allocations: 1.094 kB / 332.9 MB, free: 12.99 MB / 270.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002127/0.3121, allocations: 130.2 kB / 333 MB, free: 12.91 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.3122, allocations: 8.312 kB / 333 MB, free: 12.91 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.3122, allocations: 1.188 kB / 333 MB, free: 12.91 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.3122, allocations: 10.08 kB / 333 MB, free: 12.91 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/0.3124, allocations: 32.61 kB / 333.1 MB, free: 12.9 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.3124, allocations: 2.125 kB / 333.1 MB, free: 12.9 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.683e-05/0.3125, allocations: 6.156 kB / 333.1 MB, free: 12.89 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.3125, allocations: 8.828 kB / 333.1 MB, free: 12.89 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 0.0001088/0.3126, allocations: 122.3 kB / 333.2 MB, free: 12.77 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.841e-05/0.3126, allocations: 8.594 kB / 333.2 MB, free: 12.76 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.435e-05/0.3127, allocations: 14.34 kB / 333.2 MB, free: 12.75 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/0.3127, allocations: 10.05 kB / 333.2 MB, free: 12.74 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.926e-06/0.3127, allocations: 0 / 333.2 MB, free: 12.74 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.3127, allocations: 0 / 333.2 MB, free: 12.74 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005864/0.3133, allocations: 431.7 kB / 333.7 MB, free: 12.33 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.3133, allocations: 1.219 kB / 333.7 MB, free: 12.33 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001518/0.3135, allocations: 30.17 kB / 333.7 MB, free: 12.32 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.3135, allocations: 5.891 kB / 333.7 MB, free: 12.32 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.3135, allocations: 5.906 kB / 333.7 MB, free: 12.32 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.3135, allocations: 5.062 kB / 333.7 MB, free: 12.31 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.3135, allocations: 1.094 kB / 333.7 MB, free: 12.31 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003445/0.3139, allocations: 275.5 kB / 334 MB, free: 12.07 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.652e-05/0.314, allocations: 88.42 kB / 334.1 MB, free: 11.97 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.649e-05/0.314, allocations: 6.125 kB / 334.1 MB, free: 11.96 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.35e-05/0.3141, allocations: 4.969 kB / 334.1 MB, free: 11.96 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.192e-05/0.3141, allocations: 15.98 kB / 334.1 MB, free: 11.95 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.714e-06/0.3141, allocations: 4.281 kB / 334.1 MB, free: 11.95 MB / 270.1 MB Notification: Performance of sorting global known variables: time 5.777e-05/0.3142, allocations: 100.5 kB / 334.2 MB, free: 11.86 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3142, allocations: 0 / 334.2 MB, free: 11.86 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002611/0.3145, allocations: 26.03 kB / 334.2 MB, free: 11.86 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.0001468/0.3146, allocations: 92.56 kB / 334.3 MB, free: 11.77 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0002306/0.3149, allocations: 75.58 kB / 334.4 MB, free: 11.74 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3149, allocations: 3.938 kB / 334.4 MB, free: 11.73 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 7.429e-05/0.3149, allocations: 43.77 kB / 334.4 MB, free: 11.71 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003016/0.3153, allocations: 23.94 kB / 334.4 MB, free: 11.7 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009247/0.3162, allocations: 0.5438 MB / 335 MB, free: 11.24 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003196/0.3165, allocations: 0.7069 MB / 335.7 MB, free: 10.53 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 6.589e-05/0.3166, allocations: 18.3 kB / 335.7 MB, free: 10.52 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.069e-05/0.3166, allocations: 12.66 kB / 335.7 MB, free: 10.51 MB / 270.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3166, allocations: 0 / 335.7 MB, free: 10.51 MB / 270.1 MB Notification: Performance of Templates: time 0.003873/0.3205, allocations: 1.012 MB / 336.7 MB, free: 9.984 MB / 270.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) Environment - environmentSimulation: