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.001293/0.001293, allocations: 113.4 kB / 17.07 MB, free: 5.988 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.001154/0.001154, allocations: 195 kB / 18 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.585/1.585, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.001112/0.001112, allocations: 51.94 kB / 327.8 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09547/0.09659, allocations: 46.62 MB / 374.5 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.002629/0.09925, allocations: 1.762 MB / 376.2 MB, free: 2.816 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009559/0.1002, allocations: 0.6901 MB / 376.9 MB, free: 2.117 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.128e-05/0.1003, allocations: 0 / 376.9 MB, free: 2.117 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001152/0.1004, allocations: 19.8 kB / 376.9 MB, free: 2.098 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.019e-05/0.1005, allocations: 35.7 kB / 377 MB, free: 2.062 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002421/0.1008, allocations: 47.81 kB / 377 MB, free: 2.016 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001551/0.1009, allocations: 119.4 kB / 377.1 MB, free: 1.898 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.1011, allocations: 37.36 kB / 377.2 MB, free: 1.863 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.375e-05/0.1011, allocations: 47.8 kB / 377.2 MB, free: 1.816 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.981e-05/0.1012, allocations: 43.78 kB / 377.3 MB, free: 1.773 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.149e-05/0.1012, allocations: 12 kB / 377.3 MB, free: 1.762 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.551e-05/0.1013, allocations: 23.98 kB / 377.3 MB, free: 1.738 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.171e-05/0.1014, allocations: 19.92 kB / 377.3 MB, free: 1.719 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.939e-05/0.1014, allocations: 55.73 kB / 377.4 MB, free: 1.664 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002174/0.1017, allocations: 135.5 kB / 377.5 MB, free: 1.531 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.1017, allocations: 3.984 kB / 377.5 MB, free: 1.527 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1017, allocations: 0 / 377.5 MB, free: 1.527 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.1017, allocations: 0 / 377.5 MB, free: 1.527 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.0005797/0.1023, allocations: 411.2 kB / 377.9 MB, free: 1.078 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.1023, allocations: 8.031 kB / 377.9 MB, free: 1.07 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001941/0.1025, allocations: 28.81 kB / 377.9 MB, free: 1.043 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002194/0.1028, allocations: 196.2 kB / 378.1 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.1028, allocations: 8.562 kB / 378.1 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.117e-05/0.1028, allocations: 12.33 kB / 378.2 MB, free: 0.793 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.103, allocations: 93.59 kB / 378.3 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.103, allocations: 4 kB / 378.3 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/0.1031, allocations: 8 kB / 378.3 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.1031, allocations: 0 / 378.3 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001326/0.1032, allocations: 63.95 kB / 378.3 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006482/0.1039, allocations: 447.6 kB / 378.8 MB, free: 132 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002656/0.1041, allocations: 106.6 kB / 378.9 MB, free: 16 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2345/0.3386, allocations: 33.86 kB / 378.9 MB, free: 13.17 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.953e-05/0.3387, allocations: 1.125 kB / 378.9 MB, free: 13.17 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.901e-05/0.3388, allocations: 35.81 kB / 378.9 MB, free: 13.13 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 4.689e-06/0.3388, allocations: 0 / 378.9 MB, free: 13.13 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.001623/0.3404, allocations: 0.5261 MB / 379.5 MB, free: 12.79 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.3404, allocations: 53.77 kB / 379.5 MB, free: 12.73 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.3406, allocations: 124.8 kB / 379.6 MB, free: 12.63 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.3406, allocations: 30.45 kB / 379.7 MB, free: 12.6 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.313e-05/0.3407, allocations: 107.6 kB / 379.8 MB, free: 12.51 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.706e-05/0.3407, allocations: 45.77 kB / 379.8 MB, free: 12.48 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-05/0.3408, allocations: 27.88 kB / 379.8 MB, free: 12.47 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.719e-05/0.3409, allocations: 326.9 kB / 380.2 MB, free: 12.16 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.722e-05/0.3409, allocations: 25.64 kB / 380.2 MB, free: 12.16 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.511e-05/0.341, allocations: 64.67 kB / 380.2 MB, free: 12.12 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/0.3412, allocations: 96.86 kB / 380.3 MB, free: 12.09 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.3412, allocations: 3.562 kB / 380.3 MB, free: 12.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002152/0.3414, allocations: 130.5 kB / 380.5 MB, free: 12.05 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/0.3415, allocations: 5.219 kB / 380.5 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.3415, allocations: 5.969 kB / 380.5 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/0.3415, allocations: 2.875 kB / 380.5 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001523/0.3417, allocations: 35.33 kB / 380.5 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.3417, allocations: 4.469 kB / 380.5 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.413e-05/0.3417, allocations: 4.5 kB / 380.5 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.3418, allocations: 8.188 kB / 380.5 MB, free: 12.05 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 0.0001103/0.3419, allocations: 122.8 kB / 380.7 MB, free: 11.94 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.566e-05/0.3419, allocations: 8.781 kB / 380.7 MB, free: 11.93 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.583e-05/0.342, allocations: 13.44 kB / 380.7 MB, free: 11.93 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.342, allocations: 5.031 kB / 380.7 MB, free: 11.93 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.342, allocations: 2.875 kB / 380.7 MB, free: 11.93 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.342, allocations: 4.625 kB / 380.7 MB, free: 11.93 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005069/0.3425, allocations: 426.4 kB / 381.1 MB, free: 11.62 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.3425, allocations: 1.156 kB / 381.1 MB, free: 11.62 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001439/0.3427, allocations: 29.34 kB / 381.1 MB, free: 11.62 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.3427, allocations: 5.312 kB / 381.1 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.3427, allocations: 5.641 kB / 381.2 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.3427, allocations: 1.375 kB / 381.2 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.3427, allocations: 5.969 kB / 381.2 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002531/0.343, allocations: 248.2 kB / 381.4 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.935e-05/0.343, allocations: 84.5 kB / 381.5 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.271e-05/0.3431, allocations: 9.891 kB / 381.5 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.875e-05/0.3431, allocations: 4.25 kB / 381.5 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.316e-05/0.3432, allocations: 14.95 kB / 381.5 MB, free: 11.35 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-06/0.3432, allocations: 2.75 kB / 381.5 MB, free: 11.35 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.08e-05/0.3432, allocations: 101 kB / 381.6 MB, free: 11.27 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3432, allocations: 0 / 381.6 MB, free: 11.27 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002462/0.3435, allocations: 26.14 kB / 381.6 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 9.455e-05/0.3436, allocations: 99.81 kB / 381.7 MB, free: 11.18 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000192/0.3438, allocations: 89.98 kB / 381.8 MB, free: 11.18 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3438, allocations: 0 / 381.8 MB, free: 11.18 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.93e-05/0.3439, allocations: 44.36 kB / 381.9 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.000341/0.3442, allocations: 18.2 kB / 381.9 MB, free: 11.17 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009128/0.3452, allocations: 450 kB / 382.3 MB, free: 10.89 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002178/0.3454, allocations: 0.7058 MB / 383 MB, free: 10.19 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.693e-05/0.3454, allocations: 8.344 kB / 383 MB, free: 10.18 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.845e-05/0.3455, allocations: 12.94 kB / 383.1 MB, free: 10.18 MB / 318.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3455, allocations: 1.375 kB / 383.1 MB, free: 10.18 MB / 318.1 MB Notification: Performance of Templates: time 0.004655/0.3502, allocations: 1.128 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)