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.009233/0.009232, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001896/0.001896, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.584/1.584, allocations: 205.1 MB / 222.6 MB, free: 4.504 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.001117/0.001118, allocations: 49.61 kB / 326.5 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08619/0.08731, allocations: 46.64 MB / 373.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.002785/0.09013, allocations: 1.751 MB / 374.9 MB, free: 15.55 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009885/0.09113, allocations: 0.694 MB / 375.6 MB, free: 14.84 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.929e-05/0.09122, allocations: 4 kB / 375.6 MB, free: 14.84 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001146/0.09135, allocations: 15.86 kB / 375.6 MB, free: 14.82 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.475e-05/0.09143, allocations: 31.7 kB / 375.7 MB, free: 14.79 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002164/0.09165, allocations: 47.81 kB / 375.7 MB, free: 14.75 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000163/0.09183, allocations: 127.4 kB / 375.8 MB, free: 14.62 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.09196, allocations: 25.33 kB / 375.9 MB, free: 14.6 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.457e-05/0.09203, allocations: 55.78 kB / 375.9 MB, free: 14.54 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.997e-05/0.09213, allocations: 47.78 kB / 376 MB, free: 14.5 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.925e-05/0.09216, allocations: 8 kB / 376 MB, free: 14.49 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.44e-05/0.09225, allocations: 24 kB / 376 MB, free: 14.46 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.37e-05/0.09228, allocations: 19.92 kB / 376 MB, free: 14.45 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.775e-05/0.09234, allocations: 43.8 kB / 376.1 MB, free: 14.4 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002107/0.09256, allocations: 135.6 kB / 376.2 MB, free: 14.27 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.09257, allocations: 0 / 376.2 MB, free: 14.27 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.09258, allocations: 3.938 kB / 376.2 MB, free: 14.27 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.0926, allocations: 4 kB / 376.2 MB, free: 14.26 MB / 318.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.0004973/0.0931, allocations: 411.3 kB / 376.6 MB, free: 13.81 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.09314, allocations: 12.03 kB / 376.6 MB, free: 13.8 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001875/0.09333, allocations: 24.73 kB / 376.6 MB, free: 13.78 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/0.09357, allocations: 196.1 kB / 376.8 MB, free: 13.55 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.09359, allocations: 8.562 kB / 376.8 MB, free: 13.54 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.197e-05/0.09363, allocations: 12.31 kB / 376.8 MB, free: 13.53 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.09382, allocations: 97.59 kB / 376.9 MB, free: 13.43 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.09384, allocations: 4 kB / 376.9 MB, free: 13.42 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.09386, allocations: 4 kB / 376.9 MB, free: 13.42 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.09387, allocations: 7.938 kB / 377 MB, free: 13.41 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001254/0.094, allocations: 55.97 kB / 377 MB, free: 13.36 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006809/0.09469, allocations: 451.5 kB / 377.4 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002614/0.09496, allocations: 110.6 kB / 377.6 MB, free: 12.74 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.451e-05/0.09503, allocations: 28.84 kB / 377.6 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.937e-06/0.09504, allocations: 4 kB / 377.6 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.09507, allocations: 34.56 kB / 377.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 1.232e-06/0.09507, allocations: 0 / 377.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.001313/0.09639, allocations: 0.5226 MB / 378.1 MB, free: 12.07 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/0.09644, allocations: 51.41 kB / 378.2 MB, free: 12.01 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.556e-05/0.09654, allocations: 133.9 kB / 378.3 MB, free: 11.86 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.09657, allocations: 33.7 kB / 378.4 MB, free: 11.82 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.226e-05/0.09663, allocations: 99.94 kB / 378.5 MB, free: 11.72 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.99e-05/0.09667, allocations: 47.38 kB / 378.5 MB, free: 11.68 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-05/0.09673, allocations: 25.72 kB / 378.5 MB, free: 11.64 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.09683, allocations: 322.8 kB / 378.8 MB, free: 11.32 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.046e-05/0.0969, allocations: 35.89 kB / 378.9 MB, free: 11.29 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.117e-05/0.09699, allocations: 59.42 kB / 378.9 MB, free: 11.21 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.09713, allocations: 100.1 kB / 379 MB, free: 11.11 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.09714, allocations: 0 / 379 MB, free: 11.11 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002009/0.09735, allocations: 129.5 kB / 379.2 MB, free: 10.97 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.09737, allocations: 4.312 kB / 379.2 MB, free: 10.97 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.09738, allocations: 0 / 379.2 MB, free: 10.97 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.0974, allocations: 12 kB / 379.2 MB, free: 10.96 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.09754, allocations: 27.98 kB / 379.2 MB, free: 10.93 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.09755, allocations: 4 kB / 379.2 MB, free: 10.93 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.184e-05/0.09762, allocations: 7.938 kB / 379.2 MB, free: 10.92 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.09764, allocations: 4 kB / 379.2 MB, free: 10.91 MB / 318.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.876e-05/0.09773, allocations: 125.7 kB / 379.3 MB, free: 10.78 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.29e-05/0.09777, allocations: 7.906 kB / 379.3 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.464e-05/0.09783, allocations: 20.36 kB / 379.4 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.09784, allocations: 7.938 kB / 379.4 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.09785, allocations: 0 / 379.4 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.09786, allocations: 3.938 kB / 379.4 MB, free: 10.74 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005323/0.09839, allocations: 416.1 kB / 379.8 MB, free: 10.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.09841, allocations: 0 / 379.8 MB, free: 10.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001499/0.09857, allocations: 27.98 kB / 379.8 MB, free: 10.25 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.09858, allocations: 7.938 kB / 379.8 MB, free: 10.24 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.0986, allocations: 8.062 kB / 379.8 MB, free: 10.23 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.09861, allocations: 0 / 379.8 MB, free: 10.23 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.09861, allocations: 4 kB / 379.8 MB, free: 10.23 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002759/0.09889, allocations: 245 kB / 380.1 MB, free: 9.965 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.717e-05/0.09894, allocations: 85.02 kB / 380.2 MB, free: 9.863 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.738e-05/0.09898, allocations: 15.94 kB / 380.2 MB, free: 9.848 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.853e-05/0.09907, allocations: 7.938 kB / 380.2 MB, free: 9.84 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.613e-05/0.0991, allocations: 8.031 kB / 380.2 MB, free: 9.832 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.09912, allocations: 4 kB / 380.2 MB, free: 9.828 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.138e-05/0.09918, allocations: 95.27 kB / 380.3 MB, free: 9.734 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09919, allocations: 0 / 380.3 MB, free: 9.734 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002759/0.09947, allocations: 28 kB / 380.3 MB, free: 9.707 MB / 318.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.777e-05/0.09956, allocations: 99.17 kB / 380.4 MB, free: 9.602 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001789/0.09975, allocations: 84.05 kB / 380.5 MB, free: 9.52 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.09976, allocations: 0 / 380.5 MB, free: 9.52 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.881e-05/0.09982, allocations: 39.92 kB / 380.5 MB, free: 9.48 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.1002, allocations: 32.25 kB / 380.6 MB, free: 9.449 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006878/0.1009, allocations: 468.2 kB / 381 MB, free: 8.961 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000292/0.1012, allocations: 0.7002 MB / 381.7 MB, free: 8.234 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.502e-05/0.1012, allocations: 8.891 kB / 381.7 MB, free: 8.223 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.49e-05/0.1013, allocations: 15.44 kB / 381.7 MB, free: 8.207 MB / 318.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1013, allocations: 0 / 381.7 MB, free: 8.207 MB / 318.1 MB Notification: Performance of Templates: time 0.003595/0.1049, allocations: 1.137 MB / 382.9 MB, free: 7.07 MB / 318.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)