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.001617/0.001617, allocations: 82.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.002064/0.002064, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.004/1.004, allocations: 177.1 MB / 203.7 MB, free: 5.492 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.004842/0.004842, allocations: 1.196 MB / 261.4 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.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 2.194e-06/2.194e-06, allocations: 0 / 331.6 MB, free: 3.062 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.632e-05/2.851e-05, allocations: 10.25 kB / 331.6 MB, free: 3.051 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Translational.EddyCurrentBraking): time 0.003811/0.00384, allocations: 2.28 MB / 333.9 MB, free: 0.75 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001563/0.005403, allocations: 0.8219 MB / 334.7 MB, free: 15.92 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001356/0.005539, allocations: 7.844 kB / 334.7 MB, free: 15.92 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003086/0.005847, allocations: 55.55 kB / 334.7 MB, free: 15.86 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001292/0.005977, allocations: 75.34 kB / 334.8 MB, free: 15.79 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002412/0.006218, allocations: 59.8 kB / 334.9 MB, free: 15.73 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002528/0.006471, allocations: 214.9 kB / 335.1 MB, free: 15.52 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.006609, allocations: 37.72 kB / 335.1 MB, free: 15.48 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002297/0.006838, allocations: 119.7 kB / 335.2 MB, free: 15.36 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001222/0.006961, allocations: 63.8 kB / 335.3 MB, free: 15.3 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.93e-05/0.00699, allocations: 12 kB / 335.3 MB, free: 15.29 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.975e-05/0.00708, allocations: 31.98 kB / 335.3 MB, free: 15.26 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.948e-05/0.007119, allocations: 35.78 kB / 335.4 MB, free: 15.22 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.431e-05/0.007183, allocations: 63.83 kB / 335.4 MB, free: 15.16 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002617/0.007445, allocations: 143.4 kB / 335.6 MB, free: 15.02 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.007448, allocations: 0 / 335.6 MB, free: 15.02 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.007449, allocations: 0 / 335.6 MB, free: 15.02 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.94e-06/0.007454, allocations: 4 kB / 335.6 MB, free: 15.02 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.0007475/0.008202, allocations: 0.5074 MB / 336.1 MB, free: 14.47 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.008242, allocations: 12.03 kB / 336.1 MB, free: 14.46 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001928/0.008434, allocations: 44.78 kB / 336.1 MB, free: 14.42 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002125/0.008647, allocations: 184.2 kB / 336.3 MB, free: 14.21 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.008663, allocations: 12.38 kB / 336.3 MB, free: 14.2 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.945e-05/0.008692, allocations: 12.38 kB / 336.4 MB, free: 14.19 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/0.00888, allocations: 137.2 kB / 336.5 MB, free: 14.04 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.008895, allocations: 4.172 kB / 336.5 MB, free: 14.03 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.008908, allocations: 7.938 kB / 336.5 MB, free: 14.02 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.403e-06/0.008916, allocations: 4 kB / 336.5 MB, free: 14.02 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.009017, allocations: 43.95 kB / 336.5 MB, free: 13.98 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007458/0.009763, allocations: 0.7078 MB / 337.3 MB, free: 13.23 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/0.009896, allocations: 83.02 kB / 337.3 MB, free: 13.13 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.362e-05/0.00993, allocations: 19.94 kB / 337.4 MB, free: 13.11 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.248e-05/0.009942, allocations: 7.938 kB / 337.4 MB, free: 13.1 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.009969, allocations: 37.39 kB / 337.4 MB, free: 13.05 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 3.246e-06/0.009973, allocations: 0 / 337.4 MB, free: 13.05 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008207/0.01079, allocations: 357.3 kB / 337.7 MB, free: 12.67 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.827e-05/0.01082, allocations: 55.41 kB / 337.8 MB, free: 12.6 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/0.01098, allocations: 235.4 kB / 338 MB, free: 12.35 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.01099, allocations: 29.7 kB / 338.1 MB, free: 12.32 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.07e-05/0.01108, allocations: 195 kB / 338.3 MB, free: 12.12 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.248e-05/0.01111, allocations: 47.62 kB / 338.3 MB, free: 12.07 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.652e-05/0.01117, allocations: 47.3 kB / 338.3 MB, free: 12.02 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.0113, allocations: 0.4962 MB / 338.8 MB, free: 11.51 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.016e-05/0.01133, allocations: 19.92 kB / 338.9 MB, free: 11.49 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.234e-05/0.01141, allocations: 92.7 kB / 338.9 MB, free: 11.38 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001122/0.01152, allocations: 113.7 kB / 339.1 MB, free: 11.23 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.01152, allocations: 4 kB / 339.1 MB, free: 11.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001816/0.0117, allocations: 136.2 kB / 339.2 MB, free: 11.09 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.01172, allocations: 10.81 kB / 339.2 MB, free: 11.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.01173, allocations: 0 / 339.2 MB, free: 11.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.01174, allocations: 4 kB / 339.2 MB, free: 11.08 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.01188, allocations: 35.98 kB / 339.2 MB, free: 11.05 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.01189, allocations: 7.938 kB / 339.3 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.417e-05/0.01195, allocations: 4 kB / 339.3 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.01196, allocations: 8.156 kB / 339.3 MB, free: 11.03 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 (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 9.677e-05/0.01206, allocations: 172.5 kB / 339.4 MB, free: 10.85 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.672e-05/0.01209, allocations: 15.91 kB / 339.5 MB, free: 10.83 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.112e-05/0.01214, allocations: 21.47 kB / 339.5 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.01214, allocations: 0 / 339.5 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.01214, allocations: 3.938 kB / 339.5 MB, free: 10.81 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.01214, allocations: 4 kB / 339.5 MB, free: 10.81 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006393/0.01278, allocations: 405.1 kB / 339.9 MB, free: 10.37 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.01279, allocations: 64 / 339.9 MB, free: 10.37 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001425/0.01293, allocations: 31.98 kB / 339.9 MB, free: 10.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.01293, allocations: 0 / 339.9 MB, free: 10.34 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.01294, allocations: 4 kB / 339.9 MB, free: 10.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.01294, allocations: 0 / 339.9 MB, free: 10.34 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.01295, allocations: 7.922 kB / 339.9 MB, free: 10.33 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002525/0.0132, allocations: 303 kB / 340.2 MB, free: 10 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.54e-05/0.01323, allocations: 11.91 kB / 340.2 MB, free: 9.992 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/0.01325, allocations: 0 / 340.2 MB, free: 9.992 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.656e-05/0.01334, allocations: 8 kB / 340.2 MB, free: 9.984 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.247e-05/0.01337, allocations: 11.97 kB / 340.2 MB, free: 9.973 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.01337, allocations: 4 kB / 340.2 MB, free: 9.969 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.849e-05/0.01346, allocations: 169.1 kB / 340.4 MB, free: 9.805 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01346, allocations: 3.938 kB / 340.4 MB, free: 9.801 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002783/0.01374, allocations: 35.94 kB / 340.5 MB, free: 9.766 MB / 314.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 9.746e-05/0.01384, allocations: 103.2 kB / 340.6 MB, free: 9.656 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001375/0.01397, allocations: 67.53 kB / 340.6 MB, free: 9.586 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.01398, allocations: 0 / 340.6 MB, free: 9.586 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.747e-05/0.01402, allocations: 47.86 kB / 340.7 MB, free: 9.535 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/0.01436, allocations: 29.06 kB / 340.7 MB, free: 9.508 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.01538, allocations: 0.5048 MB / 341.2 MB, free: 8.969 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.475e-05/0.01543, allocations: 79.94 kB / 341.3 MB, free: 8.871 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.808e-05/0.0155, allocations: 17.48 kB / 341.3 MB, free: 8.852 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.01561, allocations: 94.19 kB / 341.4 MB, free: 8.758 MB / 314.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01561, allocations: 0 / 341.4 MB, free: 8.758 MB / 314.7 MB Notification: Performance of Templates: time 0.004677/0.02028, allocations: 1.74 MB / 343.1 MB, free: 7.055 MB / 314.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.81115831900388]