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.001129/0.001129, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00186/0.001861, allocations: 190.4 kB / 16.25 MB, free: 6.617 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.628/1.628, allocations: 205.1 MB / 222.1 MB, free: 4.715 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.001425/0.001425, allocations: 47.94 kB / 278.2 MB, free: 12.7 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.287/0.2885, allocations: 46.63 MB / 324.8 MB, free: 1.949 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.002852/0.2913, allocations: 1.818 MB / 326.7 MB, free: 0.5234 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009045/0.2923, allocations: 0.6797 MB / 327.3 MB, free: 15.97 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.059e-05/0.2924, allocations: 0.7188 kB / 327.3 MB, free: 15.97 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000128/0.2925, allocations: 11.02 kB / 327.3 MB, free: 15.96 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.069e-05/0.2926, allocations: 36.83 kB / 327.4 MB, free: 15.93 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002317/0.2928, allocations: 44.77 kB / 327.4 MB, free: 15.9 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001503/0.293, allocations: 115.6 kB / 327.5 MB, free: 15.84 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.2931, allocations: 28.59 kB / 327.6 MB, free: 15.82 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.957e-05/0.2932, allocations: 48.03 kB / 327.6 MB, free: 15.79 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.224e-05/0.2933, allocations: 44.17 kB / 327.7 MB, free: 15.77 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.964e-05/0.2933, allocations: 6.844 kB / 327.7 MB, free: 15.77 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.373e-05/0.2934, allocations: 27.2 kB / 327.7 MB, free: 15.76 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.24e-05/0.2935, allocations: 18.3 kB / 327.7 MB, free: 15.74 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.422e-05/0.2935, allocations: 47.2 kB / 327.8 MB, free: 15.71 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001964/0.2937, allocations: 135.1 kB / 327.9 MB, free: 15.62 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.2937, allocations: 0 / 327.9 MB, free: 15.62 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2937, allocations: 5.406 kB / 327.9 MB, free: 15.62 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.2937, allocations: 0 / 327.9 MB, free: 15.62 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.0005619/0.2943, allocations: 407.1 kB / 328.3 MB, free: 15.21 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.2944, allocations: 9.812 kB / 328.3 MB, free: 15.21 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001894/0.2946, allocations: 23.67 kB / 328.3 MB, free: 15.2 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001944/0.2948, allocations: 192.5 kB / 328.5 MB, free: 14.98 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.2948, allocations: 8.562 kB / 328.5 MB, free: 14.98 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.861e-05/0.2948, allocations: 14.53 kB / 328.5 MB, free: 14.97 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/0.295, allocations: 91.84 kB / 328.6 MB, free: 14.91 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.295, allocations: 0 / 328.6 MB, free: 14.91 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.295, allocations: 5.219 kB / 328.6 MB, free: 14.9 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.2951, allocations: 2.375 kB / 328.6 MB, free: 14.9 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000123/0.2952, allocations: 59.56 kB / 328.7 MB, free: 14.88 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007409/0.2959, allocations: 495 kB / 329.2 MB, free: 14.4 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002519/0.2962, allocations: 81.2 kB / 329.3 MB, free: 14.35 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.614e-05/0.2963, allocations: 28.27 kB / 329.3 MB, free: 14.33 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.454e-05/0.2963, allocations: 1.281 kB / 329.3 MB, free: 14.33 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.2963, allocations: 35.91 kB / 329.3 MB, free: 14.29 MB / 270.1 MB Notification: Performance of pre-optimization done (n=8): time 2.575e-06/0.2963, allocations: 0 / 329.3 MB, free: 14.29 MB / 270.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002408/0.2966, allocations: 99.09 kB / 329.4 MB, free: 14.22 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.2966, allocations: 56.66 kB / 329.5 MB, free: 14.16 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.091e-05/0.2967, allocations: 121.4 kB / 329.6 MB, free: 14.04 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.2967, allocations: 25.7 kB / 329.6 MB, free: 14.01 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.386e-05/0.2968, allocations: 112.5 kB / 329.7 MB, free: 13.9 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.072e-05/0.2968, allocations: 32.08 kB / 329.8 MB, free: 13.88 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.487e-05/0.2969, allocations: 33.31 kB / 329.8 MB, free: 13.84 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.297, allocations: 320.2 kB / 330.1 MB, free: 13.52 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.382e-05/0.2971, allocations: 19.72 kB / 330.1 MB, free: 13.52 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.213e-05/0.2971, allocations: 47.58 kB / 330.2 MB, free: 13.47 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.2973, allocations: 87.73 kB / 330.3 MB, free: 13.4 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.2973, allocations: 4 kB / 330.3 MB, free: 13.4 MB / 270.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001561/0.2974, allocations: 104 kB / 330.4 MB, free: 13.34 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.2974, allocations: 5.562 kB / 330.4 MB, free: 13.34 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.2975, allocations: 1.219 kB / 330.4 MB, free: 13.34 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.2975, allocations: 1.281 kB / 330.4 MB, free: 13.34 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.2976, allocations: 32.67 kB / 330.4 MB, free: 13.32 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.2976, allocations: 4.875 kB / 330.4 MB, free: 13.32 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.236e-05/0.2977, allocations: 7.812 kB / 330.4 MB, free: 13.32 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.2977, allocations: 3.406 kB / 330.4 MB, free: 13.32 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.044e-05/0.2978, allocations: 126.2 kB / 330.5 MB, free: 13.19 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.011e-05/0.2978, allocations: 8.438 kB / 330.5 MB, free: 13.18 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.613e-05/0.2979, allocations: 9.531 kB / 330.6 MB, free: 13.18 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.551e-05/0.2979, allocations: 1.062 kB / 330.6 MB, free: 13.18 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.2979, allocations: 7.875 kB / 330.6 MB, free: 13.17 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.2979, allocations: 1.188 kB / 330.6 MB, free: 13.17 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002471/0.2981, allocations: 206.5 kB / 330.8 MB, free: 12.94 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2982, allocations: 4 kB / 330.8 MB, free: 12.93 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001252/0.2983, allocations: 21.42 kB / 330.8 MB, free: 12.93 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.2983, allocations: 1.062 kB / 330.8 MB, free: 12.93 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.2983, allocations: 1.031 kB / 330.8 MB, free: 12.93 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2983, allocations: 0 / 330.8 MB, free: 12.93 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.2983, allocations: 5.219 kB / 330.8 MB, free: 12.93 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002328/0.2986, allocations: 208.5 kB / 331 MB, free: 12.75 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.676e-05/0.2986, allocations: 79.52 kB / 331.1 MB, free: 12.66 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.2987, allocations: 5.219 kB / 331.1 MB, free: 12.65 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.069e-05/0.2987, allocations: 1.188 kB / 331.1 MB, free: 12.65 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.913e-05/0.2988, allocations: 14.09 kB / 331.1 MB, free: 12.64 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.762e-06/0.2988, allocations: 6.094 kB / 331.1 MB, free: 12.64 MB / 270.1 MB Notification: Performance of sorting global known variables: time 4.745e-05/0.2988, allocations: 92.17 kB / 331.2 MB, free: 12.55 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2988, allocations: 0.9688 kB / 331.2 MB, free: 12.55 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002467/0.2991, allocations: 27.72 kB / 331.2 MB, free: 12.55 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.0001134/0.2992, allocations: 97.39 kB / 331.3 MB, free: 12.45 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0001563/0.2994, allocations: 64.61 kB / 331.4 MB, free: 12.43 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2994, allocations: 0 / 331.4 MB, free: 12.43 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 4.463e-05/0.2994, allocations: 36.81 kB / 331.4 MB, free: 12.41 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003941/0.2998, allocations: 10.81 kB / 331.4 MB, free: 12.4 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007682/0.3006, allocations: 473.5 kB / 331.9 MB, free: 12.02 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002729/0.3009, allocations: 0.7025 MB / 332.6 MB, free: 11.31 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 5.448e-05/0.301, allocations: 9.344 kB / 332.6 MB, free: 11.3 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.156e-05/0.301, allocations: 10.81 kB / 332.6 MB, free: 11.3 MB / 270.1 MB Notification: Performance of SimCode: time 2.21e-07/0.301, allocations: 0 / 332.6 MB, free: 11.3 MB / 270.1 MB Notification: Performance of Templates: time 0.003218/0.3042, allocations: 0.9086 MB / 333.5 MB, free: 10.83 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)