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.001205/0.001205, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001876/0.001877, allocations: 192.8 kB / 16.13 MB, free: 6.707 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.547/1.547, allocations: 205.1 MB / 222 MB, free: 4.773 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.001303/0.001303, allocations: 48.36 kB / 278 MB, free: 12.79 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.2835, allocations: 46.62 MB / 324.7 MB, free: 2.27 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003034/0.2866, allocations: 1.831 MB / 326.5 MB, free: 0.832 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001095/0.2877, allocations: 0.677 MB / 327.2 MB, free: 296 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.974e-05/0.2878, allocations: 10.56 kB / 327.2 MB, free: 288 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001445/0.288, allocations: 9.328 kB / 327.2 MB, free: 280 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 6.634e-05/0.2881, allocations: 31.5 kB / 327.2 MB, free: 252 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002304/0.2883, allocations: 41.14 kB / 327.3 MB, free: 220 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001665/0.2885, allocations: 119.3 kB / 327.4 MB, free: 148 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.2886, allocations: 20.42 kB / 327.4 MB, free: 136 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.923e-05/0.2887, allocations: 43.98 kB / 327.4 MB, free: 112 kB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.845e-05/0.2888, allocations: 44.19 kB / 327.5 MB, free: 84 kB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/0.2888, allocations: 4.719 kB / 327.5 MB, free: 84 kB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.997e-05/0.2889, allocations: 23.77 kB / 327.5 MB, free: 76 kB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 2.361e-05/0.2889, allocations: 19.33 kB / 327.5 MB, free: 60 kB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 6.07e-05/0.289, allocations: 47.08 kB / 327.6 MB, free: 32 kB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002265/0.2892, allocations: 126 kB / 327.7 MB, free: 15.95 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.419e-05/0.2893, allocations: 7.938 kB / 327.7 MB, free: 15.94 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2893, allocations: 3.938 kB / 327.7 MB, free: 15.93 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.2893, allocations: 0 / 327.7 MB, free: 15.93 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.0006162/0.2899, allocations: 410.3 kB / 328.1 MB, free: 15.53 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.29, allocations: 13.17 kB / 328.1 MB, free: 15.52 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002056/0.2902, allocations: 24.2 kB / 328.2 MB, free: 15.52 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000211/0.2904, allocations: 188.7 kB / 328.3 MB, free: 15.3 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.2904, allocations: 4.531 kB / 328.3 MB, free: 15.3 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.118e-05/0.2905, allocations: 11.22 kB / 328.4 MB, free: 15.3 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002332/0.2907, allocations: 112.2 kB / 328.5 MB, free: 15.21 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.2907, allocations: 4 kB / 328.5 MB, free: 15.21 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.2908, allocations: 1.188 kB / 328.5 MB, free: 15.21 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.2908, allocations: 2.375 kB / 328.5 MB, free: 15.21 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001771/0.2909, allocations: 62 kB / 328.5 MB, free: 15.18 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007443/0.2917, allocations: 451.6 kB / 329 MB, free: 14.75 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002869/0.292, allocations: 101.6 kB / 329.1 MB, free: 14.69 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.596e-05/0.2921, allocations: 35.11 kB / 329.1 MB, free: 14.67 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.379e-05/0.2921, allocations: 4.875 kB / 329.1 MB, free: 14.66 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.2921, allocations: 31.78 kB / 329.1 MB, free: 14.62 MB / 270.1 MB Notification: Performance of pre-optimization done (n=11): time 1.152e-06/0.2921, allocations: 0 / 329.1 MB, free: 14.62 MB / 270.1 MB Notification: Performance of matching and sorting (n=12): time 0.001536/0.2937, allocations: 0.5297 MB / 329.7 MB, free: 14.16 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.384e-05/0.2937, allocations: 61.75 kB / 329.7 MB, free: 14.09 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.2938, allocations: 125.6 kB / 329.9 MB, free: 13.97 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.2939, allocations: 26.77 kB / 329.9 MB, free: 13.94 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.27e-05/0.2939, allocations: 104.2 kB / 330 MB, free: 13.84 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.971e-05/0.294, allocations: 47.97 kB / 330 MB, free: 13.79 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.454e-05/0.294, allocations: 31.17 kB / 330.1 MB, free: 13.77 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.2942, allocations: 321.3 kB / 330.4 MB, free: 13.45 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.762e-05/0.2942, allocations: 27.8 kB / 330.4 MB, free: 13.43 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.835e-05/0.2943, allocations: 60.11 kB / 330.5 MB, free: 13.38 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.2945, allocations: 88.62 kB / 330.5 MB, free: 13.32 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.2945, allocations: 0 / 330.5 MB, free: 13.32 MB / 270.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002138/0.2947, allocations: 139.9 kB / 330.7 MB, free: 13.23 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.2947, allocations: 9.438 kB / 330.7 MB, free: 13.23 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.019e-05/0.2947, allocations: 1.094 kB / 330.7 MB, free: 13.23 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.337e-05/0.2948, allocations: 5.266 kB / 330.7 MB, free: 13.23 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.2949, allocations: 25.12 kB / 330.7 MB, free: 13.23 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.2949, allocations: 6.828 kB / 330.7 MB, free: 13.22 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.76e-05/0.295, allocations: 6.5 kB / 330.7 MB, free: 13.22 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.295, allocations: 8.031 kB / 330.7 MB, free: 13.21 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.773e-05/0.2951, allocations: 118.1 kB / 330.9 MB, free: 13.09 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.502e-05/0.2952, allocations: 13.12 kB / 330.9 MB, free: 13.09 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.262e-05/0.2952, allocations: 21.41 kB / 330.9 MB, free: 13.07 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.2952, allocations: 2.234 kB / 330.9 MB, free: 13.07 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.2952, allocations: 3.984 kB / 330.9 MB, free: 13.06 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/0.2952, allocations: 7.922 kB / 330.9 MB, free: 13.05 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006337/0.2959, allocations: 424 kB / 331.3 MB, free: 12.65 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.2959, allocations: 1.375 kB / 331.3 MB, free: 12.65 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001468/0.2961, allocations: 29.86 kB / 331.3 MB, free: 12.64 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.2961, allocations: 5.406 kB / 331.4 MB, free: 12.64 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.2961, allocations: 2.938 kB / 331.4 MB, free: 12.64 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.2961, allocations: 1.438 kB / 331.4 MB, free: 12.64 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.2961, allocations: 3.938 kB / 331.4 MB, free: 12.64 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002945/0.2964, allocations: 253 kB / 331.6 MB, free: 12.43 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.959e-05/0.2965, allocations: 87.83 kB / 331.7 MB, free: 12.33 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.309e-05/0.2965, allocations: 6.094 kB / 331.7 MB, free: 12.32 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.147e-05/0.2966, allocations: 6.25 kB / 331.7 MB, free: 12.32 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.073e-05/0.2966, allocations: 8.078 kB / 331.7 MB, free: 12.32 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.2966, allocations: 2.094 kB / 331.7 MB, free: 12.32 MB / 270.1 MB Notification: Performance of sorting global known variables: time 5.387e-05/0.2967, allocations: 93.58 kB / 331.8 MB, free: 12.23 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2967, allocations: 3.938 kB / 331.8 MB, free: 12.23 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000265/0.297, allocations: 26.09 kB / 331.8 MB, free: 12.23 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.0001288/0.2971, allocations: 101.9 kB / 331.9 MB, free: 12.13 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0002086/0.2973, allocations: 83.44 kB / 332 MB, free: 12.09 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2973, allocations: 0 / 332 MB, free: 12.09 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 6.621e-05/0.2974, allocations: 35.81 kB / 332.1 MB, free: 12.08 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004312/0.2978, allocations: 23.83 kB / 332.1 MB, free: 12.07 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000899/0.2988, allocations: 0.5017 MB / 332.6 MB, free: 11.65 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/0.2991, allocations: 0.7053 MB / 333.3 MB, free: 10.94 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 6.837e-05/0.2992, allocations: 10.38 kB / 333.3 MB, free: 10.94 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.266e-05/0.2992, allocations: 12.88 kB / 333.3 MB, free: 10.93 MB / 270.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2992, allocations: 0 / 333.3 MB, free: 10.93 MB / 270.1 MB Notification: Performance of Templates: time 0.004135/0.3034, allocations: 1.064 MB / 334.4 MB, free: 10.22 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)