Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ElectricBraking_ElectricBraking.Examples.Translational.DCPMBraking.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.001208/0.001208, allocations: 81.17 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.001312/0.001312, allocations: 173 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 0.9793/0.9793, allocations: 177.1 MB / 203.7 MB, free: 5.48 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.005203/0.005203, allocations: 1.194 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.DCPMBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Translational.DCPMBraking") translateModel(ElectricBraking.Examples.Translational.DCPMBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Translational.DCPMBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 331.6 MB, free: 18.01 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.349e-05/1.484e-05, allocations: 2.312 kB / 331.6 MB, free: 18 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Translational.DCPMBraking): time 0.003477/0.003492, allocations: 4.405 MB / 336 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001793/0.005285, allocations: 1.413 MB / 337.4 MB, free: 12.16 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002855/0.00557, allocations: 15.88 kB / 337.4 MB, free: 12.14 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005255/0.006096, allocations: 206.4 kB / 337.6 MB, free: 11.94 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002861/0.006382, allocations: 226.1 kB / 337.8 MB, free: 11.71 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001899/0.006572, allocations: 131.8 kB / 338 MB, free: 11.59 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004283/0.007, allocations: 0.6996 MB / 338.7 MB, free: 10.88 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002237/0.007224, allocations: 181 kB / 338.8 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003895/0.007613, allocations: 403 kB / 339.2 MB, free: 10.31 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001816/0.007795, allocations: 207.4 kB / 339.4 MB, free: 10.11 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.639e-05/0.007841, allocations: 60 kB / 339.5 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.007947, allocations: 79.98 kB / 339.6 MB, free: 9.969 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.7e-05/0.007994, allocations: 139.4 kB / 339.7 MB, free: 9.832 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000109/0.008103, allocations: 211.5 kB / 339.9 MB, free: 9.625 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000373/0.008476, allocations: 462.2 kB / 340.4 MB, free: 9.172 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.00848, allocations: 4 kB / 340.4 MB, free: 9.168 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.008481, allocations: 0 / 340.4 MB, free: 9.168 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.008489, allocations: 0 / 340.4 MB, free: 9.168 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.0007113/0.0092, allocations: 0.8893 MB / 341.3 MB, free: 8.242 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.009236, allocations: 8.031 kB / 341.3 MB, free: 8.234 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000164/0.0094, allocations: 124.5 kB / 341.4 MB, free: 8.113 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003195/0.009719, allocations: 340.1 kB / 341.7 MB, free: 7.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.709e-05/0.009747, allocations: 45.62 kB / 341.8 MB, free: 7.703 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.717e-05/0.009824, allocations: 60.52 kB / 341.8 MB, free: 7.645 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000317/0.01014, allocations: 427.8 kB / 342.2 MB, free: 7.188 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.01016, allocations: 192 / 342.2 MB, free: 7.188 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.342e-05/0.01018, allocations: 28.12 kB / 342.3 MB, free: 7.16 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.01019, allocations: 12 kB / 342.3 MB, free: 7.148 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001577/0.01035, allocations: 154.8 kB / 342.4 MB, free: 7 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001193/0.01154, allocations: 1.63 MB / 344.1 MB, free: 5.301 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001999/0.01174, allocations: 175.6 kB / 344.2 MB, free: 5.117 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.643e-05/0.0118, allocations: 59.64 kB / 344.3 MB, free: 5.055 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.209e-05/0.01181, allocations: 4 kB / 344.3 MB, free: 5.051 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.741e-05/0.01183, allocations: 45.86 kB / 344.3 MB, free: 4.996 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 1.363e-06/0.01183, allocations: 0 / 344.3 MB, free: 4.996 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.0008123/0.01264, allocations: 0.7535 MB / 345.1 MB, free: 4.18 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.584e-05/0.01266, allocations: 55.41 kB / 345.1 MB, free: 4.113 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.01282, allocations: 366 kB / 345.5 MB, free: 3.738 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.01283, allocations: 33.7 kB / 345.5 MB, free: 3.699 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.227e-05/0.01292, allocations: 339.5 kB / 345.9 MB, free: 3.359 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.348e-05/0.01297, allocations: 126.9 kB / 346 MB, free: 3.234 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.447e-05/0.01303, allocations: 83.77 kB / 346.1 MB, free: 3.145 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.275e-05/0.01309, allocations: 0.5273 MB / 346.6 MB, free: 2.605 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.124e-05/0.01314, allocations: 36.97 kB / 346.6 MB, free: 2.57 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.688e-05/0.01322, allocations: 206.7 kB / 346.8 MB, free: 2.301 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/0.01339, allocations: 290.7 kB / 347.1 MB, free: 1.949 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.01339, allocations: 0 / 347.1 MB, free: 1.949 MB / 266.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0002667/0.01365, allocations: 320.4 kB / 347.4 MB, free: 1.625 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.01367, allocations: 8.438 kB / 347.4 MB, free: 1.617 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.01367, allocations: 8 kB / 347.4 MB, free: 1.609 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001227/0.01379, allocations: 47.59 kB / 347.5 MB, free: 1.559 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/0.01394, allocations: 91.83 kB / 347.6 MB, free: 1.469 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006458/0.01459, allocations: 1.827 MB / 349.4 MB, free: 15.53 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.01469, allocations: 16 kB / 349.4 MB, free: 15.52 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.0147, allocations: 8 kB / 349.4 MB, free: 15.51 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 2 (switch.control,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001205/0.01482, allocations: 188.4 kB / 349.6 MB, free: 15.31 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.021e-05/0.01487, allocations: 51.7 kB / 349.7 MB, free: 15.26 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.318e-05/0.01492, allocations: 44.06 kB / 349.7 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.01492, allocations: 4 kB / 349.7 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.01493, allocations: 4 kB / 349.7 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.01493, allocations: 7.922 kB / 349.7 MB, free: 15.2 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006364/0.01557, allocations: 0.6544 MB / 350.4 MB, free: 14.5 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.01557, allocations: 0 / 350.4 MB, free: 14.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001507/0.01572, allocations: 59.91 kB / 350.4 MB, free: 14.45 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.517e-05/0.01581, allocations: 31.66 kB / 350.5 MB, free: 14.41 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.01582, allocations: 12 kB / 350.5 MB, free: 14.4 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007312/0.01655, allocations: 1.803 MB / 352.3 MB, free: 12.48 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01655, allocations: 0 / 352.3 MB, free: 12.48 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003388/0.01689, allocations: 448.1 kB / 352.7 MB, free: 12.01 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.933e-05/0.01696, allocations: 55.73 kB / 352.8 MB, free: 11.96 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.205e-05/0.01698, allocations: 11.98 kB / 352.8 MB, free: 11.95 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.63e-05/0.01708, allocations: 16.03 kB / 352.8 MB, free: 11.93 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.019e-05/0.01712, allocations: 23.95 kB / 352.8 MB, free: 11.91 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.896e-06/0.01713, allocations: 4 kB / 352.8 MB, free: 11.9 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001147/0.01724, allocations: 238.9 kB / 353.1 MB, free: 11.67 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01724, allocations: 0 / 353.1 MB, free: 11.67 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002855/0.01753, allocations: 107.9 kB / 353.2 MB, free: 11.56 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (massLoad.s,massLoad.v,integrator.y,heatCapacitor.T,dcpm.armatureInductance.i) * Number of discrete variables: 1 (switch.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.302e-05/0.01761, allocations: 103.2 kB / 353.3 MB, free: 11.45 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000339/0.01795, allocations: 378.7 kB / 353.6 MB, free: 11.06 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01795, allocations: 0 / 353.6 MB, free: 11.06 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001609/0.01811, allocations: 266 kB / 353.9 MB, free: 10.78 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.01841, allocations: 73.41 kB / 354 MB, free: 10.71 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.01979, allocations: 1.009 MB / 355 MB, free: 9.664 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.536e-05/0.01988, allocations: 117.8 kB / 355.1 MB, free: 9.527 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001105/0.01999, allocations: 39.28 kB / 355.1 MB, free: 9.488 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001546/0.02014, allocations: 146.2 kB / 355.3 MB, free: 9.344 MB / 282.7 MB Notification: Performance of SimCode: time 7.01e-07/0.02014, allocations: 0 / 355.3 MB, free: 9.344 MB / 282.7 MB Notification: Performance of Templates: time 0.007154/0.0273, allocations: 4.368 MB / 359.6 MB, free: 5.062 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ElectricBraking_ElectricBraking.Examples.Translational.DCPMBraking.makefile [Timeout 660] (rm -f ElectricBraking_ElectricBraking.Examples.Translational.DCPMBraking.pipe ; mkfifo ElectricBraking_ElectricBraking.Examples.Translational.DCPMBraking.pipe ; head -c 1048576 < ElectricBraking_ElectricBraking.Examples.Translational.DCPMBraking.pipe >> ../files/ElectricBraking_ElectricBraking.Examples.Translational.DCPMBraking.sim & ./ElectricBraking_ElectricBraking.Examples.Translational.DCPMBraking -abortSlowSimulation -alarm=240 -lv LOG_STATS > ElectricBraking_ElectricBraking.Examples.Translational.DCPMBraking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0255338000133634]