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.0009491/0.0009491, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001106/0.001106, allocations: 173 kB / 23.03 MB, free: 1.547 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 0.9676/0.9676, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.005112/0.005112, allocations: 1.191 MB / 261.1 MB, free: 11.9 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.303e-06/1.303e-06, allocations: 0 / 331.1 MB, free: 18.29 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.44e-05/2.57e-05, allocations: 2.312 kB / 331.1 MB, free: 18.29 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Rotational.EddyCurrentBraking): time 0.002189/0.002214, allocations: 2.271 MB / 333.4 MB, free: 16 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009247/0.003139, allocations: 0.8296 MB / 334.2 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/0.003246, allocations: 4 kB / 334.2 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002448/0.003491, allocations: 47.58 kB / 334.3 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.096e-05/0.003572, allocations: 75.34 kB / 334.4 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001997/0.003772, allocations: 67.78 kB / 334.4 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001734/0.003945, allocations: 210.9 kB / 334.6 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.004052, allocations: 29.73 kB / 334.7 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001654/0.004217, allocations: 111.7 kB / 334.8 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.025e-05/0.004308, allocations: 59.8 kB / 334.8 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.996e-05/0.004328, allocations: 12 kB / 334.8 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.696e-05/0.004384, allocations: 31.98 kB / 334.9 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.998e-05/0.004404, allocations: 31.84 kB / 334.9 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.853e-05/0.004443, allocations: 55.84 kB / 335 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001905/0.004633, allocations: 147.4 kB / 335.1 MB, free: 14.3 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.004635, allocations: 4 kB / 335.1 MB, free: 14.3 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.004636, allocations: 0 / 335.1 MB, free: 14.3 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.004641, allocations: 0 / 335.1 MB, free: 14.3 MB / 266.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.0004599/0.005101, allocations: 0.4919 MB / 335.6 MB, free: 13.77 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.005135, allocations: 12.03 kB / 335.6 MB, free: 13.76 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001668/0.005302, allocations: 40.83 kB / 335.6 MB, free: 13.72 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001794/0.005481, allocations: 187 kB / 335.8 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.005493, allocations: 12.38 kB / 335.8 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.347e-05/0.005516, allocations: 12.38 kB / 335.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.005665, allocations: 141.2 kB / 336 MB, free: 13.33 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.005676, allocations: 192 / 336 MB, free: 13.33 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.005688, allocations: 11.94 kB / 336 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.637e-06/0.005697, allocations: 4 kB / 336 MB, free: 13.31 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.43e-05/0.005781, allocations: 52.45 kB / 336.1 MB, free: 13.26 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005569/0.006338, allocations: 0.754 MB / 336.8 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.006453, allocations: 83.02 kB / 336.9 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.707e-05/0.00648, allocations: 27.66 kB / 336.9 MB, free: 12.33 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.065e-06/0.006488, allocations: 0 / 336.9 MB, free: 12.33 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.48e-05/0.006503, allocations: 37.39 kB / 337 MB, free: 12.28 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.082e-06/0.006504, allocations: 0 / 337 MB, free: 12.28 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001735/0.006678, allocations: 89.77 kB / 337 MB, free: 12.19 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.123e-05/0.006699, allocations: 55.41 kB / 337.1 MB, free: 12.12 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.603e-05/0.006795, allocations: 233.8 kB / 337.3 MB, free: 11.88 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.905e-06/0.006803, allocations: 29.69 kB / 337.4 MB, free: 11.84 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.532e-05/0.006848, allocations: 178.5 kB / 337.5 MB, free: 11.66 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.703e-05/0.006865, allocations: 43.62 kB / 337.6 MB, free: 11.62 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.34e-05/0.006899, allocations: 39.36 kB / 337.6 MB, free: 11.57 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.328e-05/0.006942, allocations: 0.5 MB / 338.1 MB, free: 11.06 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.673e-05/0.006969, allocations: 11.98 kB / 338.1 MB, free: 11.05 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.159e-05/0.00701, allocations: 85.8 kB / 338.2 MB, free: 10.93 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.607e-05/0.007086, allocations: 101.8 kB / 338.3 MB, free: 10.8 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.007089, allocations: 3.984 kB / 338.3 MB, free: 10.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001261/0.007215, allocations: 129.3 kB / 338.4 MB, free: 10.67 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.007229, allocations: 7.984 kB / 338.4 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.007233, allocations: 4.188 kB / 338.5 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.00725, allocations: 4 kB / 338.5 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.793e-05/0.007347, allocations: 39.86 kB / 338.5 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.007352, allocations: 0 / 338.5 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.148e-05/0.007394, allocations: 15.89 kB / 338.5 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.0074, allocations: 8 kB / 338.5 MB, free: 10.59 MB / 266.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 5.748e-05/0.007457, allocations: 164.5 kB / 338.7 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.357e-05/0.007481, allocations: 27.83 kB / 338.7 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.849e-05/0.00751, allocations: 17.47 kB / 338.7 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.007512, allocations: 3.984 kB / 338.7 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.007516, allocations: 4 kB / 338.7 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.007519, allocations: 4 kB / 338.7 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001134/0.007633, allocations: 160.6 kB / 338.9 MB, free: 10.17 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.007634, allocations: 0 / 338.9 MB, free: 10.17 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.891e-05/0.007713, allocations: 27.98 kB / 338.9 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.007716, allocations: 3.938 kB / 338.9 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.007727, allocations: 4 kB / 338.9 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.007728, allocations: 0 / 338.9 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.007728, allocations: 0 / 338.9 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001613/0.00789, allocations: 247.8 kB / 339.2 MB, free: 9.875 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.774e-05/0.007907, allocations: 19.84 kB / 339.2 MB, free: 9.855 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.007922, allocations: 7.984 kB / 339.2 MB, free: 9.848 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.472e-05/0.007967, allocations: 4 kB / 339.2 MB, free: 9.844 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.587e-05/0.007983, allocations: 0 / 339.2 MB, free: 9.844 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.007987, allocations: 8 kB / 339.2 MB, free: 9.836 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.963e-05/0.008037, allocations: 168.2 kB / 339.4 MB, free: 9.672 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008037, allocations: 0 / 339.4 MB, free: 9.672 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001694/0.008206, allocations: 39.89 kB / 339.4 MB, free: 9.633 MB / 266.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 6.191e-05/0.008268, allocations: 99.19 kB / 339.5 MB, free: 9.523 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001186/0.008387, allocations: 67.84 kB / 339.6 MB, free: 9.453 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.008388, allocations: 0 / 339.6 MB, free: 9.453 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.44e-05/0.008413, allocations: 31.61 kB / 339.6 MB, free: 9.418 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002463/0.008659, allocations: 28.91 kB / 339.6 MB, free: 9.391 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008644/0.009523, allocations: 0.4924 MB / 340.1 MB, free: 8.871 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.276e-05/0.009556, allocations: 79.77 kB / 340.2 MB, free: 8.773 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.751e-05/0.009603, allocations: 9.484 kB / 340.2 MB, free: 8.762 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.29e-05/0.009636, allocations: 16.5 kB / 340.2 MB, free: 8.746 MB / 266.7 MB Notification: Performance of SimCode: time 1.062e-06/0.009637, allocations: 0 / 340.2 MB, free: 8.746 MB / 266.7 MB Notification: Performance of Templates: time 0.00305/0.01269, allocations: 1.447 MB / 341.7 MB, free: 7.336 MB / 266.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.7198918447829783]