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.001174/0.001174, allocations: 100 kB / 15.05 MB, free: 1.105 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.001378/0.001379, allocations: 177.3 kB / 15.95 MB, free: 216 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.694/1.694, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.0005069/0.000507, allocations: 12 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.305, allocations: 47.58 MB / 326.4 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.001983/0.3071, allocations: 1.405 MB / 327.8 MB, free: 320 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009971/0.3081, allocations: 0.6234 MB / 328.5 MB, free: 15.82 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.075e-05/0.3082, allocations: 5.188 kB / 328.5 MB, free: 15.82 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 3.945e-05/0.3082, allocations: 13.3 kB / 328.5 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001568/0.3084, allocations: 48.86 kB / 328.5 MB, free: 15.76 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002298/0.3086, allocations: 39.75 kB / 328.6 MB, free: 15.73 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001902/0.3088, allocations: 78.27 kB / 328.6 MB, free: 15.69 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/0.309, allocations: 35.89 kB / 328.7 MB, free: 15.66 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.218e-05/0.309, allocations: 29.52 kB / 328.7 MB, free: 15.65 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.3092, allocations: 44 kB / 328.8 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.049e-05/0.3092, allocations: 4.969 kB / 328.8 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.263e-05/0.3093, allocations: 29.81 kB / 328.8 MB, free: 15.61 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.159e-05/0.3093, allocations: 15.23 kB / 328.8 MB, free: 15.6 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.457e-05/0.3094, allocations: 43.11 kB / 328.8 MB, free: 15.56 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001601/0.3095, allocations: 96.91 kB / 328.9 MB, free: 15.5 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.3095, allocations: 0 / 328.9 MB, free: 15.5 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3095, allocations: 0 / 328.9 MB, free: 15.5 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.658e-06/0.3096, allocations: 0 / 328.9 MB, free: 15.5 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.00074/0.3103, allocations: 386.7 kB / 329.3 MB, free: 15.1 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.3104, allocations: 9.594 kB / 329.3 MB, free: 15.1 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002233/0.3106, allocations: 31.44 kB / 329.4 MB, free: 15.09 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002965/0.3109, allocations: 194.9 kB / 329.6 MB, free: 14.86 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.3109, allocations: 4.375 kB / 329.6 MB, free: 14.86 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.13e-05/0.311, allocations: 14.84 kB / 329.6 MB, free: 14.86 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002148/0.3112, allocations: 94.83 kB / 329.7 MB, free: 14.79 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.3112, allocations: 1.125 kB / 329.7 MB, free: 14.79 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.3112, allocations: 1.031 kB / 329.7 MB, free: 14.79 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.3112, allocations: 2.281 kB / 329.7 MB, free: 14.79 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001631/0.3114, allocations: 61.03 kB / 329.7 MB, free: 14.76 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008233/0.3122, allocations: 446.5 kB / 330.2 MB, free: 14.34 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003068/0.3126, allocations: 100.6 kB / 330.3 MB, free: 14.28 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.3126, allocations: 9.156 kB / 330.3 MB, free: 14.27 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.3126, allocations: 35.78 kB / 330.3 MB, free: 14.23 MB / 270.1 MB Notification: Performance of pre-optimization done (n=11): time 1.443e-06/0.3126, allocations: 0 / 330.3 MB, free: 14.23 MB / 270.1 MB Notification: Performance of matching and sorting (n=12): time 0.00136/0.314, allocations: 0.5268 MB / 330.8 MB, free: 13.77 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/0.314, allocations: 52.41 kB / 330.9 MB, free: 13.7 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.3142, allocations: 121.8 kB / 331 MB, free: 13.59 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.3142, allocations: 30.89 kB / 331 MB, free: 13.55 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.703e-05/0.3143, allocations: 104.3 kB / 331.1 MB, free: 13.45 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.66e-05/0.3143, allocations: 52.5 kB / 331.2 MB, free: 13.4 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.734e-06/0.3143, allocations: 4 kB / 331.2 MB, free: 13.4 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001911/0.3145, allocations: 317.9 kB / 331.5 MB, free: 13.08 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.673e-05/0.3146, allocations: 30.7 kB / 331.5 MB, free: 13.07 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.641e-05/0.3147, allocations: 62.66 kB / 331.6 MB, free: 13.01 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.726e-05/0.3148, allocations: 42.86 kB / 331.6 MB, free: 12.99 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3148, allocations: 4 kB / 331.6 MB, free: 12.98 MB / 270.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002093/0.315, allocations: 129.7 kB / 331.8 MB, free: 12.91 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.315, allocations: 5.531 kB / 331.8 MB, free: 12.91 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.315, allocations: 5.297 kB / 331.8 MB, free: 12.9 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.315, allocations: 6.359 kB / 331.8 MB, free: 12.9 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.3152, allocations: 32.61 kB / 331.8 MB, free: 12.89 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.3152, allocations: 2.188 kB / 331.8 MB, free: 12.89 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001343/0.3154, allocations: 7.031 kB / 331.8 MB, free: 12.89 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.3154, allocations: 7.281 kB / 331.8 MB, free: 12.88 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 0.0001022/0.3155, allocations: 119.3 kB / 331.9 MB, free: 12.76 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.024e-05/0.3155, allocations: 8.5 kB / 332 MB, free: 12.76 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.877e-05/0.3156, allocations: 17.56 kB / 332 MB, free: 12.74 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.3156, allocations: 10.47 kB / 332 MB, free: 12.73 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.3156, allocations: 0 / 332 MB, free: 12.73 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.3156, allocations: 0 / 332 MB, free: 12.73 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005605/0.3162, allocations: 423.7 kB / 332.4 MB, free: 12.33 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.3162, allocations: 5.219 kB / 332.4 MB, free: 12.33 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001864/0.3164, allocations: 30.3 kB / 332.4 MB, free: 12.32 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.3164, allocations: 6.016 kB / 332.4 MB, free: 12.32 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.3164, allocations: 4.969 kB / 332.4 MB, free: 12.31 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.3164, allocations: 2.438 kB / 332.4 MB, free: 12.31 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3164, allocations: 0 / 332.4 MB, free: 12.31 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003221/0.3167, allocations: 275.7 kB / 332.7 MB, free: 12.07 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.521e-05/0.3168, allocations: 84.2 kB / 332.8 MB, free: 11.97 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.3168, allocations: 9.938 kB / 332.8 MB, free: 11.96 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.998e-05/0.3169, allocations: 2.156 kB / 332.8 MB, free: 11.96 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.528e-05/0.317, allocations: 19.69 kB / 332.8 MB, free: 11.95 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.848e-06/0.317, allocations: 2.75 kB / 332.8 MB, free: 11.95 MB / 270.1 MB Notification: Performance of sorting global known variables: time 7.605e-05/0.3171, allocations: 98.11 kB / 332.9 MB, free: 11.86 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3171, allocations: 0 / 332.9 MB, free: 11.86 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002818/0.3174, allocations: 24.81 kB / 332.9 MB, free: 11.86 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 0.0001534/0.3175, allocations: 93.78 kB / 333 MB, free: 11.77 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0002041/0.3177, allocations: 83.47 kB / 333.1 MB, free: 11.73 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.3177, allocations: 128 / 333.1 MB, free: 11.73 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.3179, allocations: 51.36 kB / 333.2 MB, free: 11.71 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000287/0.3182, allocations: 15.17 kB / 333.2 MB, free: 11.7 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000844/0.319, allocations: 0.5525 MB / 333.7 MB, free: 11.23 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002714/0.3193, allocations: 0.7032 MB / 334.4 MB, free: 10.53 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 6.377e-05/0.3194, allocations: 13.78 kB / 334.5 MB, free: 10.52 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.792e-05/0.3194, allocations: 12.72 kB / 334.5 MB, free: 10.51 MB / 270.1 MB Notification: Performance of SimCode: time 1.603e-06/0.3194, allocations: 1 kB / 334.5 MB, free: 10.51 MB / 270.1 MB Notification: Performance of Templates: time 0.003631/0.323, allocations: 1.016 MB / 335.5 MB, free: 9.969 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: