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.001142/0.001142, 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.001126/0.001126, allocations: 173 kB / 23.02 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.9115/0.9115, 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.005123/0.005123, allocations: 1.191 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.343e-06/1.343e-06, allocations: 0 / 331.1 MB, free: 18.29 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.445e-05/1.579e-05, allocations: 2.312 kB / 331.1 MB, free: 18.29 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Translational.EddyCurrentBraking): time 0.002296/0.002312, allocations: 2.318 MB / 333.4 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001062/0.003374, allocations: 0.8179 MB / 334.3 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001038/0.003478, allocations: 4 kB / 334.3 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002457/0.003723, allocations: 55.56 kB / 334.3 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.691e-05/0.0038, allocations: 75.41 kB / 334.4 MB, free: 15 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002066/0.004007, allocations: 67.77 kB / 334.5 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001855/0.004192, allocations: 214.7 kB / 334.7 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.004316, allocations: 41.47 kB / 334.7 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001938/0.00451, allocations: 119.7 kB / 334.8 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.004614, allocations: 55.81 kB / 334.9 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.114e-05/0.004635, allocations: 15.94 kB / 334.9 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.505e-05/0.0047, allocations: 35.98 kB / 334.9 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.229e-05/0.004722, allocations: 35.83 kB / 335 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.554e-05/0.004768, allocations: 63.84 kB / 335 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000199/0.004967, allocations: 143.4 kB / 335.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.004969, allocations: 0 / 335.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.00497, allocations: 0 / 335.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.004975, allocations: 0 / 335.2 MB, free: 14.23 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.0004353/0.00541, allocations: 0.5113 MB / 335.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.005442, allocations: 12.03 kB / 335.7 MB, free: 13.67 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001524/0.005594, allocations: 48.78 kB / 335.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/0.005767, allocations: 176.2 kB / 335.9 MB, free: 13.42 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.005781, allocations: 8.375 kB / 335.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.621e-05/0.005807, allocations: 12.38 kB / 335.9 MB, free: 13.4 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.005967, allocations: 149.2 kB / 336.1 MB, free: 13.24 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.005978, allocations: 4.188 kB / 336.1 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.005991, allocations: 7.938 kB / 336.1 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.005999, allocations: 4 kB / 336.1 MB, free: 13.22 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.622e-05/0.006085, allocations: 60.39 kB / 336.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006046/0.00669, allocations: 0.7346 MB / 336.9 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.006829, allocations: 87.08 kB / 337 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.768e-05/0.006867, allocations: 31.67 kB / 337 MB, free: 12.24 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.058e-05/0.006877, allocations: 4 kB / 337 MB, free: 12.24 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.371e-05/0.006891, allocations: 37.33 kB / 337 MB, free: 12.19 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.332e-06/0.006892, allocations: 0 / 337 MB, free: 12.19 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008617/0.007754, allocations: 397.6 kB / 337.4 MB, free: 11.77 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.95e-05/0.007783, allocations: 55.41 kB / 337.5 MB, free: 11.7 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.007916, allocations: 243.5 kB / 337.7 MB, free: 11.44 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.306e-06/0.007924, allocations: 25.7 kB / 337.7 MB, free: 11.41 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.643e-05/0.00798, allocations: 187.1 kB / 337.9 MB, free: 11.22 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.174e-05/0.008002, allocations: 47.59 kB / 338 MB, free: 11.18 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-05/0.008039, allocations: 39.36 kB / 338 MB, free: 11.13 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.64e-05/0.008086, allocations: 0.4962 MB / 338.5 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.954e-05/0.008115, allocations: 23.98 kB / 338.5 MB, free: 10.6 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.622e-05/0.008171, allocations: 101.7 kB / 338.6 MB, free: 10.47 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.597e-05/0.008257, allocations: 109.8 kB / 338.7 MB, free: 10.33 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.008259, allocations: 0 / 338.7 MB, free: 10.33 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001404/0.008399, allocations: 157.3 kB / 338.9 MB, free: 10.17 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.008413, allocations: 8.094 kB / 338.9 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.008419, allocations: 8 kB / 338.9 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.008433, allocations: 0 / 338.9 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.008549, allocations: 39.92 kB / 339 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.008555, allocations: 0 / 339 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.315e-05/0.008598, allocations: 12 kB / 339 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.008606, allocations: 4 kB / 339 MB, free: 10.1 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.945e-05/0.008676, allocations: 172.4 kB / 339.1 MB, free: 9.922 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.523e-05/0.008701, allocations: 23.91 kB / 339.2 MB, free: 9.898 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.152e-05/0.008753, allocations: 21.47 kB / 339.2 MB, free: 9.879 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.008755, allocations: 0 / 339.2 MB, free: 9.879 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.008761, allocations: 4 kB / 339.2 MB, free: 9.875 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.008765, allocations: 0 / 339.2 MB, free: 9.875 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003983/0.009163, allocations: 432.6 kB / 339.6 MB, free: 9.402 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.009166, allocations: 0 / 339.6 MB, free: 9.402 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.689e-05/0.009263, allocations: 31.98 kB / 339.6 MB, free: 9.371 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.009266, allocations: 0 / 339.6 MB, free: 9.371 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.009278, allocations: 7.938 kB / 339.6 MB, free: 9.363 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.009281, allocations: 7.938 kB / 339.7 MB, free: 9.355 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.009283, allocations: 8.047 kB / 339.7 MB, free: 9.348 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001815/0.009465, allocations: 287.1 kB / 339.9 MB, free: 9.039 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.78e-05/0.009483, allocations: 23.89 kB / 340 MB, free: 9.016 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.009499, allocations: 0 / 340 MB, free: 9.016 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.672e-05/0.009546, allocations: 8 kB / 340 MB, free: 9.008 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.316e-05/0.009569, allocations: 11.86 kB / 340 MB, free: 8.996 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.009574, allocations: 4 kB / 340 MB, free: 8.992 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.961e-05/0.009633, allocations: 177.1 kB / 340.2 MB, free: 8.82 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009633, allocations: 0 / 340.2 MB, free: 8.82 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001648/0.009798, allocations: 32 kB / 340.2 MB, free: 8.789 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.242e-05/0.00986, allocations: 103 kB / 340.3 MB, free: 8.68 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001287/0.009989, allocations: 90.89 kB / 340.4 MB, free: 8.59 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.009991, allocations: 0 / 340.4 MB, free: 8.59 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.048e-05/0.01002, allocations: 39.61 kB / 340.4 MB, free: 8.547 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002843/0.01031, allocations: 33.56 kB / 340.5 MB, free: 8.516 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008103/0.01112, allocations: 0.5023 MB / 341 MB, free: 7.98 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.638e-05/0.01115, allocations: 75.98 kB / 341 MB, free: 7.887 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.562e-05/0.0112, allocations: 17.48 kB / 341 MB, free: 7.871 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.61e-05/0.01123, allocations: 16.5 kB / 341.1 MB, free: 7.855 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01123, allocations: 0 / 341.1 MB, free: 7.855 MB / 266.7 MB Notification: Performance of Templates: time 0.003238/0.01447, allocations: 1.709 MB / 342.8 MB, free: 6.18 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.743576772045344]