Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 86.05 kB / 19.87 MB, free: 4.617 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 169.7 kB / 23.27 MB, free: 1.227 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.053/1.053, allocations: 177.1 MB / 203.7 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricBraking 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricBraking 1.0.0/package.mo): time 0.005552/0.005552, allocations: 1.199 MB / 261.5 MB, free: 11.72 MB / 250.7 MB " [Timeout remaining time 180] Using package ElectricBraking with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricBraking 1.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ElectricBraking.Examples.Rotational.EddyCurrentBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking") translateModel(ElectricBraking.Examples.Rotational.EddyCurrentBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 331.6 MB, free: 3.062 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.959e-05/4.151e-05, allocations: 2.312 kB / 331.6 MB, free: 3.059 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Rotational.EddyCurrentBraking): time 0.004696/0.004737, allocations: 2.259 MB / 333.8 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001701/0.006438, allocations: 0.814 MB / 334.7 MB, free: 15.96 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001762/0.006614, allocations: 7.938 kB / 334.7 MB, free: 15.95 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003698/0.006984, allocations: 59.56 kB / 334.7 MB, free: 15.89 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001719/0.007156, allocations: 63.47 kB / 334.8 MB, free: 15.83 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003476/0.007504, allocations: 63.78 kB / 334.8 MB, free: 15.77 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003045/0.007808, allocations: 210.8 kB / 335.1 MB, free: 15.56 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001823/0.00799, allocations: 33.72 kB / 335.1 MB, free: 15.53 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003379/0.008328, allocations: 115.7 kB / 335.2 MB, free: 15.41 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001544/0.008483, allocations: 59.8 kB / 335.3 MB, free: 15.36 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.316e-05/0.008516, allocations: 15.94 kB / 335.3 MB, free: 15.34 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.008616, allocations: 31.98 kB / 335.3 MB, free: 15.31 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.748e-05/0.008654, allocations: 35.84 kB / 335.3 MB, free: 15.27 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.513e-05/0.008719, allocations: 55.84 kB / 335.4 MB, free: 15.22 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003127/0.009032, allocations: 143.5 kB / 335.5 MB, free: 15.08 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.009035, allocations: 0 / 335.5 MB, free: 15.08 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.009037, allocations: 0 / 335.5 MB, free: 15.08 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.009042, allocations: 0 / 335.5 MB, free: 15.08 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0006724/0.009714, allocations: 0.4957 MB / 336 MB, free: 14.55 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.009758, allocations: 8.031 kB / 336 MB, free: 14.54 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002492/0.01001, allocations: 52.78 kB / 336.1 MB, free: 14.49 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002987/0.01031, allocations: 173.9 kB / 336.3 MB, free: 14.29 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.01033, allocations: 8.375 kB / 336.3 MB, free: 14.28 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.676e-05/0.01036, allocations: 16.38 kB / 336.3 MB, free: 14.27 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000221/0.01058, allocations: 129.2 kB / 336.4 MB, free: 14.12 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.0106, allocations: 192 / 336.4 MB, free: 14.12 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.01061, allocations: 11.88 kB / 336.4 MB, free: 14.11 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.659e-06/0.01062, allocations: 4 kB / 336.4 MB, free: 14.11 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.01073, allocations: 55.89 kB / 336.5 MB, free: 14.05 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001058/0.01179, allocations: 0.7195 MB / 337.2 MB, free: 13.29 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000166/0.01196, allocations: 75 kB / 337.3 MB, free: 13.2 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.647e-05/0.01199, allocations: 15.75 kB / 337.3 MB, free: 13.18 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.091e-05/0.012, allocations: 4 kB / 337.3 MB, free: 13.18 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/0.01204, allocations: 45.31 kB / 337.3 MB, free: 13.12 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 2.184e-06/0.01204, allocations: 0 / 337.3 MB, free: 13.12 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002528/0.0123, allocations: 85.77 kB / 337.4 MB, free: 13.04 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/0.01234, allocations: 55.34 kB / 337.5 MB, free: 12.97 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001793/0.01252, allocations: 229.8 kB / 337.7 MB, free: 12.73 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.01253, allocations: 25.7 kB / 337.7 MB, free: 12.7 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.01264, allocations: 186.3 kB / 337.9 MB, free: 12.51 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000353/0.01299, allocations: 39.67 kB / 337.9 MB, free: 12.47 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.733e-05/0.01304, allocations: 39.36 kB / 338 MB, free: 12.42 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.01316, allocations: 0.5001 MB / 338.5 MB, free: 11.91 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.921e-05/0.01318, allocations: 8 kB / 338.5 MB, free: 11.9 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.42e-05/0.01324, allocations: 93.69 kB / 338.6 MB, free: 11.78 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.175e-05/0.01332, allocations: 101.7 kB / 338.7 MB, free: 11.65 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.01332, allocations: 0 / 338.7 MB, free: 11.65 MB / 314.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001376/0.01346, allocations: 125.4 kB / 338.8 MB, free: 11.52 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.01348, allocations: 8 kB / 338.8 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.01348, allocations: 0 / 338.8 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.0135, allocations: 4 kB / 338.8 MB, free: 11.51 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.0136, allocations: 31.92 kB / 338.8 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.207e-06/0.01361, allocations: 4 kB / 338.8 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.327e-05/0.01365, allocations: 11.89 kB / 338.9 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/0.01367, allocations: 11.98 kB / 338.9 MB, free: 11.45 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (integrator.local_reset) * 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.203e-05/0.01375, allocations: 172.5 kB / 339 MB, free: 11.27 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.43e-05/0.01377, allocations: 19.97 kB / 339.1 MB, free: 11.25 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.206e-05/0.01381, allocations: 17.47 kB / 339.1 MB, free: 11.24 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.01381, allocations: 4 kB / 339.1 MB, free: 11.24 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.01381, allocations: 0 / 339.1 MB, free: 11.24 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.01382, allocations: 0 / 339.1 MB, free: 11.24 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000138/0.01395, allocations: 133.2 kB / 339.2 MB, free: 11.08 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.01396, allocations: 4 kB / 339.2 MB, free: 11.08 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.021e-05/0.01405, allocations: 23.98 kB / 339.2 MB, free: 11.05 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.01405, allocations: 0 / 339.2 MB, free: 11.05 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.01406, allocations: 4 kB / 339.2 MB, free: 11.05 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.01406, allocations: 3.938 kB / 339.2 MB, free: 11.05 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.01406, allocations: 0 / 339.2 MB, free: 11.05 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002091/0.01427, allocations: 247.8 kB / 339.5 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.288e-05/0.0143, allocations: 15.89 kB / 339.5 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.954e-05/0.01431, allocations: 8 kB / 339.5 MB, free: 10.76 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.256e-05/0.01436, allocations: 3.938 kB / 339.5 MB, free: 10.76 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.861e-05/0.01438, allocations: 11.92 kB / 339.5 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.01438, allocations: 7.938 kB / 339.5 MB, free: 10.74 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.613e-05/0.01445, allocations: 164.2 kB / 339.7 MB, free: 10.58 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01445, allocations: 0 / 339.7 MB, free: 10.58 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001809/0.01463, allocations: 39.89 kB / 339.7 MB, free: 10.54 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (inertiaLoad.w,integrator.y,heatCapacitor.T,eddyCurrentTorque.phi) * 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 (9): * Single equations (assignments): 9 * 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 9.272e-05/0.01472, allocations: 95.25 kB / 339.8 MB, free: 10.44 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001116/0.01483, allocations: 63.53 kB / 339.9 MB, free: 10.37 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01483, allocations: 0 / 339.9 MB, free: 10.37 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.523e-05/0.01486, allocations: 27.67 kB / 339.9 MB, free: 10.34 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.01512, allocations: 24.64 kB / 339.9 MB, free: 10.32 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009018/0.01602, allocations: 0.4989 MB / 340.4 MB, free: 9.789 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.517e-05/0.01607, allocations: 71.83 kB / 340.5 MB, free: 9.699 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.751e-05/0.01611, allocations: 9.5 kB / 340.5 MB, free: 9.688 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.694e-05/0.01619, allocations: 98.17 kB / 340.6 MB, free: 9.59 MB / 314.7 MB Notification: Performance of SimCode: time 8.62e-07/0.01619, allocations: 0 / 340.6 MB, free: 9.59 MB / 314.7 MB Notification: Performance of Templates: time 0.003486/0.01968, allocations: 1.472 MB / 342.1 MB, free: 8.148 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking.makefile [Timeout 660] (rm -f ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking.pipe ; mkfifo ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking.pipe ; head -c 1048576 < ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking.pipe >> ../files/ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking.sim & ./ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking -abortSlowSimulation -alarm=240 -lv LOG_STATS > ElectricBraking_ElectricBraking.Examples.Rotational.EddyCurrentBraking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.872243421152234]