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.0008666/0.0008665, allocations: 88.39 kB / 16.31 MB, free: 6.449 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.001057/0.001057, allocations: 183.1 kB / 17.21 MB, free: 6.316 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.543/1.543, allocations: 205.4 MB / 223.4 MB, free: 5.285 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.0004857/0.0004858, allocations: 8 kB / 280.1 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/0.2973, allocations: 47.58 MB / 327.7 MB, free: 1.445 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.00211/0.2995, allocations: 1.448 MB / 329.2 MB, free: 312 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001233/0.3007, allocations: 0.6424 MB / 329.8 MB, free: 15.79 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001597/0.3009, allocations: 2.062 kB / 329.8 MB, free: 15.79 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001195/0.301, allocations: 17.56 kB / 329.8 MB, free: 15.77 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001134/0.3012, allocations: 27.77 kB / 329.9 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002801/0.3015, allocations: 36.3 kB / 329.9 MB, free: 15.72 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002628/0.3017, allocations: 116.7 kB / 330 MB, free: 15.65 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/0.3019, allocations: 27.42 kB / 330 MB, free: 15.63 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.302, allocations: 39.17 kB / 330.1 MB, free: 15.61 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.3021, allocations: 40.16 kB / 330.1 MB, free: 15.59 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.3021, allocations: 5.5 kB / 330.1 MB, free: 15.59 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.3022, allocations: 21.17 kB / 330.1 MB, free: 15.58 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.455e-05/0.3023, allocations: 19.89 kB / 330.2 MB, free: 15.57 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.854e-05/0.3023, allocations: 40.02 kB / 330.2 MB, free: 15.53 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000169/0.3025, allocations: 91.45 kB / 330.3 MB, free: 15.47 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.3025, allocations: 8.875 kB / 330.3 MB, free: 15.46 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.3025, allocations: 0 / 330.3 MB, free: 15.46 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.3026, allocations: 0 / 330.3 MB, free: 15.46 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.0005938/0.3031, allocations: 392.5 kB / 330.7 MB, free: 15.07 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.3032, allocations: 8.781 kB / 330.7 MB, free: 15.07 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002221/0.3034, allocations: 23.86 kB / 330.7 MB, free: 15.06 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002364/0.3037, allocations: 200.2 kB / 330.9 MB, free: 14.83 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.3037, allocations: 7.375 kB / 330.9 MB, free: 14.83 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.495e-05/0.3038, allocations: 10.97 kB / 330.9 MB, free: 14.82 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002258/0.304, allocations: 92.16 kB / 331 MB, free: 14.76 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.304, allocations: 3.984 kB / 331 MB, free: 14.75 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.304, allocations: 5.125 kB / 331 MB, free: 14.75 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.304, allocations: 3.25 kB / 331 MB, free: 14.75 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001532/0.3042, allocations: 56.53 kB / 331.1 MB, free: 14.73 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007629/0.305, allocations: 450.5 kB / 331.5 MB, free: 14.3 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002873/0.3053, allocations: 100.5 kB / 331.6 MB, free: 14.24 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.999e-05/0.3054, allocations: 34.56 kB / 331.7 MB, free: 14.22 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.3054, allocations: 1.156 kB / 331.7 MB, free: 14.22 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.3054, allocations: 39.78 kB / 331.7 MB, free: 14.17 MB / 270.1 MB Notification: Performance of pre-optimization done (n=11): time 2.004e-06/0.3054, allocations: 0 / 331.7 MB, free: 14.17 MB / 270.1 MB Notification: Performance of matching and sorting (n=12): time 0.00134/0.3068, allocations: 0.532 MB / 332.2 MB, free: 13.71 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.3068, allocations: 52.56 kB / 332.3 MB, free: 13.64 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.3069, allocations: 118.1 kB / 332.4 MB, free: 13.53 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.307, allocations: 33.64 kB / 332.4 MB, free: 13.49 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.658e-05/0.307, allocations: 104.1 kB / 332.5 MB, free: 13.39 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.133e-05/0.3071, allocations: 45.67 kB / 332.6 MB, free: 13.35 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-06/0.3071, allocations: 4 kB / 332.6 MB, free: 13.35 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.3072, allocations: 321.1 kB / 332.9 MB, free: 13.03 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.02e-05/0.3073, allocations: 30.58 kB / 332.9 MB, free: 13.01 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.515e-05/0.3074, allocations: 62.23 kB / 333 MB, free: 12.96 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.946e-05/0.3075, allocations: 39.12 kB / 333 MB, free: 12.94 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3075, allocations: 5.656 kB / 333 MB, free: 12.94 MB / 270.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002126/0.3077, allocations: 128.4 kB / 333.2 MB, free: 12.86 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.3077, allocations: 6.062 kB / 333.2 MB, free: 12.86 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.3078, allocations: 5.172 kB / 333.2 MB, free: 12.86 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.3078, allocations: 1 kB / 333.2 MB, free: 12.86 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.3079, allocations: 33.92 kB / 333.2 MB, free: 12.85 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/0.3079, allocations: 6.062 kB / 333.2 MB, free: 12.84 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.747e-05/0.308, allocations: 10.05 kB / 333.2 MB, free: 12.84 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.308, allocations: 4.156 kB / 333.2 MB, free: 12.84 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 9.539e-05/0.3081, allocations: 123.5 kB / 333.3 MB, free: 12.71 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.471e-05/0.3082, allocations: 8.25 kB / 333.3 MB, free: 12.71 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.288e-05/0.3082, allocations: 17.38 kB / 333.4 MB, free: 12.69 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.3082, allocations: 6.266 kB / 333.4 MB, free: 12.69 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.3083, allocations: 0 / 333.4 MB, free: 12.69 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.3083, allocations: 0 / 333.4 MB, free: 12.69 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005562/0.3088, allocations: 431.9 kB / 333.8 MB, free: 12.28 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.3088, allocations: 1.406 kB / 333.8 MB, free: 12.28 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001519/0.309, allocations: 34.72 kB / 333.8 MB, free: 12.27 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.541e-06/0.309, allocations: 0.9688 kB / 333.8 MB, free: 12.27 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.309, allocations: 2.688 kB / 333.8 MB, free: 12.27 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.309, allocations: 0.8125 kB / 333.8 MB, free: 12.27 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.309, allocations: 1.375 kB / 333.8 MB, free: 12.27 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003238/0.3094, allocations: 248.1 kB / 334.1 MB, free: 12.06 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.486e-05/0.3094, allocations: 87.39 kB / 334.2 MB, free: 11.96 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.633e-05/0.3095, allocations: 9.953 kB / 334.2 MB, free: 11.95 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.39e-05/0.3096, allocations: 6.312 kB / 334.2 MB, free: 11.95 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.309e-05/0.3096, allocations: 11.2 kB / 334.2 MB, free: 11.94 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.3096, allocations: 7 kB / 334.2 MB, free: 11.94 MB / 270.1 MB Notification: Performance of sorting global known variables: time 7.264e-05/0.3097, allocations: 101.3 kB / 334.3 MB, free: 11.85 MB / 270.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.3097, allocations: 0 / 334.3 MB, free: 11.85 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000277/0.31, allocations: 26.41 kB / 334.3 MB, free: 11.84 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.0001284/0.3101, allocations: 96.73 kB / 334.4 MB, free: 11.75 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0001999/0.3103, allocations: 82.89 kB / 334.5 MB, free: 11.71 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3104, allocations: 3.938 kB / 334.5 MB, free: 11.71 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 6.463e-05/0.3104, allocations: 36.75 kB / 334.5 MB, free: 11.7 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003802/0.3108, allocations: 24.33 kB / 334.6 MB, free: 11.68 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000925/0.3118, allocations: 0.5407 MB / 335.1 MB, free: 11.23 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/0.3121, allocations: 0.702 MB / 335.8 MB, free: 10.52 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 7.695e-05/0.3122, allocations: 13.91 kB / 335.8 MB, free: 10.51 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.87e-05/0.3122, allocations: 12.75 kB / 335.8 MB, free: 10.5 MB / 270.1 MB Notification: Performance of SimCode: time 2.024e-06/0.3122, allocations: 0 / 335.8 MB, free: 10.5 MB / 270.1 MB Notification: Performance of Templates: time 0.004244/0.3165, allocations: 1.029 MB / 336.9 MB, free: 9.852 MB / 270.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)