Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.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.0009578/0.0009578, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001178/0.001178, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.634/1.634, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.0004597/0.0004597, allocations: 14.81 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.2615, allocations: 47.59 MB / 326.5 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.001648/0.2632, allocations: 1.447 MB / 327.9 MB, free: 264 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009458/0.2641, allocations: 0.6403 MB / 328.6 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.8e-05/0.2642, allocations: 0 / 328.6 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 9.636e-05/0.2643, allocations: 11.08 kB / 328.6 MB, free: 15.74 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.609e-05/0.2644, allocations: 31.52 kB / 328.6 MB, free: 15.71 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002052/0.2646, allocations: 39.06 kB / 328.6 MB, free: 15.68 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001562/0.2648, allocations: 109 kB / 328.7 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.2649, allocations: 36.03 kB / 328.8 MB, free: 15.59 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.999e-05/0.265, allocations: 34.53 kB / 328.8 MB, free: 15.57 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.2651, allocations: 40.12 kB / 328.9 MB, free: 15.55 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.059e-05/0.2652, allocations: 5.594 kB / 328.9 MB, free: 15.55 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.338e-05/0.2653, allocations: 17.58 kB / 328.9 MB, free: 15.55 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.139e-05/0.2653, allocations: 19.08 kB / 328.9 MB, free: 15.53 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.255e-05/0.2653, allocations: 44.2 kB / 328.9 MB, free: 15.49 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.2655, allocations: 91.64 kB / 329 MB, free: 15.43 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.2655, allocations: 1.062 kB / 329 MB, free: 15.43 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.2655, allocations: 0 / 329 MB, free: 15.43 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.2655, allocations: 0 / 329 MB, free: 15.43 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.0005321/0.2661, allocations: 400.6 kB / 329.4 MB, free: 15.03 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.2661, allocations: 9.719 kB / 329.4 MB, free: 15.03 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00019/0.2663, allocations: 22.83 kB / 329.5 MB, free: 15.02 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000196/0.2665, allocations: 195.5 kB / 329.6 MB, free: 14.8 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.2666, allocations: 11.84 kB / 329.7 MB, free: 14.79 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.847e-05/0.2666, allocations: 10.75 kB / 329.7 MB, free: 14.79 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/0.2668, allocations: 91.91 kB / 329.8 MB, free: 14.72 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.2668, allocations: 1.375 kB / 329.8 MB, free: 14.72 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.2668, allocations: 5.406 kB / 329.8 MB, free: 14.71 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.2669, allocations: 1.375 kB / 329.8 MB, free: 14.71 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001501/0.267, allocations: 66.17 kB / 329.8 MB, free: 14.68 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006727/0.2677, allocations: 446 kB / 330.3 MB, free: 14.26 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002783/0.268, allocations: 103.7 kB / 330.4 MB, free: 14.2 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.72e-05/0.268, allocations: 31.34 kB / 330.4 MB, free: 14.18 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.179e-05/0.2681, allocations: 1.188 kB / 330.4 MB, free: 14.18 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.542e-05/0.2681, allocations: 39.59 kB / 330.4 MB, free: 14.13 MB / 270.1 MB Notification: Performance of pre-optimization done (n=11): time 1.052e-06/0.2681, allocations: 4 kB / 330.4 MB, free: 14.13 MB / 270.1 MB Notification: Performance of matching and sorting (n=12): time 0.001323/0.2694, allocations: 0.5284 MB / 331 MB, free: 13.67 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/0.2695, allocations: 56.48 kB / 331 MB, free: 13.6 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.77e-05/0.2696, allocations: 121.4 kB / 331.1 MB, free: 13.48 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.2696, allocations: 30.77 kB / 331.2 MB, free: 13.45 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.025e-05/0.2697, allocations: 103.9 kB / 331.3 MB, free: 13.35 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.748e-05/0.2697, allocations: 45.2 kB / 331.3 MB, free: 13.31 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.793e-06/0.2697, allocations: 7.938 kB / 331.3 MB, free: 13.3 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.2699, allocations: 325.7 kB / 331.6 MB, free: 12.98 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.544e-05/0.27, allocations: 22.47 kB / 331.7 MB, free: 12.97 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.014e-05/0.2701, allocations: 58.69 kB / 331.7 MB, free: 12.92 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.467e-05/0.2701, allocations: 39.62 kB / 331.8 MB, free: 12.9 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.2701, allocations: 3.938 kB / 331.8 MB, free: 12.89 MB / 270.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002029/0.2704, allocations: 130 kB / 331.9 MB, free: 12.82 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.2704, allocations: 12.81 kB / 331.9 MB, free: 12.81 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.2704, allocations: 5.266 kB / 331.9 MB, free: 12.81 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.2704, allocations: 1.125 kB / 331.9 MB, free: 12.81 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.2706, allocations: 34.14 kB / 331.9 MB, free: 12.8 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.2706, allocations: 1.125 kB / 331.9 MB, free: 12.8 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.606e-05/0.2706, allocations: 6.844 kB / 332 MB, free: 12.8 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.2707, allocations: 4.125 kB / 332 MB, free: 12.8 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 0.0001058/0.2708, allocations: 122.9 kB / 332.1 MB, free: 12.67 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.06e-05/0.2708, allocations: 12.59 kB / 332.1 MB, free: 12.66 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.138e-05/0.2709, allocations: 17.7 kB / 332.1 MB, free: 12.65 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.2709, allocations: 10.23 kB / 332.1 MB, free: 12.64 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.2709, allocations: 0 / 332.1 MB, free: 12.64 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.2709, allocations: 0 / 332.1 MB, free: 12.64 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005541/0.2715, allocations: 423.8 kB / 332.5 MB, free: 12.24 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.2715, allocations: 5.188 kB / 332.5 MB, free: 12.23 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00015/0.2717, allocations: 31.31 kB / 332.6 MB, free: 12.23 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.2717, allocations: 1.125 kB / 332.6 MB, free: 12.23 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.2717, allocations: 5.062 kB / 332.6 MB, free: 12.22 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.2717, allocations: 1.844 kB / 332.6 MB, free: 12.22 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.2717, allocations: 9 kB / 332.6 MB, free: 12.21 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002986/0.272, allocations: 248.2 kB / 332.8 MB, free: 12.01 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.297e-05/0.2721, allocations: 83.84 kB / 332.9 MB, free: 11.91 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.753e-05/0.2721, allocations: 10.78 kB / 332.9 MB, free: 11.91 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.75e-05/0.2722, allocations: 13.25 kB / 332.9 MB, free: 11.89 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.031e-05/0.2722, allocations: 3.844 kB / 332.9 MB, free: 11.89 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.054e-06/0.2722, allocations: 2.625 kB / 332.9 MB, free: 11.89 MB / 270.1 MB Notification: Performance of sorting global known variables: time 5.963e-05/0.2723, allocations: 101.9 kB / 333 MB, free: 11.8 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2723, allocations: 0 / 333 MB, free: 11.8 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002557/0.2726, allocations: 25.53 kB / 333.1 MB, free: 11.8 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.0001217/0.2727, allocations: 101 kB / 333.2 MB, free: 11.7 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0001775/0.2729, allocations: 78.53 kB / 333.2 MB, free: 11.67 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2729, allocations: 1.031 kB / 333.2 MB, free: 11.67 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 5.998e-05/0.273, allocations: 42.8 kB / 333.3 MB, free: 11.65 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000362/0.2733, allocations: 20.86 kB / 333.3 MB, free: 11.64 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007684/0.2741, allocations: 0.5453 MB / 333.8 MB, free: 11.18 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/0.2744, allocations: 0.7061 MB / 334.5 MB, free: 10.47 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 6.166e-05/0.2744, allocations: 9.438 kB / 334.6 MB, free: 10.46 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.561e-05/0.2745, allocations: 13.19 kB / 334.6 MB, free: 10.46 MB / 270.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2745, allocations: 4 kB / 334.6 MB, free: 10.45 MB / 270.1 MB Notification: Performance of Templates: time 0.003489/0.278, allocations: 1.012 MB / 335.6 MB, free: 9.898 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile (rm -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_3.1_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1)