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.0008935/0.0008935, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009145/0.0009145, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.9235/0.9235, allocations: 177.2 MB / 203.8 MB, free: 5.477 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.004798/0.004798, allocations: 1.195 MB / 261.5 MB, free: 11.77 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.543e-06/1.543e-06, allocations: 3.938 kB / 278.3 MB, free: 10.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.512e-05/2.666e-05, allocations: 2.312 kB / 278.3 MB, free: 10.91 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Translational.DCPMBraking): time 0.006256/0.006282, allocations: 4.409 MB / 282.7 MB, free: 6.477 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002838/0.00912, allocations: 1.456 MB / 284.2 MB, free: 5.012 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000376/0.009496, allocations: 15.94 kB / 284.2 MB, free: 4.996 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007214/0.01022, allocations: 218.3 kB / 284.4 MB, free: 4.781 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004851/0.0107, allocations: 214.2 kB / 284.6 MB, free: 4.57 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002719/0.01097, allocations: 127.8 kB / 284.8 MB, free: 4.445 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007725/0.01175, allocations: 0.7035 MB / 285.5 MB, free: 3.738 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003479/0.0121, allocations: 183 kB / 285.6 MB, free: 3.555 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006454/0.01274, allocations: 411 kB / 286 MB, free: 3.152 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000355/0.0131, allocations: 215.3 kB / 286.2 MB, free: 2.941 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.84e-05/0.01318, allocations: 64 kB / 286.3 MB, free: 2.879 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001558/0.01334, allocations: 79.92 kB / 286.4 MB, free: 2.801 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.01344, allocations: 131.5 kB / 286.5 MB, free: 2.672 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002408/0.01368, allocations: 211.5 kB / 286.7 MB, free: 2.465 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006652/0.01435, allocations: 458.3 kB / 287.2 MB, free: 2.016 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.01435, allocations: 4 kB / 287.2 MB, free: 2.012 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.01435, allocations: 0 / 287.2 MB, free: 2.012 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.899e-06/0.01436, allocations: 0 / 287.2 MB, free: 2.012 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.001122/0.01549, allocations: 0.7645 MB / 287.9 MB, free: 1.223 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.01552, allocations: 8.031 kB / 287.9 MB, free: 1.215 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002698/0.01579, allocations: 100.8 kB / 288 MB, free: 1.117 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004512/0.01624, allocations: 277.3 kB / 288.3 MB, free: 0.8242 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.521e-05/0.01629, allocations: 41.69 kB / 288.4 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001215/0.01641, allocations: 56.55 kB / 288.4 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005483/0.01696, allocations: 436.4 kB / 288.8 MB, free: 272 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.421e-05/0.01698, allocations: 4.141 kB / 288.8 MB, free: 268 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.632e-05/0.01702, allocations: 28.06 kB / 288.9 MB, free: 240 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.63e-05/0.01703, allocations: 19.98 kB / 288.9 MB, free: 220 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002587/0.01729, allocations: 130.9 kB / 289 MB, free: 92 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1202/0.1375, allocations: 1.233 MB / 290.3 MB, free: 24.29 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002922/0.1378, allocations: 157 kB / 290.4 MB, free: 24.26 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.657e-05/0.1379, allocations: 61.7 kB / 290.5 MB, free: 24.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/0.1379, allocations: 5 kB / 290.5 MB, free: 24.25 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.1379, allocations: 37.61 kB / 290.5 MB, free: 24.21 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 2.756e-06/0.1379, allocations: 5.719 kB / 290.5 MB, free: 24.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.001098/0.139, allocations: 0.7156 MB / 291.2 MB, free: 23.93 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.26e-05/0.139, allocations: 56.72 kB / 291.3 MB, free: 23.86 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002059/0.1392, allocations: 300.7 kB / 291.6 MB, free: 23.75 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.1392, allocations: 31.52 kB / 291.6 MB, free: 23.71 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.1393, allocations: 262.4 kB / 291.9 MB, free: 23.56 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.343e-05/0.1394, allocations: 130.4 kB / 292 MB, free: 23.49 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.577e-05/0.1395, allocations: 78.66 kB / 292.1 MB, free: 23.47 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.938e-05/0.1396, allocations: 356.7 kB / 292.4 MB, free: 23.16 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.215e-05/0.1396, allocations: 34.81 kB / 292.5 MB, free: 23.16 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/0.1397, allocations: 155.9 kB / 292.6 MB, free: 23.03 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002159/0.1399, allocations: 234.6 kB / 292.8 MB, free: 22.89 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.1399, allocations: 1.859 kB / 292.8 MB, free: 22.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0003671/0.1403, allocations: 266.4 kB / 293.1 MB, free: 22.84 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/0.1403, allocations: 6.562 kB / 293.1 MB, free: 22.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.1403, allocations: 8.578 kB / 293.1 MB, free: 22.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001707/0.1405, allocations: 41.27 kB / 293.1 MB, free: 22.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001939/0.1407, allocations: 83.28 kB / 293.2 MB, free: 22.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005645/0.1413, allocations: 1.258 MB / 294.5 MB, free: 21.71 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.1414, allocations: 14.25 kB / 294.5 MB, free: 21.71 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.631e-05/0.1414, allocations: 17.72 kB / 294.5 MB, free: 21.71 MB / 266.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 9.845e-05/0.1415, allocations: 134.3 kB / 294.7 MB, free: 21.59 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.864e-05/0.1416, allocations: 39.17 kB / 294.7 MB, free: 21.59 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.773e-05/0.1416, allocations: 46.16 kB / 294.7 MB, free: 21.58 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.1416, allocations: 3.734 kB / 294.7 MB, free: 21.58 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.1416, allocations: 1.125 kB / 294.7 MB, free: 21.58 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.513e-06/0.1416, allocations: 3.188 kB / 294.7 MB, free: 21.58 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005853/0.1422, allocations: 0.5074 MB / 295.2 MB, free: 21.37 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1422, allocations: 2.297 kB / 295.3 MB, free: 21.37 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001635/0.1424, allocations: 60.03 kB / 295.3 MB, free: 21.37 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.878e-05/0.1425, allocations: 32.28 kB / 295.3 MB, free: 21.36 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.1425, allocations: 7.297 kB / 295.3 MB, free: 21.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004906/0.143, allocations: 1.223 MB / 296.6 MB, free: 20.23 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.143, allocations: 0.75 kB / 296.6 MB, free: 20.23 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003346/0.1433, allocations: 346.3 kB / 296.9 MB, free: 20.07 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.751e-05/0.1434, allocations: 35.44 kB / 296.9 MB, free: 20.05 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.442e-05/0.1434, allocations: 6.094 kB / 297 MB, free: 20.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.46e-05/0.1435, allocations: 16.44 kB / 297 MB, free: 20.05 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.426e-05/0.1436, allocations: 27.05 kB / 297 MB, free: 20.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.1436, allocations: 4.438 kB / 297 MB, free: 20.05 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001398/0.1437, allocations: 118.7 kB / 297.1 MB, free: 20.03 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1437, allocations: 0.9688 kB / 297.1 MB, free: 20.03 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003194/0.144, allocations: 106.8 kB / 297.2 MB, free: 20.03 MB / 266.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 0.0001014/0.1441, allocations: 91.97 kB / 297.3 MB, free: 19.96 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003675/0.1445, allocations: 304.4 kB / 297.6 MB, free: 19.82 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.708e-06/0.1445, allocations: 4.656 kB / 297.6 MB, free: 19.82 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001531/0.1447, allocations: 213.7 kB / 297.8 MB, free: 19.7 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002784/0.1449, allocations: 70.27 kB / 297.9 MB, free: 19.69 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001481/0.1464, allocations: 0.9502 MB / 298.8 MB, free: 19.19 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.53e-05/0.1465, allocations: 125.1 kB / 299 MB, free: 19.11 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001295/0.1466, allocations: 43.91 kB / 299 MB, free: 19.09 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000148/0.1468, allocations: 119.9 kB / 299.1 MB, free: 19.04 MB / 266.7 MB Notification: Performance of SimCode: time 7.11e-07/0.1468, allocations: 0 / 299.1 MB, free: 19.04 MB / 266.7 MB Notification: Performance of Templates: time 0.007388/0.1542, allocations: 4.356 MB / 303.5 MB, free: 18.13 MB / 266.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: 2.7641468290239573]