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.001168/0.001168, allocations: 86.95 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.001447/0.001447, 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.798/1.798, 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.0004793/0.0004794, allocations: 12 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2503, allocations: 47.59 MB / 326.5 MB, free: 1.402 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.001483/0.2518, allocations: 1.452 MB / 327.9 MB, free: 264 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008184/0.2526, allocations: 0.6345 MB / 328.6 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.505e-05/0.2527, allocations: 2 kB / 328.6 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 9.446e-05/0.2528, allocations: 17.95 kB / 328.6 MB, free: 15.73 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.21e-05/0.2529, allocations: 27.33 kB / 328.6 MB, free: 15.71 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001789/0.2531, allocations: 36.64 kB / 328.6 MB, free: 15.68 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001482/0.2532, allocations: 116.4 kB / 328.8 MB, free: 15.61 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.2533, allocations: 31.58 kB / 328.8 MB, free: 15.59 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.263e-05/0.2534, allocations: 35.14 kB / 328.8 MB, free: 15.57 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.322e-05/0.2535, allocations: 44.62 kB / 328.9 MB, free: 15.55 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.2535, allocations: 4.844 kB / 328.9 MB, free: 15.55 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.411e-05/0.2536, allocations: 22.11 kB / 328.9 MB, free: 15.54 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.911e-05/0.2536, allocations: 19.56 kB / 328.9 MB, free: 15.52 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.402e-05/0.2537, allocations: 39.7 kB / 328.9 MB, free: 15.49 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001308/0.2538, allocations: 91.95 kB / 329 MB, free: 15.43 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.289e-06/0.2538, allocations: 3.938 kB / 329 MB, free: 15.43 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2538, allocations: 1.5 kB / 329 MB, free: 15.43 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.2538, 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.0004984/0.2543, allocations: 395.5 kB / 329.4 MB, free: 15.02 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.2544, allocations: 9.812 kB / 329.4 MB, free: 15.02 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001707/0.2546, allocations: 23.08 kB / 329.5 MB, free: 15.02 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001875/0.2547, allocations: 199.9 kB / 329.7 MB, free: 14.79 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.2548, allocations: 3.594 kB / 329.7 MB, free: 14.79 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.854e-05/0.2548, allocations: 14.88 kB / 329.7 MB, free: 14.78 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.255, allocations: 96.22 kB / 329.8 MB, free: 14.71 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.255, allocations: 0 / 329.8 MB, free: 14.71 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.255, allocations: 1.438 kB / 329.8 MB, free: 14.71 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.255, allocations: 2.875 kB / 329.8 MB, free: 14.71 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001295/0.2552, allocations: 60.78 kB / 329.8 MB, free: 14.68 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006251/0.2558, allocations: 450.9 kB / 330.3 MB, free: 14.26 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002561/0.2561, allocations: 95.67 kB / 330.4 MB, free: 14.2 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.657e-05/0.2561, allocations: 34.52 kB / 330.4 MB, free: 14.18 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.2562, allocations: 5.828 kB / 330.4 MB, free: 14.18 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.2562, allocations: 31.56 kB / 330.4 MB, free: 14.14 MB / 270.1 MB Notification: Performance of pre-optimization done (n=11): time 1.152e-06/0.2562, allocations: 4 kB / 330.4 MB, free: 14.13 MB / 270.1 MB Notification: Performance of matching and sorting (n=12): time 0.001193/0.2574, allocations: 0.5333 MB / 331 MB, free: 13.67 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/0.2574, allocations: 51.41 kB / 331 MB, free: 13.61 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.723e-05/0.2575, allocations: 125.8 kB / 331.1 MB, free: 13.48 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.2576, allocations: 26.73 kB / 331.2 MB, free: 13.45 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.488e-05/0.2576, allocations: 112.2 kB / 331.3 MB, free: 13.34 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.405e-05/0.2577, allocations: 44.31 kB / 331.3 MB, free: 13.3 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.124e-06/0.2577, allocations: 5.031 kB / 331.3 MB, free: 13.3 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.2578, allocations: 320.9 kB / 331.6 MB, free: 12.98 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.329e-05/0.2578, allocations: 27.83 kB / 331.7 MB, free: 12.97 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.211e-05/0.2579, allocations: 62.12 kB / 331.7 MB, free: 12.91 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.674e-05/0.258, allocations: 42.16 kB / 331.8 MB, free: 12.89 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.258, allocations: 0.9375 kB / 331.8 MB, free: 12.89 MB / 270.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001944/0.2582, allocations: 125.4 kB / 331.9 MB, free: 12.82 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.2582, allocations: 9.938 kB / 331.9 MB, free: 12.81 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.2583, allocations: 4.891 kB / 331.9 MB, free: 12.81 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.2583, allocations: 2 kB / 331.9 MB, free: 12.81 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.2584, allocations: 32.83 kB / 331.9 MB, free: 12.8 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.2584, allocations: 2.812 kB / 331.9 MB, free: 12.8 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.193e-05/0.2585, allocations: 5.781 kB / 332 MB, free: 12.8 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.2585, allocations: 4.609 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 8.137e-05/0.2586, allocations: 118.7 kB / 332.1 MB, free: 12.68 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.237e-05/0.2586, allocations: 15.92 kB / 332.1 MB, free: 12.66 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.092e-05/0.2587, allocations: 22.36 kB / 332.1 MB, free: 12.64 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.2587, allocations: 6.547 kB / 332.1 MB, free: 12.64 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.2587, allocations: 0 / 332.1 MB, free: 12.64 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2587, allocations: 0 / 332.1 MB, free: 12.64 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004957/0.2592, allocations: 419.6 kB / 332.5 MB, free: 12.24 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.2592, allocations: 5.125 kB / 332.5 MB, free: 12.24 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001441/0.2594, allocations: 34.97 kB / 332.6 MB, free: 12.23 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.2594, allocations: 1.094 kB / 332.6 MB, free: 12.23 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.2594, allocations: 6.125 kB / 332.6 MB, free: 12.22 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.2594, allocations: 1.031 kB / 332.6 MB, free: 12.22 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2594, allocations: 0.875 kB / 332.6 MB, free: 12.22 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00027/0.2597, allocations: 252.6 kB / 332.8 MB, free: 12.02 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.855e-05/0.2597, allocations: 83.52 kB / 332.9 MB, free: 11.92 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.336e-05/0.2598, allocations: 13.92 kB / 332.9 MB, free: 11.91 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.996e-05/0.2599, allocations: 2.25 kB / 332.9 MB, free: 11.91 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.363e-05/0.2599, allocations: 12.03 kB / 332.9 MB, free: 11.9 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.2599, allocations: 6.281 kB / 332.9 MB, free: 11.89 MB / 270.1 MB Notification: Performance of sorting global known variables: time 5.645e-05/0.26, allocations: 101 kB / 333 MB, free: 11.8 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.26, allocations: 0 / 333 MB, free: 11.8 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002675/0.2602, allocations: 25.97 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 9.001e-05/0.2603, allocations: 97.66 kB / 333.2 MB, free: 11.71 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0001574/0.2605, allocations: 78.72 kB / 333.2 MB, free: 11.68 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2605, allocations: 3.938 kB / 333.2 MB, free: 11.67 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 5.871e-05/0.2606, allocations: 43.14 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.0003447/0.2609, allocations: 12.91 kB / 333.3 MB, free: 11.65 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007762/0.2617, allocations: 0.5484 MB / 333.8 MB, free: 11.19 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/0.262, allocations: 0.7059 MB / 334.5 MB, free: 10.48 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 6.342e-05/0.2621, allocations: 14.86 kB / 334.6 MB, free: 10.46 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.298e-05/0.2621, allocations: 13.38 kB / 334.6 MB, free: 10.46 MB / 270.1 MB Notification: Performance of SimCode: time 1.893e-06/0.2622, allocations: 4 kB / 334.6 MB, free: 10.45 MB / 270.1 MB Notification: Performance of Templates: time 0.003184/0.2653, allocations: 1.017 MB / 335.6 MB, free: 9.891 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)