Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.Rotational.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.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009224/0.0009225, allocations: 87.11 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.001001/0.001001, 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.4/1.4, allocations: 205.4 MB / 222.1 MB, free: 5.375 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.0005116/0.000512, allocations: 10.81 kB / 278.9 MB, free: 12.7 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.2695, allocations: 47.59 MB / 326.5 MB, free: 1.438 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.002099/0.2716, allocations: 1.435 MB / 327.9 MB, free: 316 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001053/0.2727, allocations: 0.6431 MB / 328.6 MB, free: 15.79 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.2728, allocations: 3.562 kB / 328.6 MB, free: 15.79 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001207/0.2729, allocations: 7.922 kB / 328.6 MB, free: 15.79 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.829e-05/0.273, allocations: 35.48 kB / 328.6 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002307/0.2733, allocations: 30.86 kB / 328.6 MB, free: 15.73 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001841/0.2735, allocations: 120.6 kB / 328.7 MB, free: 15.66 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.2736, allocations: 22.94 kB / 328.8 MB, free: 15.64 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.019e-05/0.2737, allocations: 38.48 kB / 328.8 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.2738, allocations: 39.22 kB / 328.8 MB, free: 15.6 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.2738, allocations: 5.031 kB / 328.9 MB, free: 15.6 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.263e-05/0.2739, allocations: 18.33 kB / 328.9 MB, free: 15.6 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.537e-05/0.2739, allocations: 19.42 kB / 328.9 MB, free: 15.58 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.029e-05/0.274, allocations: 48.19 kB / 328.9 MB, free: 15.54 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001904/0.2742, allocations: 86.41 kB / 329 MB, free: 15.48 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.2742, allocations: 0.9688 kB / 329 MB, free: 15.48 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.2742, allocations: 4 kB / 329 MB, free: 15.48 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.2742, allocations: 0 / 329 MB, free: 15.48 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.0006835/0.2749, allocations: 386.3 kB / 329.4 MB, free: 15.09 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.672e-05/0.275, allocations: 9.594 kB / 329.4 MB, free: 15.09 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002052/0.2752, allocations: 23.42 kB / 329.4 MB, free: 15.08 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002161/0.2754, allocations: 198.9 kB / 329.6 MB, free: 14.85 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.2755, allocations: 7.375 kB / 329.6 MB, free: 14.85 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.025e-05/0.2755, allocations: 15 kB / 329.6 MB, free: 14.84 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002237/0.2757, allocations: 88.47 kB / 329.7 MB, free: 14.78 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.2757, allocations: 0 / 329.7 MB, free: 14.78 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.2758, allocations: 5.438 kB / 329.7 MB, free: 14.77 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.2758, allocations: 2.375 kB / 329.7 MB, free: 14.77 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001324/0.2759, allocations: 55.16 kB / 329.8 MB, free: 14.75 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008084/0.2767, allocations: 496.6 kB / 330.3 MB, free: 14.28 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002419/0.277, allocations: 81.41 kB / 330.4 MB, free: 14.23 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.989e-05/0.277, allocations: 27.83 kB / 330.4 MB, free: 14.21 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.289e-05/0.2771, allocations: 3.953 kB / 330.4 MB, free: 14.2 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/0.2771, allocations: 36 kB / 330.4 MB, free: 14.16 MB / 270.1 MB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.2771, allocations: 0 / 330.4 MB, free: 14.16 MB / 270.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002523/0.2774, allocations: 103.8 kB / 330.5 MB, free: 14.09 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.2774, allocations: 56.84 kB / 330.6 MB, free: 14.02 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.935e-05/0.2775, allocations: 116.2 kB / 330.7 MB, free: 13.91 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.2775, allocations: 25.7 kB / 330.7 MB, free: 13.88 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.383e-05/0.2776, allocations: 109.2 kB / 330.8 MB, free: 13.78 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.18e-05/0.2777, allocations: 30.89 kB / 330.9 MB, free: 13.75 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.595e-06/0.2777, allocations: 5.156 kB / 330.9 MB, free: 13.75 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.2778, allocations: 317.1 kB / 331.2 MB, free: 13.43 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.827e-05/0.2778, allocations: 23.02 kB / 331.2 MB, free: 13.42 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.564e-05/0.2779, allocations: 54.95 kB / 331.3 MB, free: 13.37 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.153e-05/0.278, allocations: 30.22 kB / 331.3 MB, free: 13.35 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.278, allocations: 1.281 kB / 331.3 MB, free: 13.35 MB / 270.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001772/0.2782, allocations: 110.6 kB / 331.4 MB, free: 13.28 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.2782, allocations: 9.109 kB / 331.4 MB, free: 13.28 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.2782, allocations: 1.188 kB / 331.4 MB, free: 13.28 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.2782, allocations: 1.062 kB / 331.4 MB, free: 13.28 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.2784, allocations: 28.94 kB / 331.4 MB, free: 13.27 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.2784, allocations: 4.984 kB / 331.4 MB, free: 13.27 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.127e-05/0.2785, allocations: 7.531 kB / 331.4 MB, free: 13.26 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.2785, allocations: 4.344 kB / 331.4 MB, free: 13.26 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 (13): * Single equations (assignments): 13 * 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.0001198/0.2786, allocations: 126 kB / 331.6 MB, free: 13.13 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.866e-05/0.2786, allocations: 7.578 kB / 331.6 MB, free: 13.13 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.211e-05/0.2787, allocations: 13.36 kB / 331.6 MB, free: 13.12 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.2787, allocations: 2.031 kB / 331.6 MB, free: 13.12 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.2787, allocations: 0 / 331.6 MB, free: 13.12 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.2787, allocations: 0 / 331.6 MB, free: 13.12 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002451/0.279, allocations: 206.6 kB / 331.8 MB, free: 12.89 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.279, allocations: 5 kB / 331.8 MB, free: 12.88 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001291/0.2791, allocations: 21.64 kB / 331.8 MB, free: 12.88 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.2791, allocations: 4 kB / 331.8 MB, free: 12.88 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.2791, allocations: 0.9688 kB / 331.8 MB, free: 12.88 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.2791, allocations: 5.016 kB / 331.8 MB, free: 12.87 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2792, allocations: 3.938 kB / 331.8 MB, free: 12.87 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002963/0.2795, allocations: 209 kB / 332 MB, free: 12.69 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.71e-05/0.2795, allocations: 83.05 kB / 332.1 MB, free: 12.59 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.2796, allocations: 1.031 kB / 332.1 MB, free: 12.59 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.468e-05/0.2796, allocations: 1.906 kB / 332.1 MB, free: 12.59 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.014e-05/0.2797, allocations: 14.02 kB / 332.1 MB, free: 12.58 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.2797, allocations: 6.156 kB / 332.1 MB, free: 12.58 MB / 270.1 MB Notification: Performance of sorting global known variables: time 6.206e-05/0.2798, allocations: 92.58 kB / 332.2 MB, free: 12.5 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2798, allocations: 0 / 332.2 MB, free: 12.5 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002515/0.28, allocations: 20.78 kB / 332.3 MB, free: 12.5 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (eddyCurrentTorque.phi,inertia.w,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 (8): * Single equations (assignments): 8 * 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.0001229/0.2801, allocations: 100.2 kB / 332.3 MB, free: 12.4 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0001549/0.2803, allocations: 54.73 kB / 332.4 MB, free: 12.38 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.2803, allocations: 5.312 kB / 332.4 MB, free: 12.38 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 4.734e-05/0.2804, allocations: 31.77 kB / 332.4 MB, free: 12.36 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003757/0.2808, allocations: 19.02 kB / 332.5 MB, free: 12.35 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008033/0.2816, allocations: 0.5219 MB / 333 MB, free: 11.91 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/0.2819, allocations: 0.6955 MB / 333.7 MB, free: 11.21 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 5.459e-05/0.282, allocations: 13.08 kB / 333.7 MB, free: 11.2 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.332e-05/0.282, allocations: 11.5 kB / 333.7 MB, free: 11.19 MB / 270.1 MB Notification: Performance of SimCode: time 2.8e-07/0.282, allocations: 0 / 333.7 MB, free: 11.19 MB / 270.1 MB Notification: Performance of Templates: time 0.003279/0.2853, allocations: 0.8358 MB / 334.5 MB, free: 10.76 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & ./Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1)