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.01036/0.01036, allocations: 102 kB / 15.73 MB, free: 6.051 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.001419/0.001419, allocations: 191.5 kB / 16.67 MB, free: 5.965 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.655/1.655, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.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.001155/0.001156, allocations: 51.86 kB / 326.5 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09578/0.09695, allocations: 46.62 MB / 373.1 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003071/0.1001, allocations: 1.754 MB / 374.9 MB, free: 2.797 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.1011, allocations: 0.694 MB / 375.6 MB, free: 2.094 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.04e-05/0.1012, allocations: 0 / 375.6 MB, free: 2.094 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001226/0.1013, allocations: 11.86 kB / 375.6 MB, free: 2.082 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.867e-05/0.1014, allocations: 39.64 kB / 375.6 MB, free: 2.043 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002339/0.1017, allocations: 47.88 kB / 375.7 MB, free: 1.996 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001597/0.1018, allocations: 123.4 kB / 375.8 MB, free: 1.875 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.102, allocations: 29.38 kB / 375.8 MB, free: 1.848 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.71e-05/0.102, allocations: 47.8 kB / 375.9 MB, free: 1.801 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.957e-05/0.1021, allocations: 47.78 kB / 375.9 MB, free: 1.754 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.1021, allocations: 8 kB / 375.9 MB, free: 1.746 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.387e-05/0.1022, allocations: 23.98 kB / 376 MB, free: 1.723 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.538e-05/0.1023, allocations: 27.92 kB / 376 MB, free: 1.695 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.396e-05/0.1024, allocations: 51.73 kB / 376 MB, free: 1.645 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000216/0.1026, allocations: 131.6 kB / 376.2 MB, free: 1.516 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1026, allocations: 3.938 kB / 376.2 MB, free: 1.512 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1026, allocations: 3.938 kB / 376.2 MB, free: 1.508 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.727e-06/0.1026, allocations: 0 / 376.2 MB, free: 1.508 MB / 318.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.0006104/0.1032, allocations: 407.4 kB / 376.6 MB, free: 1.062 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.1033, allocations: 8.031 kB / 376.6 MB, free: 1.055 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000214/0.1035, allocations: 32.73 kB / 376.6 MB, free: 1.023 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002686/0.1038, allocations: 188.2 kB / 376.8 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.1038, allocations: 12.55 kB / 376.8 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.371e-05/0.1038, allocations: 12.38 kB / 376.8 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002027/0.1041, allocations: 93.53 kB / 376.9 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.1041, allocations: 0 / 376.9 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/0.1041, allocations: 8 kB / 376.9 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.1041, allocations: 0 / 376.9 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001326/0.1042, allocations: 67.95 kB / 377 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006748/0.1049, allocations: 447.5 kB / 377.4 MB, free: 116 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002729/0.1052, allocations: 98.64 kB / 377.5 MB, free: 8 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1984/0.3037, allocations: 30.58 kB / 377.6 MB, free: 13.17 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.293e-05/0.3037, allocations: 2.719 kB / 377.6 MB, free: 13.17 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.3038, allocations: 36.72 kB / 377.6 MB, free: 13.13 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 3.326e-06/0.3038, allocations: 0 / 377.6 MB, free: 13.13 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.001518/0.3053, allocations: 0.529 MB / 378.1 MB, free: 12.79 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.522e-05/0.3054, allocations: 55.25 kB / 378.2 MB, free: 12.73 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.3055, allocations: 127.1 kB / 378.3 MB, free: 12.63 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.3055, allocations: 30.11 kB / 378.3 MB, free: 12.6 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.03e-05/0.3056, allocations: 105.2 kB / 378.4 MB, free: 12.51 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.652e-05/0.3056, allocations: 49.78 kB / 378.5 MB, free: 12.48 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.405e-05/0.3057, allocations: 33.94 kB / 378.5 MB, free: 12.47 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.282e-05/0.3057, allocations: 319.1 kB / 378.8 MB, free: 12.16 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.688e-05/0.3058, allocations: 31.97 kB / 378.9 MB, free: 12.16 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.016e-05/0.3059, allocations: 64.5 kB / 378.9 MB, free: 12.12 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001215/0.306, allocations: 92.14 kB / 379 MB, free: 12.09 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.306, allocations: 1.375 kB / 379 MB, free: 12.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000178/0.3062, allocations: 131.3 kB / 379.1 MB, free: 12.06 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.3062, allocations: 5.031 kB / 379.1 MB, free: 12.06 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.3062, allocations: 3.156 kB / 379.1 MB, free: 12.06 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.3063, allocations: 6.109 kB / 379.2 MB, free: 12.06 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001591/0.3064, allocations: 31.2 kB / 379.2 MB, free: 12.06 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.3065, allocations: 4.781 kB / 379.2 MB, free: 12.06 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.784e-05/0.3065, allocations: 6.094 kB / 379.2 MB, free: 12.06 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.3065, allocations: 8.594 kB / 379.2 MB, free: 12.06 MB / 318.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 7.692e-05/0.3066, allocations: 131 kB / 379.3 MB, free: 11.94 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.191e-05/0.3067, allocations: 8.281 kB / 379.3 MB, free: 11.93 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.479e-05/0.3067, allocations: 13.5 kB / 379.4 MB, free: 11.93 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.3067, allocations: 2.75 kB / 379.4 MB, free: 11.93 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3067, allocations: 0 / 379.4 MB, free: 11.93 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.3067, allocations: 2.484 kB / 379.4 MB, free: 11.93 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004966/0.3072, allocations: 433.4 kB / 379.8 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3072, allocations: 0 / 379.8 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001496/0.3074, allocations: 26.69 kB / 379.8 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.3074, allocations: 1.375 kB / 379.8 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.3074, allocations: 2.219 kB / 379.8 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.3074, allocations: 1.375 kB / 379.8 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.3074, allocations: 9.281 kB / 379.8 MB, free: 11.6 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002654/0.3077, allocations: 248.8 kB / 380.1 MB, free: 11.45 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.855e-05/0.3078, allocations: 86.03 kB / 380.1 MB, free: 11.35 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.078e-05/0.3078, allocations: 5.625 kB / 380.2 MB, free: 11.35 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.133e-05/0.3079, allocations: 2.25 kB / 380.2 MB, free: 11.35 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.729e-05/0.3079, allocations: 16.34 kB / 380.2 MB, free: 11.35 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.136e-06/0.3079, allocations: 4.531 kB / 380.2 MB, free: 11.35 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.322e-05/0.308, allocations: 97.41 kB / 380.3 MB, free: 11.27 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.308, allocations: 1.375 kB / 380.3 MB, free: 11.27 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002578/0.3082, allocations: 24.19 kB / 380.3 MB, free: 11.27 MB / 318.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.0001013/0.3083, allocations: 106.3 kB / 380.4 MB, free: 11.18 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000184/0.3085, allocations: 82.52 kB / 380.5 MB, free: 11.17 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3085, allocations: 1.375 kB / 380.5 MB, free: 11.17 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.774e-05/0.3086, allocations: 43.8 kB / 380.5 MB, free: 11.17 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003413/0.3089, allocations: 19.95 kB / 380.5 MB, free: 11.17 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009165/0.3099, allocations: 461 kB / 381 MB, free: 10.88 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002319/0.3101, allocations: 0.7016 MB / 381.7 MB, free: 10.18 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.535e-05/0.3102, allocations: 13 kB / 381.7 MB, free: 10.17 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.921e-05/0.3102, allocations: 12.94 kB / 381.7 MB, free: 10.16 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3102, allocations: 1.375 kB / 381.7 MB, free: 10.16 MB / 318.1 MB Notification: Performance of Templates: time 0.004202/0.3144, allocations: 1.126 MB / 382.8 MB, free: 10.07 MB / 318.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)