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.0007408/0.0007408, allocations: 92.22 kB / 19.65 MB, free: 276 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.0009419/0.0009419, allocations: 173 kB / 23.03 MB, free: 1.543 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.942/0.942, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.005005/0.005005, allocations: 1.187 MB / 261.1 MB, free: 11.89 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.613e-06/1.613e-06, allocations: 0 / 331.1 MB, free: 18.29 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.573e-05/2.734e-05, allocations: 4.562 kB / 331.1 MB, free: 18.28 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Translational.EddyCurrentBraking): time 0.009211/0.009239, allocations: 2.308 MB / 333.4 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001202/0.01044, allocations: 0.8257 MB / 334.3 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001229/0.01056, allocations: 4 kB / 334.3 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003306/0.01387, allocations: 55.58 kB / 334.3 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001146/0.01398, allocations: 67.41 kB / 334.4 MB, free: 15 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002312/0.01421, allocations: 67.78 kB / 334.5 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002121/0.01443, allocations: 222.7 kB / 334.7 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.01455, allocations: 29.73 kB / 334.7 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002115/0.01476, allocations: 119.7 kB / 334.8 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/0.01488, allocations: 63.8 kB / 334.9 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.413e-05/0.0149, allocations: 15.94 kB / 334.9 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.051e-05/0.01497, allocations: 27.98 kB / 334.9 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.55e-05/0.015, allocations: 39.84 kB / 335 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.649e-05/0.01505, allocations: 59.83 kB / 335 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002259/0.01528, allocations: 147.4 kB / 335.2 MB, free: 14.22 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.01528, allocations: 4 kB / 335.2 MB, free: 14.22 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.01528, allocations: 0 / 335.2 MB, free: 14.22 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.01529, allocations: 0 / 335.2 MB, free: 14.22 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.0005544/0.01584, allocations: 0.5074 MB / 335.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.01588, allocations: 8.031 kB / 335.7 MB, free: 13.67 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002023/0.01608, allocations: 52.77 kB / 335.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002149/0.01629, allocations: 180.2 kB / 335.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.01631, allocations: 8.375 kB / 335.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.126e-05/0.01634, allocations: 20.38 kB / 335.9 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003216/0.01956, allocations: 141.2 kB / 336.1 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.01957, allocations: 192 / 336.1 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.879e-05/0.01959, allocations: 11.94 kB / 336.1 MB, free: 13.22 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.926e-06/0.0196, allocations: 0 / 336.1 MB, free: 13.22 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001251/0.01972, allocations: 64.39 kB / 336.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006951/0.02042, allocations: 0.7268 MB / 336.9 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001697/0.02059, allocations: 91.02 kB / 337 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.373e-05/0.02063, allocations: 27.72 kB / 337 MB, free: 12.24 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.999e-06/0.02064, allocations: 0 / 337 MB, free: 12.24 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.813e-05/0.02066, allocations: 45.33 kB / 337 MB, free: 12.19 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.553e-06/0.02066, allocations: 0 / 337 MB, free: 12.19 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009177/0.02158, allocations: 401.5 kB / 337.4 MB, free: 11.76 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.33e-05/0.0216, allocations: 55.39 kB / 337.5 MB, free: 11.7 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.02174, allocations: 243.5 kB / 337.7 MB, free: 11.44 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.025e-06/0.02175, allocations: 29.7 kB / 337.8 MB, free: 11.4 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.893e-05/0.02181, allocations: 183.1 kB / 337.9 MB, free: 11.22 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.826e-05/0.02184, allocations: 55.58 kB / 338 MB, free: 11.16 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.862e-05/0.02188, allocations: 43.36 kB / 338 MB, free: 11.11 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.925e-05/0.02193, allocations: 0.4962 MB / 338.5 MB, free: 10.61 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.394e-05/0.02198, allocations: 15.98 kB / 338.5 MB, free: 10.59 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.592e-05/0.02204, allocations: 93.67 kB / 338.6 MB, free: 10.47 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.02216, allocations: 121.7 kB / 338.8 MB, free: 10.32 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.02216, allocations: 0 / 338.8 MB, free: 10.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001955/0.02236, allocations: 153.3 kB / 338.9 MB, free: 10.16 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.02237, allocations: 7.938 kB / 338.9 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.02238, allocations: 4 kB / 338.9 MB, free: 10.15 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.0224, allocations: 4 kB / 338.9 MB, free: 10.15 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/0.02255, allocations: 35.92 kB / 339 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.02255, allocations: 4.156 kB / 339 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.041e-05/0.02262, allocations: 8 kB / 339 MB, free: 10.1 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.02264, allocations: 12 kB / 339 MB, free: 10.09 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 6.315e-05/0.0227, allocations: 172.5 kB / 339.1 MB, free: 9.91 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.127e-05/0.02274, allocations: 15.91 kB / 339.2 MB, free: 9.895 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.894e-05/0.02278, allocations: 25.45 kB / 339.2 MB, free: 9.871 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.02278, allocations: 4 kB / 339.2 MB, free: 9.867 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.02279, allocations: 0 / 339.2 MB, free: 9.867 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.02279, allocations: 0 / 339.2 MB, free: 9.867 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004012/0.02319, allocations: 432.6 kB / 339.6 MB, free: 9.395 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.02319, allocations: 0 / 339.6 MB, free: 9.395 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001392/0.02333, allocations: 27.98 kB / 339.6 MB, free: 9.367 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.02333, allocations: 0 / 339.6 MB, free: 9.367 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.02335, allocations: 11.94 kB / 339.6 MB, free: 9.355 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.02335, allocations: 3.938 kB / 339.7 MB, free: 9.352 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.02335, allocations: 0 / 339.7 MB, free: 9.352 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002229/0.02358, allocations: 299.1 kB / 339.9 MB, free: 9.031 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.172e-05/0.0236, allocations: 11.91 kB / 340 MB, free: 9.02 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.187e-05/0.02362, allocations: 7.984 kB / 340 MB, free: 9.012 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.442e-05/0.0237, allocations: 8.062 kB / 340 MB, free: 9.004 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.495e-05/0.02373, allocations: 15.86 kB / 340 MB, free: 8.988 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.02373, allocations: 4 kB / 340 MB, free: 8.984 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.927e-05/0.02381, allocations: 173.1 kB / 340.2 MB, free: 8.816 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.02381, allocations: 0 / 340.2 MB, free: 8.816 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002879/0.0241, allocations: 36 kB / 340.2 MB, free: 8.781 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 6.771e-05/0.02417, allocations: 95.25 kB / 340.3 MB, free: 8.676 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001645/0.02433, allocations: 90.5 kB / 340.4 MB, free: 8.59 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.02434, allocations: 4.062 kB / 340.4 MB, free: 8.586 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.707e-05/0.02438, allocations: 47.59 kB / 340.4 MB, free: 8.535 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003639/0.02475, allocations: 29.47 kB / 340.5 MB, free: 8.508 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002019/0.02677, allocations: 0.5059 MB / 341 MB, free: 7.969 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.084e-05/0.02681, allocations: 75.98 kB / 341 MB, free: 7.875 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.114e-05/0.02687, allocations: 17.48 kB / 341.1 MB, free: 7.859 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.918e-05/0.02691, allocations: 16.5 kB / 341.1 MB, free: 7.844 MB / 266.7 MB Notification: Performance of SimCode: time 9.22e-07/0.02691, allocations: 4 kB / 341.1 MB, free: 7.84 MB / 266.7 MB Notification: Performance of Templates: time 0.003522/0.03043, allocations: 1.701 MB / 342.8 MB, free: 6.176 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.7513739597052336]