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.001547/0.001547, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001887/0.001887, allocations: 198.5 kB / 16.14 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.584/1.584, allocations: 205.1 MB / 222 MB, free: 4.977 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.001524/0.001524, allocations: 52.39 kB / 278 MB, free: 13.02 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2632/0.2647, allocations: 46.62 MB / 324.7 MB, free: 2.156 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.002779/0.2675, allocations: 1.831 MB / 326.5 MB, free: 0.7188 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009105/0.2685, allocations: 0.6769 MB / 327.2 MB, free: 180 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.198e-05/0.2686, allocations: 6.156 kB / 327.2 MB, free: 176 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001199/0.2687, allocations: 12.92 kB / 327.2 MB, free: 164 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 6.212e-05/0.2688, allocations: 32.7 kB / 327.2 MB, free: 136 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001753/0.2689, allocations: 38.86 kB / 327.3 MB, free: 104 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001193/0.2691, allocations: 116.8 kB / 327.4 MB, free: 36 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.2692, allocations: 24.55 kB / 327.4 MB, free: 20 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.782e-05/0.2692, allocations: 40.33 kB / 327.4 MB, free: 0 / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.648e-05/0.2694, allocations: 47.55 kB / 327.5 MB, free: 15.96 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.2694, allocations: 5.188 kB / 327.5 MB, free: 15.96 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.932e-05/0.2695, allocations: 23.89 kB / 327.5 MB, free: 15.96 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.483e-05/0.2695, allocations: 22.19 kB / 327.5 MB, free: 15.94 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.54e-05/0.2696, allocations: 46.7 kB / 327.6 MB, free: 15.91 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001971/0.2698, allocations: 126.9 kB / 327.7 MB, free: 15.83 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2698, allocations: 0 / 327.7 MB, free: 15.83 MB / 270.1 MB Notification: Performance of FrontEnd: time 8.02e-07/0.2698, allocations: 0 / 327.7 MB, free: 15.83 MB / 270.1 MB Notification: Performance of Transformations before backend: time 3.938e-06/0.2698, allocations: 0 / 327.7 MB, free: 15.83 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.0005128/0.2703, allocations: 418.9 kB / 328.1 MB, free: 15.41 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.2703, allocations: 8.438 kB / 328.1 MB, free: 15.41 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001914/0.2705, allocations: 24.39 kB / 328.2 MB, free: 15.4 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002052/0.2708, allocations: 193 kB / 328.3 MB, free: 15.18 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.2708, allocations: 4.469 kB / 328.3 MB, free: 15.18 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.563e-05/0.2708, allocations: 10.94 kB / 328.4 MB, free: 15.18 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.271, allocations: 98.97 kB / 328.5 MB, free: 15.11 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.2711, allocations: 5.281 kB / 328.5 MB, free: 15.1 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.2711, allocations: 1.219 kB / 328.5 MB, free: 15.1 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.2711, allocations: 2.375 kB / 328.5 MB, free: 15.1 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000152/0.2713, allocations: 65.08 kB / 328.5 MB, free: 15.07 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007482/0.272, allocations: 448.9 kB / 329 MB, free: 14.65 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003136/0.2723, allocations: 108.2 kB / 329.1 MB, free: 14.58 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.904e-05/0.2724, allocations: 43.53 kB / 329.1 MB, free: 14.55 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.205e-05/0.2724, allocations: 1.219 kB / 329.1 MB, free: 14.55 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.2725, allocations: 35.66 kB / 329.1 MB, free: 14.51 MB / 270.1 MB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.2725, allocations: 0 / 329.1 MB, free: 14.51 MB / 270.1 MB Notification: Performance of matching and sorting (n=12): time 0.001399/0.2739, allocations: 0.5296 MB / 329.7 MB, free: 14.04 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/0.2739, allocations: 52.81 kB / 329.7 MB, free: 13.98 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.274, allocations: 126.6 kB / 329.9 MB, free: 13.86 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.2741, allocations: 26.92 kB / 329.9 MB, free: 13.83 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.032e-05/0.2741, allocations: 107.4 kB / 330 MB, free: 13.72 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.791e-05/0.2742, allocations: 41.23 kB / 330 MB, free: 13.69 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.607e-05/0.2742, allocations: 34.83 kB / 330.1 MB, free: 13.66 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.2744, allocations: 317.3 kB / 330.4 MB, free: 13.34 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.381e-05/0.2744, allocations: 27.45 kB / 330.4 MB, free: 13.33 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.723e-05/0.2745, allocations: 62.72 kB / 330.5 MB, free: 13.27 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.2747, allocations: 89.44 kB / 330.5 MB, free: 13.21 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.2747, allocations: 0 / 330.5 MB, free: 13.21 MB / 270.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001946/0.2749, allocations: 139.3 kB / 330.7 MB, free: 13.12 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.2749, allocations: 5.406 kB / 330.7 MB, free: 13.12 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.2749, allocations: 5.375 kB / 330.7 MB, free: 13.12 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.2749, allocations: 2.156 kB / 330.7 MB, free: 13.12 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.2751, allocations: 29.27 kB / 330.7 MB, free: 13.12 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.2751, allocations: 2.188 kB / 330.7 MB, free: 13.12 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.019e-05/0.2752, allocations: 6.094 kB / 330.7 MB, free: 13.11 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.2752, allocations: 8.469 kB / 330.7 MB, free: 13.11 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.248e-05/0.2753, allocations: 122.4 kB / 330.9 MB, free: 12.98 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.292e-05/0.2753, allocations: 8.25 kB / 330.9 MB, free: 12.98 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.642e-05/0.2754, allocations: 22.84 kB / 330.9 MB, free: 12.96 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.2754, allocations: 1.156 kB / 330.9 MB, free: 12.96 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.2754, allocations: 0 / 330.9 MB, free: 12.96 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.2754, allocations: 5.031 kB / 330.9 MB, free: 12.96 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005404/0.2759, allocations: 427.6 kB / 331.3 MB, free: 12.55 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.276, allocations: 9.109 kB / 331.3 MB, free: 12.54 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001516/0.2761, allocations: 22.75 kB / 331.3 MB, free: 12.54 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.2761, allocations: 9.062 kB / 331.4 MB, free: 12.54 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.2762, allocations: 5.047 kB / 331.4 MB, free: 12.53 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.2762, allocations: 1.875 kB / 331.4 MB, free: 12.53 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.2762, allocations: 1.188 kB / 331.4 MB, free: 12.53 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002883/0.2765, allocations: 252.3 kB / 331.6 MB, free: 12.32 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.555e-05/0.2765, allocations: 84.75 kB / 331.7 MB, free: 12.23 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/0.2766, allocations: 18.05 kB / 331.7 MB, free: 12.21 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.248e-05/0.2767, allocations: 5.125 kB / 331.7 MB, free: 12.21 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.801e-05/0.2767, allocations: 4.406 kB / 331.7 MB, free: 12.21 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.2767, allocations: 3.25 kB / 331.7 MB, free: 12.21 MB / 270.1 MB Notification: Performance of sorting global known variables: time 5.03e-05/0.2767, allocations: 93.2 kB / 331.8 MB, free: 12.12 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2767, allocations: 0 / 331.8 MB, free: 12.12 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002481/0.277, allocations: 25.78 kB / 331.8 MB, free: 12.12 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.0001265/0.2771, allocations: 110 kB / 331.9 MB, free: 12.02 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0001904/0.2773, allocations: 82.55 kB / 332 MB, free: 11.98 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2773, allocations: 1 kB / 332 MB, free: 11.98 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 6.795e-05/0.2774, allocations: 39.86 kB / 332.1 MB, free: 11.96 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004312/0.2779, allocations: 23.61 kB / 332.1 MB, free: 11.95 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007969/0.2787, allocations: 0.4902 MB / 332.6 MB, free: 11.55 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002423/0.2789, allocations: 0.7055 MB / 333.3 MB, free: 10.84 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 6.338e-05/0.279, allocations: 9.125 kB / 333.3 MB, free: 10.83 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.486e-05/0.279, allocations: 13.12 kB / 333.3 MB, free: 10.82 MB / 270.1 MB Notification: Performance of SimCode: time 2.3e-07/0.279, allocations: 1.219 kB / 333.3 MB, free: 10.82 MB / 270.1 MB Notification: Performance of Templates: time 0.003291/0.2823, allocations: 1.055 MB / 334.4 MB, free: 10.25 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)