Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.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.002099/0.0021, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.002478/0.002478, allocations: 191.7 kB / 16.14 MB, free: 6.734 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.664/1.664, allocations: 205.1 MB / 222 MB, free: 4.973 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.001127/0.001127, allocations: 39.94 kB / 278 MB, free: 13.02 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2814/0.2826, allocations: 46.63 MB / 324.7 MB, free: 1.816 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003413/0.286, allocations: 1.815 MB / 326.5 MB, free: 404 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001079/0.2871, allocations: 0.6812 MB / 327.2 MB, free: 15.84 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.796e-05/0.2872, allocations: 1.5 kB / 327.2 MB, free: 15.84 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001297/0.2874, allocations: 13.36 kB / 327.2 MB, free: 15.83 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.24e-05/0.2875, allocations: 35.39 kB / 327.2 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000217/0.2877, allocations: 37.11 kB / 327.3 MB, free: 15.77 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001673/0.2879, allocations: 114.3 kB / 327.4 MB, free: 15.71 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.288, allocations: 27.23 kB / 327.4 MB, free: 15.7 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.287e-05/0.2881, allocations: 43.61 kB / 327.4 MB, free: 15.67 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.2882, allocations: 43.81 kB / 327.5 MB, free: 15.64 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.2882, allocations: 5.344 kB / 327.5 MB, free: 15.64 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.769e-05/0.2883, allocations: 22.67 kB / 327.5 MB, free: 15.64 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.591e-05/0.2884, allocations: 23.7 kB / 327.5 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.234e-05/0.2884, allocations: 46.27 kB / 327.6 MB, free: 15.59 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002286/0.2887, allocations: 121.2 kB / 327.7 MB, free: 15.51 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.2887, allocations: 1.219 kB / 327.7 MB, free: 15.51 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.2887, allocations: 0 / 327.7 MB, free: 15.51 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.78e-06/0.2887, allocations: 0 / 327.7 MB, free: 15.51 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.0007045/0.2894, allocations: 408.2 kB / 328.1 MB, free: 15.1 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.2895, allocations: 8.906 kB / 328.1 MB, free: 15.1 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002261/0.2897, allocations: 29.42 kB / 328.1 MB, free: 15.09 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002384/0.2899, allocations: 195.2 kB / 328.3 MB, free: 14.87 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.29, allocations: 4.219 kB / 328.3 MB, free: 14.87 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.247e-05/0.29, allocations: 15.72 kB / 328.3 MB, free: 14.86 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002235/0.2902, allocations: 94.78 kB / 328.4 MB, free: 14.79 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.2903, allocations: 0 / 328.4 MB, free: 14.79 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.2903, allocations: 1.125 kB / 328.4 MB, free: 14.79 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.659e-06/0.2903, allocations: 2.281 kB / 328.4 MB, free: 14.79 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001632/0.2905, allocations: 66.72 kB / 328.5 MB, free: 14.75 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008698/0.2913, allocations: 490.9 kB / 329 MB, free: 14.29 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002871/0.2916, allocations: 86.66 kB / 329.1 MB, free: 14.23 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.128e-05/0.2917, allocations: 30.81 kB / 329.1 MB, free: 14.21 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.2917, allocations: 1.344 kB / 329.1 MB, free: 14.21 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.61e-05/0.2918, allocations: 31.72 kB / 329.1 MB, free: 14.17 MB / 270.1 MB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.2918, allocations: 0 / 329.1 MB, free: 14.17 MB / 270.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002507/0.292, allocations: 100 kB / 329.2 MB, free: 14.1 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/0.2921, allocations: 56.53 kB / 329.3 MB, free: 14.04 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.2922, allocations: 124.4 kB / 329.4 MB, free: 13.92 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.2922, allocations: 31.02 kB / 329.4 MB, free: 13.88 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.167e-05/0.2923, allocations: 108.8 kB / 329.5 MB, free: 13.78 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.046e-05/0.2923, allocations: 31.45 kB / 329.6 MB, free: 13.75 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.89e-05/0.2924, allocations: 29.33 kB / 329.6 MB, free: 13.72 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.2925, allocations: 312.2 kB / 329.9 MB, free: 13.41 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.586e-05/0.2926, allocations: 23.92 kB / 329.9 MB, free: 13.4 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.386e-05/0.2926, allocations: 51.39 kB / 330 MB, free: 13.35 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001082/0.2928, allocations: 76.66 kB / 330 MB, free: 13.29 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.2928, allocations: 0 / 330 MB, free: 13.29 MB / 270.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001768/0.293, allocations: 114.8 kB / 330.2 MB, free: 13.22 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.293, allocations: 6 kB / 330.2 MB, free: 13.22 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.293, allocations: 0.9375 kB / 330.2 MB, free: 13.22 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.293, allocations: 5.531 kB / 330.2 MB, free: 13.21 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.2931, allocations: 28.89 kB / 330.2 MB, free: 13.21 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.2932, allocations: 5.406 kB / 330.2 MB, free: 13.2 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.09e-05/0.2932, allocations: 8.031 kB / 330.2 MB, free: 13.2 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.2933, allocations: 2.5 kB / 330.2 MB, free: 13.2 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.825e-05/0.2934, allocations: 127.2 kB / 330.3 MB, free: 13.07 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.982e-05/0.2934, allocations: 6.562 kB / 330.3 MB, free: 13.07 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.542e-05/0.2934, allocations: 13.78 kB / 330.4 MB, free: 13.05 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.2934, allocations: 5.438 kB / 330.4 MB, free: 13.05 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.2935, allocations: 5.219 kB / 330.4 MB, free: 13.05 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.2935, allocations: 3.984 kB / 330.4 MB, free: 13.04 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002274/0.2937, allocations: 202.8 kB / 330.6 MB, free: 12.82 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2937, allocations: 0 / 330.6 MB, free: 12.82 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001535/0.2939, allocations: 21.23 kB / 330.6 MB, free: 12.81 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.2939, allocations: 1.25 kB / 330.6 MB, free: 12.81 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.2939, allocations: 4 kB / 330.6 MB, free: 12.81 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.2939, allocations: 1.156 kB / 330.6 MB, free: 12.81 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.2939, allocations: 3.938 kB / 330.6 MB, free: 12.8 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003502/0.2943, allocations: 201.9 kB / 330.8 MB, free: 12.64 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.907e-05/0.2943, allocations: 79.86 kB / 330.9 MB, free: 12.54 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.2944, allocations: 4 kB / 330.9 MB, free: 12.54 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.439e-05/0.2945, allocations: 9.344 kB / 330.9 MB, free: 12.53 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.2946, allocations: 10.47 kB / 330.9 MB, free: 12.52 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.112e-06/0.2946, allocations: 2.562 kB / 330.9 MB, free: 12.52 MB / 270.1 MB Notification: Performance of sorting global known variables: time 5.852e-05/0.2946, allocations: 92.11 kB / 331 MB, free: 12.44 MB / 270.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.2947, allocations: 0 / 331 MB, free: 12.44 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000264/0.2949, allocations: 37.16 kB / 331 MB, free: 12.43 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 (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.0001245/0.2951, allocations: 92.78 kB / 331.1 MB, free: 12.34 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0001724/0.2952, allocations: 62.69 kB / 331.2 MB, free: 12.31 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2952, allocations: 1.375 kB / 331.2 MB, free: 12.31 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 4.746e-05/0.2953, allocations: 27.55 kB / 331.2 MB, free: 12.3 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004245/0.2957, allocations: 16.08 kB / 331.2 MB, free: 12.29 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000887/0.2966, allocations: 473.5 kB / 331.7 MB, free: 11.91 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004182/0.2971, allocations: 0.7042 MB / 332.4 MB, free: 11.2 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 5.935e-05/0.2971, allocations: 7.266 kB / 332.4 MB, free: 11.19 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.189e-05/0.2972, allocations: 12.66 kB / 332.4 MB, free: 11.18 MB / 270.1 MB Notification: Performance of SimCode: time 6.51e-07/0.2972, allocations: 192 / 332.4 MB, free: 11.18 MB / 270.1 MB Notification: Performance of Templates: time 0.003558/0.3007, allocations: 0.8753 MB / 333.3 MB, free: 10.73 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile (rm -f Modelica_3.1_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & ./Modelica_3.1_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1)