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.001134/0.001134, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001125/0.001126, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.632/1.632, allocations: 205.1 MB / 222.4 MB, free: 4.562 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.001689/0.001689, allocations: 56.39 kB / 278.7 MB, free: 12.38 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3028, allocations: 46.64 MB / 325.3 MB, free: 1.852 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003321/0.3062, allocations: 1.765 MB / 327.1 MB, free: 472 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001045/0.3073, allocations: 0.6802 MB / 327.8 MB, free: 15.91 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.75e-05/0.3074, allocations: 1.312 kB / 327.8 MB, free: 15.91 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001255/0.3075, allocations: 26.5 kB / 327.8 MB, free: 15.89 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.481e-05/0.3076, allocations: 31.45 kB / 327.8 MB, free: 15.86 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000276/0.3079, allocations: 44.28 kB / 327.9 MB, free: 15.83 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000196/0.3081, allocations: 125.9 kB / 328 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001588/0.3083, allocations: 35.61 kB / 328 MB, free: 15.73 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.599e-05/0.3084, allocations: 44.02 kB / 328.1 MB, free: 15.71 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.3085, allocations: 48.16 kB / 328.1 MB, free: 15.68 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.525e-05/0.3085, allocations: 8.156 kB / 328.1 MB, free: 15.68 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.3086, allocations: 26.73 kB / 328.1 MB, free: 15.67 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.66e-05/0.3086, allocations: 18.36 kB / 328.2 MB, free: 15.65 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.967e-05/0.3087, allocations: 58.33 kB / 328.2 MB, free: 15.61 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002412/0.309, allocations: 124.2 kB / 328.3 MB, free: 15.54 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.309, allocations: 4 kB / 328.3 MB, free: 15.53 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.309, allocations: 0 / 328.3 MB, free: 15.53 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.309, allocations: 1.156 kB / 328.3 MB, free: 15.53 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.0006608/0.3097, allocations: 413.4 kB / 328.7 MB, free: 15.12 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.3097, allocations: 9.5 kB / 328.8 MB, free: 15.12 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002059/0.3099, allocations: 24.45 kB / 328.8 MB, free: 15.11 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.3102, allocations: 200.3 kB / 329 MB, free: 14.88 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.3102, allocations: 8.031 kB / 329 MB, free: 14.88 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.93e-05/0.3102, allocations: 11.69 kB / 329 MB, free: 14.88 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000221/0.3105, allocations: 91.69 kB / 329.1 MB, free: 14.81 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/0.3105, allocations: 0 / 329.1 MB, free: 14.81 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.036e-05/0.3105, allocations: 5.344 kB / 329.1 MB, free: 14.8 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.689e-06/0.3105, allocations: 2.875 kB / 329.1 MB, free: 14.8 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001646/0.3107, allocations: 60.56 kB / 329.1 MB, free: 14.78 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008786/0.3116, allocations: 453.5 kB / 329.6 MB, free: 14.35 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000328/0.3119, allocations: 100.3 kB / 329.7 MB, free: 14.29 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.504e-05/0.312, allocations: 35.12 kB / 329.7 MB, free: 14.27 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.312, allocations: 2.031 kB / 329.7 MB, free: 14.27 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.3121, allocations: 35.78 kB / 329.8 MB, free: 14.22 MB / 270.1 MB Notification: Performance of pre-optimization done (n=11): time 1.273e-06/0.3121, allocations: 0 / 329.8 MB, free: 14.22 MB / 270.1 MB Notification: Performance of matching and sorting (n=12): time 0.001471/0.3136, allocations: 0.5308 MB / 330.3 MB, free: 13.76 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.3136, allocations: 52.78 kB / 330.3 MB, free: 13.7 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.3138, allocations: 125.9 kB / 330.5 MB, free: 13.57 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.3138, allocations: 30.73 kB / 330.5 MB, free: 13.54 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.789e-05/0.3139, allocations: 107.4 kB / 330.6 MB, free: 13.43 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.718e-05/0.3139, allocations: 41.08 kB / 330.6 MB, free: 13.4 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.791e-05/0.314, allocations: 31.03 kB / 330.7 MB, free: 13.37 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.3141, allocations: 325.7 kB / 331 MB, free: 13.05 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.882e-05/0.3142, allocations: 31.05 kB / 331 MB, free: 13.03 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.264e-05/0.3143, allocations: 55.45 kB / 331.1 MB, free: 12.98 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.3144, allocations: 100.6 kB / 331.2 MB, free: 12.91 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3144, allocations: 1.062 kB / 331.2 MB, free: 12.91 MB / 270.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002432/0.3147, allocations: 130.1 kB / 331.3 MB, free: 12.83 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.3147, allocations: 5.875 kB / 331.3 MB, free: 12.83 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.3147, allocations: 1.016 kB / 331.3 MB, free: 12.83 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.3148, allocations: 5.109 kB / 331.3 MB, free: 12.83 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.3149, allocations: 37.98 kB / 331.3 MB, free: 12.82 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.3149, allocations: 2.125 kB / 331.4 MB, free: 12.82 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.72e-05/0.315, allocations: 9.094 kB / 331.4 MB, free: 12.81 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.315, allocations: 8.719 kB / 331.4 MB, free: 12.8 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.0001225/0.3152, allocations: 117.9 kB / 331.5 MB, free: 12.68 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.771e-05/0.3152, allocations: 9.594 kB / 331.5 MB, free: 12.68 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.992e-05/0.3153, allocations: 13.47 kB / 331.5 MB, free: 12.67 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.946e-06/0.3153, allocations: 5.234 kB / 331.5 MB, free: 12.66 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.3153, allocations: 5.406 kB / 331.5 MB, free: 12.66 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.3153, allocations: 3.938 kB / 331.5 MB, free: 12.66 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006417/0.3159, allocations: 427.5 kB / 331.9 MB, free: 12.25 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.316, allocations: 1.188 kB / 331.9 MB, free: 12.25 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001656/0.3161, allocations: 34.86 kB / 332 MB, free: 12.24 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.787e-06/0.3162, allocations: 6.062 kB / 332 MB, free: 12.23 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.3162, allocations: 0 / 332 MB, free: 12.23 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.3162, allocations: 1.375 kB / 332 MB, free: 12.23 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.3162, allocations: 1.531 kB / 332 MB, free: 12.23 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000367/0.3166, allocations: 252.5 kB / 332.2 MB, free: 12.03 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.991e-05/0.3166, allocations: 84.45 kB / 332.3 MB, free: 11.93 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.921e-05/0.3167, allocations: 9.062 kB / 332.3 MB, free: 11.92 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.588e-05/0.3168, allocations: 2.281 kB / 332.3 MB, free: 11.92 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.88e-05/0.3168, allocations: 11.38 kB / 332.3 MB, free: 11.91 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.3168, allocations: 7.281 kB / 332.3 MB, free: 11.91 MB / 270.1 MB Notification: Performance of sorting global known variables: time 8.891e-05/0.3169, allocations: 101.8 kB / 332.4 MB, free: 11.82 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3169, allocations: 0 / 332.4 MB, free: 11.82 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000298/0.3172, allocations: 26.12 kB / 332.5 MB, free: 11.82 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.000156/0.3174, allocations: 97.42 kB / 332.6 MB, free: 11.72 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0002975/0.3177, allocations: 88.44 kB / 332.6 MB, free: 11.68 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3177, allocations: 0 / 332.6 MB, free: 11.68 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 8.649e-05/0.3178, allocations: 39.7 kB / 332.7 MB, free: 11.67 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006168/0.3184, allocations: 24.3 kB / 332.7 MB, free: 11.66 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.3195, allocations: 469.2 kB / 333.2 MB, free: 11.28 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003854/0.3199, allocations: 0.702 MB / 333.9 MB, free: 10.57 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 8.338e-05/0.32, allocations: 14.5 kB / 333.9 MB, free: 10.57 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.264e-05/0.3201, allocations: 16.25 kB / 333.9 MB, free: 10.55 MB / 270.1 MB Notification: Performance of SimCode: time 2e-07/0.3201, allocations: 1.125 kB / 333.9 MB, free: 10.55 MB / 270.1 MB Notification: Performance of Templates: time 0.004376/0.3245, allocations: 1.102 MB / 335 MB, free: 9.715 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)