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.001492/0.001493, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001509/0.001509, allocations: 195.5 kB / 16.14 MB, free: 6.66 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.575/1.575, allocations: 205.1 MB / 222 MB, free: 4.727 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.001402/0.001402, allocations: 59.92 kB / 278.1 MB, free: 12.76 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3062, allocations: 46.62 MB / 324.7 MB, free: 1.941 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.00354/0.3098, allocations: 1.811 MB / 326.5 MB, free: 0.5234 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001458/0.3113, allocations: 0.6877 MB / 327.2 MB, free: 15.97 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/0.3115, allocations: 0 / 327.2 MB, free: 15.97 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001684/0.3117, allocations: 8.484 kB / 327.2 MB, free: 15.96 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.708e-05/0.3118, allocations: 37.05 kB / 327.2 MB, free: 15.93 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002518/0.312, allocations: 35.23 kB / 327.3 MB, free: 15.91 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001575/0.3122, allocations: 116.2 kB / 327.4 MB, free: 15.84 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.3124, allocations: 21.91 kB / 327.4 MB, free: 15.83 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.856e-05/0.3124, allocations: 47.19 kB / 327.4 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.3126, allocations: 47.62 kB / 327.5 MB, free: 15.77 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.307e-05/0.3126, allocations: 6 kB / 327.5 MB, free: 15.77 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001085/0.3127, allocations: 22.39 kB / 327.5 MB, free: 15.76 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.825e-05/0.3128, allocations: 15.72 kB / 327.5 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.753e-05/0.3128, allocations: 46.53 kB / 327.6 MB, free: 15.72 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003235/0.3132, allocations: 125.5 kB / 327.7 MB, free: 15.64 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.3132, allocations: 0 / 327.7 MB, free: 15.64 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3132, allocations: 5.219 kB / 327.7 MB, free: 15.64 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.3132, allocations: 0 / 327.7 MB, free: 15.64 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.0007985/0.314, allocations: 411.1 kB / 328.1 MB, free: 15.22 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/0.3141, allocations: 9.438 kB / 328.1 MB, free: 15.22 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002329/0.3143, allocations: 24.48 kB / 328.1 MB, free: 15.21 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002302/0.3146, allocations: 195.9 kB / 328.3 MB, free: 14.99 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.3146, allocations: 4.375 kB / 328.3 MB, free: 14.99 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.576e-05/0.3146, allocations: 10.91 kB / 328.3 MB, free: 14.99 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002362/0.3149, allocations: 96.34 kB / 328.4 MB, free: 14.92 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.3149, allocations: 4 kB / 328.4 MB, free: 14.91 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.3149, allocations: 5.469 kB / 328.4 MB, free: 14.91 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.3149, allocations: 2.938 kB / 328.4 MB, free: 14.91 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001359/0.3151, allocations: 58.31 kB / 328.5 MB, free: 14.88 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007759/0.3158, allocations: 487.5 kB / 329 MB, free: 14.42 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002484/0.3161, allocations: 88.95 kB / 329.1 MB, free: 14.36 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.864e-05/0.3162, allocations: 24.83 kB / 329.1 MB, free: 14.34 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.3162, allocations: 3.938 kB / 329.1 MB, free: 14.34 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.3162, allocations: 36 kB / 329.1 MB, free: 14.3 MB / 270.1 MB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.3162, allocations: 0 / 329.1 MB, free: 14.3 MB / 270.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003196/0.3166, allocations: 99.94 kB / 329.2 MB, free: 14.23 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/0.3166, allocations: 60.38 kB / 329.3 MB, free: 14.16 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.341e-05/0.3167, allocations: 120.5 kB / 329.4 MB, free: 14.05 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001057/0.3168, allocations: 26.67 kB / 329.4 MB, free: 14.02 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.575e-05/0.3169, allocations: 109.4 kB / 329.5 MB, free: 13.91 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.723e-05/0.3169, allocations: 30.64 kB / 329.6 MB, free: 13.88 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.618e-05/0.317, allocations: 21.28 kB / 329.6 MB, free: 13.86 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001923/0.3172, allocations: 321.2 kB / 329.9 MB, free: 13.54 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.697e-05/0.3172, allocations: 23.86 kB / 329.9 MB, free: 13.53 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.338e-05/0.3173, allocations: 55.08 kB / 330 MB, free: 13.48 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001097/0.3174, allocations: 75.94 kB / 330 MB, free: 13.42 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.3174, allocations: 3.938 kB / 330.1 MB, free: 13.42 MB / 270.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001693/0.3176, allocations: 111.8 kB / 330.2 MB, free: 13.35 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.3176, allocations: 9.703 kB / 330.2 MB, free: 13.34 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.3176, allocations: 0.9062 kB / 330.2 MB, free: 13.34 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.3177, allocations: 1.25 kB / 330.2 MB, free: 13.34 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.3178, allocations: 25.41 kB / 330.2 MB, free: 13.34 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.3178, allocations: 4.938 kB / 330.2 MB, free: 13.34 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.151e-05/0.3179, allocations: 11.36 kB / 330.2 MB, free: 13.33 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.3179, allocations: 3.5 kB / 330.2 MB, free: 13.33 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.491e-05/0.318, allocations: 122.7 kB / 330.3 MB, free: 13.2 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.45e-05/0.318, allocations: 11 kB / 330.3 MB, free: 13.2 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.07e-05/0.3181, allocations: 14.66 kB / 330.4 MB, free: 13.18 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.3181, allocations: 1.031 kB / 330.4 MB, free: 13.18 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.3181, allocations: 3.938 kB / 330.4 MB, free: 13.18 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3181, allocations: 5.062 kB / 330.4 MB, free: 13.18 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002308/0.3184, allocations: 201.6 kB / 330.6 MB, free: 12.95 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3184, allocations: 1.281 kB / 330.6 MB, free: 12.95 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001273/0.3185, allocations: 20.58 kB / 330.6 MB, free: 12.95 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.3185, allocations: 1.094 kB / 330.6 MB, free: 12.95 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.3185, allocations: 9.094 kB / 330.6 MB, free: 12.94 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3185, allocations: 4 kB / 330.6 MB, free: 12.93 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.3185, allocations: 4.906 kB / 330.6 MB, free: 12.93 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002618/0.3188, allocations: 196.9 kB / 330.8 MB, free: 12.77 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.183e-05/0.3189, allocations: 79.95 kB / 330.9 MB, free: 12.67 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.3189, allocations: 1.031 kB / 330.9 MB, free: 12.67 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.977e-05/0.319, allocations: 5.031 kB / 330.9 MB, free: 12.67 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.879e-05/0.319, allocations: 14.12 kB / 330.9 MB, free: 12.66 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.319, allocations: 6.25 kB / 330.9 MB, free: 12.65 MB / 270.1 MB Notification: Performance of sorting global known variables: time 6.305e-05/0.3191, allocations: 96.67 kB / 331 MB, free: 12.57 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3191, allocations: 0 / 331 MB, free: 12.57 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002473/0.3194, allocations: 32.94 kB / 331 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.0001095/0.3195, allocations: 92.22 kB / 331.1 MB, free: 12.46 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0001689/0.3196, allocations: 64.64 kB / 331.2 MB, free: 12.44 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3197, allocations: 0 / 331.2 MB, free: 12.44 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 4.962e-05/0.3197, allocations: 28.42 kB / 331.2 MB, free: 12.43 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.3201, allocations: 20.52 kB / 331.2 MB, free: 12.41 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008222/0.3209, allocations: 476.4 kB / 331.7 MB, free: 12.03 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003788/0.3213, allocations: 0.7033 MB / 332.4 MB, free: 11.32 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 5.366e-05/0.3213, allocations: 9.172 kB / 332.4 MB, free: 11.31 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.008e-05/0.3214, allocations: 12 kB / 332.4 MB, free: 11.3 MB / 270.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3214, allocations: 4 kB / 332.4 MB, free: 11.3 MB / 270.1 MB Notification: Performance of Templates: time 0.00355/0.3249, allocations: 0.8601 MB / 333.3 MB, free: 10.87 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)