Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.0009691/0.000974, allocations: 86.08 kB / 16.31 MB, free: 6.449 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.002024/0.002024, allocations: 179 kB / 17.21 MB, free: 6.32 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.656/1.656, allocations: 205.4 MB / 223.4 MB, free: 5.246 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.0006437/0.0006437, allocations: 12 kB / 280.1 MB, free: 12.67 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.2866, allocations: 47.59 MB / 327.7 MB, free: 1.469 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.001944/0.2886, allocations: 1.44 MB / 329.2 MB, free: 344 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009261/0.2896, allocations: 0.643 MB / 329.8 MB, free: 15.82 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.223e-05/0.2897, allocations: 1.094 kB / 329.8 MB, free: 15.82 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001124/0.2898, allocations: 10.11 kB / 329.8 MB, free: 15.81 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.586e-05/0.2899, allocations: 31.92 kB / 329.9 MB, free: 15.79 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002211/0.2901, allocations: 39.52 kB / 329.9 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001642/0.2903, allocations: 112.5 kB / 330 MB, free: 15.69 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.2904, allocations: 22.5 kB / 330 MB, free: 15.68 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.007e-05/0.2905, allocations: 39.41 kB / 330.1 MB, free: 15.66 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.901e-05/0.2906, allocations: 39.09 kB / 330.1 MB, free: 15.63 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.622e-05/0.2906, allocations: 4.469 kB / 330.1 MB, free: 15.63 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.33e-05/0.2907, allocations: 18.5 kB / 330.1 MB, free: 15.63 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.849e-05/0.2907, allocations: 14.48 kB / 330.1 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.272e-05/0.2908, allocations: 44.61 kB / 330.2 MB, free: 15.58 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001512/0.2909, allocations: 95.61 kB / 330.3 MB, free: 15.52 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.2909, allocations: 4 kB / 330.3 MB, free: 15.51 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2909, allocations: 0 / 330.3 MB, free: 15.51 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.2909, allocations: 1.438 kB / 330.3 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.0005076/0.2915, allocations: 381.7 kB / 330.7 MB, free: 15.12 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.2915, allocations: 8.625 kB / 330.7 MB, free: 15.12 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001724/0.2917, allocations: 23.3 kB / 330.7 MB, free: 15.11 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001941/0.2919, allocations: 202.8 kB / 330.9 MB, free: 14.88 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.2919, allocations: 8.469 kB / 330.9 MB, free: 14.88 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.373e-05/0.2919, allocations: 13.89 kB / 330.9 MB, free: 14.87 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002161/0.2922, allocations: 92.56 kB / 331 MB, free: 14.8 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.2922, allocations: 1.438 kB / 331 MB, free: 14.8 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.2922, allocations: 0 / 331 MB, free: 14.8 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.2922, allocations: 2.688 kB / 331 MB, free: 14.8 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001302/0.2923, allocations: 63.47 kB / 331.1 MB, free: 14.77 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007603/0.2931, allocations: 485 kB / 331.5 MB, free: 14.31 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000233/0.2934, allocations: 84.3 kB / 331.6 MB, free: 14.26 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.921e-05/0.2934, allocations: 27.3 kB / 331.6 MB, free: 14.24 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.2934, allocations: 9.266 kB / 331.7 MB, free: 14.23 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.2935, allocations: 31.91 kB / 331.7 MB, free: 14.19 MB / 270.1 MB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.2935, allocations: 0 / 331.7 MB, free: 14.19 MB / 270.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002369/0.2937, allocations: 99.8 kB / 331.8 MB, free: 14.12 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.195e-05/0.2938, allocations: 56.47 kB / 331.8 MB, free: 14.06 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.463e-05/0.2939, allocations: 120.4 kB / 332 MB, free: 13.95 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.2939, allocations: 25.7 kB / 332 MB, free: 13.91 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.764e-05/0.2939, allocations: 109.5 kB / 332.1 MB, free: 13.81 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.529e-05/0.294, allocations: 31 kB / 332.1 MB, free: 13.78 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-06/0.294, allocations: 1 kB / 332.1 MB, free: 13.78 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.2941, allocations: 321 kB / 332.4 MB, free: 13.46 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.372e-05/0.2942, allocations: 22.39 kB / 332.5 MB, free: 13.45 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.982e-05/0.2942, allocations: 50.75 kB / 332.5 MB, free: 13.4 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.925e-05/0.2943, allocations: 35.34 kB / 332.5 MB, free: 13.38 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2943, allocations: 0 / 332.5 MB, free: 13.38 MB / 270.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001625/0.2945, allocations: 111.2 kB / 332.6 MB, free: 13.31 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.2945, allocations: 8.609 kB / 332.7 MB, free: 13.31 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.2945, allocations: 0.9688 kB / 332.7 MB, free: 13.31 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.2945, allocations: 2.281 kB / 332.7 MB, free: 13.31 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.2946, allocations: 23.98 kB / 332.7 MB, free: 13.3 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.2947, allocations: 2.031 kB / 332.7 MB, free: 13.3 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.5e-05/0.2947, allocations: 11.72 kB / 332.7 MB, free: 13.3 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.2947, allocations: 7.594 kB / 332.7 MB, free: 13.29 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 8.803e-05/0.2948, allocations: 122 kB / 332.8 MB, free: 13.17 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.784e-05/0.2949, allocations: 7.656 kB / 332.8 MB, free: 13.16 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.766e-05/0.2949, allocations: 13.67 kB / 332.8 MB, free: 13.15 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.2949, allocations: 0.9688 kB / 332.8 MB, free: 13.15 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.2949, allocations: 1.219 kB / 332.8 MB, free: 13.15 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.2949, allocations: 0 / 332.8 MB, free: 13.15 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002101/0.2952, allocations: 206.5 kB / 333 MB, free: 12.92 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2952, allocations: 5.375 kB / 333.1 MB, free: 12.92 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.2953, allocations: 24.64 kB / 333.1 MB, free: 12.91 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.2953, allocations: 1.406 kB / 333.1 MB, free: 12.91 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.2953, allocations: 8 kB / 333.1 MB, free: 12.9 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.2953, allocations: 5.391 kB / 333.1 MB, free: 12.9 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2953, allocations: 3.938 kB / 333.1 MB, free: 12.89 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002439/0.2956, allocations: 200.2 kB / 333.3 MB, free: 12.73 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.849e-05/0.2956, allocations: 83.86 kB / 333.4 MB, free: 12.63 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/0.2957, allocations: 5.312 kB / 333.4 MB, free: 12.62 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.543e-05/0.2958, allocations: 5.281 kB / 333.4 MB, free: 12.62 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.26e-05/0.2958, allocations: 14.75 kB / 333.4 MB, free: 12.61 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.2958, allocations: 1.406 kB / 333.4 MB, free: 12.61 MB / 270.1 MB Notification: Performance of sorting global known variables: time 4.837e-05/0.2958, allocations: 91.95 kB / 333.5 MB, free: 12.53 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2959, allocations: 0 / 333.5 MB, free: 12.53 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002421/0.2961, allocations: 25.16 kB / 333.5 MB, free: 12.52 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.0001052/0.2962, allocations: 92.19 kB / 333.6 MB, free: 12.43 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0001474/0.2964, allocations: 63.27 kB / 333.7 MB, free: 12.41 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.2964, allocations: 0 / 333.7 MB, free: 12.41 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 4.329e-05/0.2964, allocations: 31.86 kB / 333.7 MB, free: 12.39 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003368/0.2968, allocations: 15.5 kB / 333.7 MB, free: 12.38 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007974/0.2976, allocations: 0.5215 MB / 334.2 MB, free: 11.95 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002954/0.2979, allocations: 0.7002 MB / 334.9 MB, free: 11.24 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 6.031e-05/0.2979, allocations: 15.94 kB / 334.9 MB, free: 11.23 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.204e-05/0.298, allocations: 11.06 kB / 335 MB, free: 11.22 MB / 270.1 MB Notification: Performance of SimCode: time 2.2e-07/0.298, allocations: 1.125 kB / 335 MB, free: 11.22 MB / 270.1 MB Notification: Performance of Templates: time 0.003766/0.3018, allocations: 0.8288 MB / 335.8 MB, free: 10.8 MB / 270.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & ./Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1)