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.0016/0.001599, 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.002156/0.002156, allocations: 194.8 kB / 16.25 MB, free: 6.621 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.571/1.571, allocations: 205.1 MB / 222.1 MB, free: 4.73 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.001268/0.001268, allocations: 51.92 kB / 278.2 MB, free: 12.67 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.3047, allocations: 46.63 MB / 324.8 MB, free: 1.895 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003139/0.3079, allocations: 1.824 MB / 326.7 MB, free: 476 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001128/0.309, allocations: 0.6712 MB / 327.3 MB, free: 15.93 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.3092, allocations: 2.156 kB / 327.3 MB, free: 15.93 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001681/0.3094, allocations: 8.891 kB / 327.4 MB, free: 15.92 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.434e-05/0.3095, allocations: 40.81 kB / 327.4 MB, free: 15.88 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003548/0.3098, allocations: 40.08 kB / 327.4 MB, free: 15.85 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002571/0.3101, allocations: 121.5 kB / 327.6 MB, free: 15.78 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000173/0.3103, allocations: 31.02 kB / 327.6 MB, free: 15.76 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.955e-05/0.3104, allocations: 47.98 kB / 327.6 MB, free: 15.73 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001421/0.3105, allocations: 48.08 kB / 327.7 MB, free: 15.7 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.503e-05/0.3106, allocations: 8.344 kB / 327.7 MB, free: 15.7 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001179/0.3107, allocations: 27.11 kB / 327.7 MB, free: 15.7 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.962e-05/0.3107, allocations: 18.88 kB / 327.7 MB, free: 15.68 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.313e-05/0.3108, allocations: 55.33 kB / 327.8 MB, free: 15.64 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002385/0.3111, allocations: 127 kB / 327.9 MB, free: 15.56 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.748e-06/0.3111, allocations: 0 / 327.9 MB, free: 15.56 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3111, allocations: 0 / 327.9 MB, free: 15.56 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.3111, allocations: 1.719 kB / 327.9 MB, free: 15.56 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.0006393/0.3117, allocations: 416.7 kB / 328.3 MB, free: 15.14 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.589e-05/0.3118, allocations: 13.72 kB / 328.3 MB, free: 15.14 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002265/0.312, allocations: 24.11 kB / 328.4 MB, free: 15.13 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002495/0.3123, allocations: 201.2 kB / 328.5 MB, free: 14.91 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.3123, allocations: 8.484 kB / 328.6 MB, free: 14.9 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.541e-05/0.3124, allocations: 10.31 kB / 328.6 MB, free: 14.9 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002686/0.3127, allocations: 95.47 kB / 328.7 MB, free: 14.83 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.3127, allocations: 1.25 kB / 328.7 MB, free: 14.83 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.3127, allocations: 0 / 328.7 MB, free: 14.83 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.3127, allocations: 2.406 kB / 328.7 MB, free: 14.83 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001494/0.3129, allocations: 69.81 kB / 328.7 MB, free: 14.79 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007276/0.3136, allocations: 444.9 kB / 329.2 MB, free: 14.37 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003162/0.3139, allocations: 107.9 kB / 329.3 MB, free: 14.3 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.211e-05/0.314, allocations: 36.06 kB / 329.3 MB, free: 14.28 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.431e-05/0.314, allocations: 1.406 kB / 329.3 MB, free: 14.28 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.3141, allocations: 31.84 kB / 329.3 MB, free: 14.24 MB / 270.1 MB Notification: Performance of pre-optimization done (n=11): time 1.202e-06/0.3141, allocations: 224 / 329.3 MB, free: 14.24 MB / 270.1 MB Notification: Performance of matching and sorting (n=12): time 0.001386/0.3155, allocations: 0.5293 MB / 329.9 MB, free: 13.78 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.3155, allocations: 56.69 kB / 329.9 MB, free: 13.71 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.3156, allocations: 126.3 kB / 330 MB, free: 13.59 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.3157, allocations: 26.86 kB / 330.1 MB, free: 13.56 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.954e-05/0.3157, allocations: 111.3 kB / 330.2 MB, free: 13.45 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.255e-05/0.3158, allocations: 40.8 kB / 330.2 MB, free: 13.41 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.007e-05/0.3158, allocations: 31.62 kB / 330.3 MB, free: 13.39 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.3159, allocations: 321.2 kB / 330.6 MB, free: 13.07 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.814e-05/0.316, allocations: 27.58 kB / 330.6 MB, free: 13.05 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.596e-05/0.3161, allocations: 54.64 kB / 330.6 MB, free: 13.01 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/0.3163, allocations: 102 kB / 330.7 MB, free: 12.93 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3163, allocations: 0.875 kB / 330.7 MB, free: 12.93 MB / 270.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002121/0.3165, allocations: 134.6 kB / 330.9 MB, free: 12.85 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.3165, allocations: 8.031 kB / 330.9 MB, free: 12.85 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.3165, allocations: 1.156 kB / 330.9 MB, free: 12.85 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.3165, allocations: 1.5 kB / 330.9 MB, free: 12.85 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/0.3167, allocations: 34.11 kB / 330.9 MB, free: 12.84 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.3167, allocations: 5.25 kB / 330.9 MB, free: 12.84 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.983e-05/0.3168, allocations: 6.312 kB / 330.9 MB, free: 12.84 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.3168, allocations: 8.5 kB / 330.9 MB, free: 12.83 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001271/0.3169, allocations: 118.8 kB / 331.1 MB, free: 12.71 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.265e-05/0.317, allocations: 8.281 kB / 331.1 MB, free: 12.71 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.061e-05/0.317, allocations: 26.48 kB / 331.1 MB, free: 12.68 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.317, allocations: 4.844 kB / 331.1 MB, free: 12.68 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.3171, allocations: 1.125 kB / 331.1 MB, free: 12.68 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.615e-06/0.3171, allocations: 7.938 kB / 331.1 MB, free: 12.67 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005824/0.3177, allocations: 423.6 kB / 331.5 MB, free: 12.27 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.3177, allocations: 5.156 kB / 331.5 MB, free: 12.27 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001732/0.3179, allocations: 26.7 kB / 331.6 MB, free: 12.26 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.3179, allocations: 5 kB / 331.6 MB, free: 12.26 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.3179, allocations: 2.156 kB / 331.6 MB, free: 12.26 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.3179, allocations: 5.125 kB / 331.6 MB, free: 12.25 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.3179, allocations: 1.5 kB / 331.6 MB, free: 12.25 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003001/0.3182, allocations: 256.1 kB / 331.8 MB, free: 12.04 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.168e-05/0.3183, allocations: 84.67 kB / 331.9 MB, free: 11.95 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.557e-05/0.3183, allocations: 5.875 kB / 331.9 MB, free: 11.94 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.099e-05/0.3184, allocations: 5.031 kB / 331.9 MB, free: 11.94 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.885e-05/0.3184, allocations: 12.38 kB / 331.9 MB, free: 11.93 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.3185, allocations: 3.469 kB / 331.9 MB, free: 11.93 MB / 270.1 MB Notification: Performance of sorting global known variables: time 6.312e-05/0.3185, allocations: 93.05 kB / 332 MB, free: 11.85 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3185, allocations: 0 / 332 MB, free: 11.85 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002632/0.3188, allocations: 26.22 kB / 332 MB, free: 11.84 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 (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.0001296/0.3189, allocations: 101.2 kB / 332.1 MB, free: 11.75 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0002286/0.3192, allocations: 84.19 kB / 332.2 MB, free: 11.71 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.3192, allocations: 5.469 kB / 332.2 MB, free: 11.71 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 6.524e-05/0.3193, allocations: 38.52 kB / 332.3 MB, free: 11.69 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004428/0.3197, allocations: 20.67 kB / 332.3 MB, free: 11.68 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000885/0.3206, allocations: 0.4969 MB / 332.8 MB, free: 11.27 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002948/0.3209, allocations: 0.7062 MB / 333.5 MB, free: 10.55 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 6.567e-05/0.321, allocations: 13.31 kB / 333.5 MB, free: 10.55 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.034e-05/0.321, allocations: 13.38 kB / 333.5 MB, free: 10.54 MB / 270.1 MB Notification: Performance of SimCode: time 2.1e-07/0.321, allocations: 0 / 333.5 MB, free: 10.54 MB / 270.1 MB Notification: Performance of Templates: time 0.003829/0.3249, allocations: 1.099 MB / 334.6 MB, free: 9.82 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile (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)