Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ElectricBraking_ElectricBraking.Examples.Translational.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.0009252/0.0009252, allocations: 73.88 kB / 20.66 MB, free: 3.844 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.001006/0.001006, allocations: 173 kB / 24.06 MB, free: 452 kB / 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.024/1.024, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.01249/0.01249, allocations: 1.2 MB / 262.2 MB, free: 11.75 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.Translational.EddyCurrentBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking") translateModel(ElectricBraking.Examples.Translational.EddyCurrentBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 332.4 MB, free: 18.02 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.122e-05/2.252e-05, allocations: 8.844 kB / 332.4 MB, free: 18.01 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Translational.EddyCurrentBraking): time 0.002335/0.002358, allocations: 2.284 MB / 334.7 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008368/0.003195, allocations: 0.8141 MB / 335.5 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.003301, allocations: 7.938 kB / 335.5 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002287/0.00353, allocations: 59.56 kB / 335.5 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.367e-05/0.003604, allocations: 67.41 kB / 335.6 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001642/0.003768, allocations: 71.78 kB / 335.7 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001484/0.003916, allocations: 214.8 kB / 335.9 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.745e-05/0.004014, allocations: 29.73 kB / 335.9 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001471/0.004161, allocations: 127.6 kB / 336 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.46e-05/0.004255, allocations: 63.73 kB / 336.1 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.934e-05/0.004275, allocations: 16 kB / 336.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.598e-05/0.004331, allocations: 23.98 kB / 336.1 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.848e-05/0.004349, allocations: 39.84 kB / 336.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.604e-05/0.004385, allocations: 59.83 kB / 336.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000157/0.004542, allocations: 151.4 kB / 336.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.004544, allocations: 0 / 336.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.004545, allocations: 0 / 336.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.004549, allocations: 0 / 336.4 MB, free: 13.98 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.0003827/0.004932, allocations: 0.5113 MB / 336.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.743e-05/0.004959, allocations: 8.031 kB / 336.9 MB, free: 13.42 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001274/0.005086, allocations: 52.78 kB / 336.9 MB, free: 13.37 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.005219, allocations: 172.2 kB / 337.1 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.005232, allocations: 8.375 kB / 337.1 MB, free: 13.17 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.003e-05/0.005252, allocations: 24.34 kB / 337.1 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.005361, allocations: 129.2 kB / 337.3 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.005372, allocations: 192 / 337.3 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.005382, allocations: 7.938 kB / 337.3 MB, free: 12.99 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.005388, allocations: 4 kB / 337.3 MB, free: 12.99 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.234e-05/0.00545, allocations: 60.39 kB / 337.3 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004254/0.005875, allocations: 0.7039 MB / 338 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.358e-05/0.005969, allocations: 82.94 kB / 338.1 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.12e-05/0.00599, allocations: 23.78 kB / 338.2 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.224e-06/0.005997, allocations: 4 kB / 338.2 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.3e-05/0.00601, allocations: 37.33 kB / 338.2 MB, free: 12.01 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.032e-06/0.006011, allocations: 4 kB / 338.2 MB, free: 12 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005522/0.006564, allocations: 350.2 kB / 338.5 MB, free: 11.62 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.414e-05/0.006578, allocations: 59.34 kB / 338.6 MB, free: 11.55 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.631e-05/0.006654, allocations: 247.4 kB / 338.8 MB, free: 11.29 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.061e-06/0.00666, allocations: 29.7 kB / 338.9 MB, free: 11.26 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.211e-05/0.006702, allocations: 179.1 kB / 339 MB, free: 11.08 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.006721, allocations: 51.58 kB / 339.1 MB, free: 11.03 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-05/0.006755, allocations: 43.34 kB / 339.1 MB, free: 10.98 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.096e-05/0.006796, allocations: 0.4962 MB / 339.6 MB, free: 10.47 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.805e-05/0.006814, allocations: 15.98 kB / 339.6 MB, free: 10.45 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.547e-05/0.006849, allocations: 93.12 kB / 339.7 MB, free: 10.34 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.921e-05/0.006919, allocations: 125.3 kB / 339.9 MB, free: 10.19 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.00692, allocations: 0 / 339.9 MB, free: 10.19 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001103/0.00703, allocations: 133.4 kB / 340 MB, free: 10.05 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.00704, allocations: 10.97 kB / 340 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.007044, allocations: 0 / 340 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.206e-06/0.007052, allocations: 4 kB / 340 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.007152, allocations: 43.92 kB / 340 MB, free: 9.996 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.537e-06/0.007156, allocations: 8.156 kB / 340.1 MB, free: 9.988 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.374e-05/0.0072, allocations: 4 kB / 340.1 MB, free: 9.984 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-06/0.007206, allocations: 8 kB / 340.1 MB, free: 9.977 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 (21): * Single equations (assignments): 21 * 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 4.917e-05/0.007255, allocations: 172.4 kB / 340.2 MB, free: 9.797 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.379e-05/0.007279, allocations: 15.91 kB / 340.3 MB, free: 9.781 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.726e-05/0.007307, allocations: 21.47 kB / 340.3 MB, free: 9.762 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.007308, allocations: 0 / 340.3 MB, free: 9.762 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.00731, allocations: 4 kB / 340.3 MB, free: 9.758 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.007313, allocations: 3.984 kB / 340.3 MB, free: 9.754 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002501/0.007564, allocations: 409.2 kB / 340.7 MB, free: 9.312 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.007565, allocations: 0 / 340.7 MB, free: 9.312 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.303e-05/0.007648, allocations: 27.98 kB / 340.7 MB, free: 9.285 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.00765, allocations: 0 / 340.7 MB, free: 9.285 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.007657, allocations: 4 kB / 340.7 MB, free: 9.281 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.007658, allocations: 0 / 340.7 MB, free: 9.281 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.007659, allocations: 0 / 340.7 MB, free: 9.281 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001281/0.007787, allocations: 299 kB / 341 MB, free: 8.961 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.415e-05/0.007802, allocations: 15.91 kB / 341 MB, free: 8.945 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/0.007816, allocations: 8.047 kB / 341 MB, free: 8.938 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.012e-05/0.007867, allocations: 4 kB / 341 MB, free: 8.934 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.41e-05/0.007881, allocations: 11.98 kB / 341 MB, free: 8.922 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.007884, allocations: 0 / 341 MB, free: 8.922 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.604e-05/0.00792, allocations: 169.1 kB / 341.2 MB, free: 8.758 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.007921, allocations: 0 / 341.2 MB, free: 8.758 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001746/0.008095, allocations: 35.94 kB / 341.2 MB, free: 8.723 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (massLoad.s,massLoad.v,integrator.y,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 (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 Backend phase and start with SimCode phase: time 5.111e-05/0.008146, allocations: 99.19 kB / 341.3 MB, free: 8.613 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.827e-05/0.008235, allocations: 83.73 kB / 341.4 MB, free: 8.527 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.052e-06/0.008236, allocations: 0 / 341.4 MB, free: 8.527 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.55e-05/0.008261, allocations: 39.59 kB / 341.5 MB, free: 8.484 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002248/0.008486, allocations: 32.06 kB / 341.5 MB, free: 8.453 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006264/0.009112, allocations: 0.5013 MB / 342 MB, free: 7.922 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.69e-05/0.009139, allocations: 75.98 kB / 342.1 MB, free: 7.828 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.601e-05/0.009185, allocations: 13.48 kB / 342.1 MB, free: 7.816 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.376e-05/0.009249, allocations: 94.19 kB / 342.2 MB, free: 7.723 MB / 266.7 MB Notification: Performance of SimCode: time 8.72e-07/0.00925, allocations: 7.938 kB / 342.2 MB, free: 7.715 MB / 266.7 MB Notification: Performance of Templates: time 0.002831/0.01208, allocations: 1.794 MB / 344 MB, free: 5.957 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking.makefile [Timeout 660] (rm -f ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking.pipe ; mkfifo ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking.pipe ; head -c 1048576 < ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking.pipe >> ../files/ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking.sim & ./ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking -abortSlowSimulation -alarm=240 -lv LOG_STATS > ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7300280537456274]