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.00127/0.001269, allocations: 111.6 kB / 17.06 MB, free: 6 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.001624/0.001624, allocations: 198.8 kB / 18.01 MB, free: 5.074 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.541/1.541, allocations: 205.1 MB / 223.9 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.00114/0.00114, allocations: 52.41 kB / 327.8 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1057, allocations: 46.62 MB / 374.5 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.00271/0.1085, allocations: 1.762 MB / 376.2 MB, free: 2.812 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009502/0.1095, allocations: 0.694 MB / 376.9 MB, free: 2.109 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.484e-05/0.1095, allocations: 0 / 376.9 MB, free: 2.109 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001134/0.1097, allocations: 15.8 kB / 376.9 MB, free: 2.094 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.509e-05/0.1097, allocations: 43.69 kB / 377 MB, free: 2.051 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002418/0.11, allocations: 47.81 kB / 377 MB, free: 2.004 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001669/0.1102, allocations: 119.4 kB / 377.1 MB, free: 1.887 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.1103, allocations: 37.36 kB / 377.2 MB, free: 1.852 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.897e-05/0.1104, allocations: 39.86 kB / 377.2 MB, free: 1.812 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.449e-05/0.1105, allocations: 47.78 kB / 377.3 MB, free: 1.766 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.136e-05/0.1105, allocations: 8 kB / 377.3 MB, free: 1.758 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.524e-05/0.1106, allocations: 35.92 kB / 377.3 MB, free: 1.723 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.263e-05/0.1106, allocations: 15.92 kB / 377.3 MB, free: 1.707 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.765e-05/0.1107, allocations: 59.72 kB / 377.4 MB, free: 1.648 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001991/0.1109, allocations: 131.5 kB / 377.5 MB, free: 1.52 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1109, allocations: 0 / 377.5 MB, free: 1.52 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1109, allocations: 0 / 377.5 MB, free: 1.52 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.1109, allocations: 0 / 377.5 MB, free: 1.52 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.0005769/0.1115, allocations: 403.4 kB / 377.9 MB, free: 1.078 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.1115, allocations: 8.031 kB / 377.9 MB, free: 1.07 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001855/0.1117, allocations: 32.73 kB / 377.9 MB, free: 1.039 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002368/0.112, allocations: 192.1 kB / 378.1 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.112, allocations: 8.562 kB / 378.1 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.661e-05/0.112, allocations: 12.38 kB / 378.2 MB, free: 0.793 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001925/0.1122, allocations: 97.52 kB / 378.2 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.1123, allocations: 4 kB / 378.2 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.1123, allocations: 4 kB / 378.3 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1123, allocations: 0 / 378.3 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001259/0.1124, allocations: 63.97 kB / 378.3 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006828/0.1131, allocations: 451.5 kB / 378.8 MB, free: 128 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002745/0.1134, allocations: 106.6 kB / 378.9 MB, free: 12 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2045/0.3179, allocations: 28.91 kB / 378.9 MB, free: 13.18 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.318, allocations: 2 kB / 378.9 MB, free: 13.18 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.757e-05/0.318, allocations: 34.03 kB / 378.9 MB, free: 13.14 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 2.094e-06/0.318, allocations: 2.156 kB / 378.9 MB, free: 13.14 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.001417/0.3194, allocations: 0.5276 MB / 379.5 MB, free: 12.8 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/0.3195, allocations: 52.41 kB / 379.5 MB, free: 12.74 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.8e-05/0.3196, allocations: 124.6 kB / 379.6 MB, free: 12.64 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.3196, allocations: 30.39 kB / 379.7 MB, free: 12.61 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.426e-05/0.3197, allocations: 107.4 kB / 379.8 MB, free: 12.52 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.662e-05/0.3197, allocations: 44.14 kB / 379.8 MB, free: 12.5 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.685e-05/0.3198, allocations: 32.22 kB / 379.8 MB, free: 12.48 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.471e-05/0.3198, allocations: 320 kB / 380.1 MB, free: 12.17 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.256e-05/0.3199, allocations: 27.98 kB / 380.2 MB, free: 12.17 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.335e-05/0.3199, allocations: 65.48 kB / 380.2 MB, free: 12.14 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/0.3201, allocations: 93 kB / 380.3 MB, free: 12.11 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3201, allocations: 4.938 kB / 380.3 MB, free: 12.11 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000231/0.3203, allocations: 132.1 kB / 380.5 MB, free: 12.07 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/0.3204, allocations: 13 kB / 380.5 MB, free: 12.07 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.3204, allocations: 0.9062 kB / 380.5 MB, free: 12.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.3204, allocations: 1.438 kB / 380.5 MB, free: 12.07 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.3205, allocations: 31.67 kB / 380.5 MB, free: 12.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.3206, allocations: 1.375 kB / 380.5 MB, free: 12.07 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.832e-05/0.3206, allocations: 5.969 kB / 380.5 MB, free: 12.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.3206, allocations: 6.938 kB / 380.5 MB, free: 12.07 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 8.37e-05/0.3207, allocations: 130.6 kB / 380.7 MB, free: 11.95 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.444e-05/0.3208, allocations: 10.64 kB / 380.7 MB, free: 11.95 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.93e-05/0.3208, allocations: 13.33 kB / 380.7 MB, free: 11.95 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.3208, allocations: 1.344 kB / 380.7 MB, free: 11.95 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.3208, allocations: 0.625 kB / 380.7 MB, free: 11.95 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.3208, allocations: 5.172 kB / 380.7 MB, free: 11.95 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000498/0.3213, allocations: 433 kB / 381.1 MB, free: 11.63 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.3214, allocations: 1.312 kB / 381.1 MB, free: 11.63 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001504/0.3215, allocations: 28.73 kB / 381.1 MB, free: 11.63 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.3215, allocations: 1.438 kB / 381.1 MB, free: 11.63 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.3215, allocations: 5.062 kB / 381.1 MB, free: 11.63 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.3216, allocations: 4.656 kB / 381.1 MB, free: 11.63 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.3216, allocations: 5.219 kB / 381.2 MB, free: 11.62 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002727/0.3218, allocations: 247.2 kB / 381.4 MB, free: 11.47 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.771e-05/0.3219, allocations: 87.81 kB / 381.5 MB, free: 11.37 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/0.3219, allocations: 6.469 kB / 381.5 MB, free: 11.37 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.794e-05/0.322, allocations: 4.125 kB / 381.5 MB, free: 11.37 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.038e-05/0.3221, allocations: 10.69 kB / 381.5 MB, free: 11.37 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.246e-06/0.3221, allocations: 5.062 kB / 381.5 MB, free: 11.37 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.666e-05/0.3221, allocations: 98.73 kB / 381.6 MB, free: 11.29 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3221, allocations: 0 / 381.6 MB, free: 11.29 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002495/0.3224, allocations: 27.31 kB / 381.6 MB, free: 11.29 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 9.718e-05/0.3225, allocations: 105.8 kB / 381.7 MB, free: 11.2 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001831/0.3227, allocations: 80.27 kB / 381.8 MB, free: 11.19 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3227, allocations: 0 / 381.8 MB, free: 11.19 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.997e-05/0.3228, allocations: 45.75 kB / 381.9 MB, free: 11.18 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/0.3231, allocations: 14.69 kB / 381.9 MB, free: 11.18 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000791/0.3239, allocations: 464.1 kB / 382.3 MB, free: 10.89 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000157/0.3241, allocations: 0.7016 MB / 383 MB, free: 10.19 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.143e-05/0.3241, allocations: 15.28 kB / 383 MB, free: 10.18 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.161e-05/0.3242, allocations: 13.38 kB / 383 MB, free: 10.18 MB / 318.1 MB Notification: Performance of SimCode: time 1.132e-06/0.3242, allocations: 0 / 383 MB, free: 10.18 MB / 318.1 MB Notification: Performance of Templates: time 0.0045/0.3287, allocations: 1.124 MB / 384.2 MB, free: 10.09 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile (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)