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.0008643/0.0008643, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.0009314/0.0009314, allocations: 177 kB / 23.36 MB, free: 1.137 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.9549/0.9549, allocations: 177.1 MB / 203.8 MB, free: 5.461 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.008859/0.008859, allocations: 1.208 MB / 261.5 MB, free: 11.76 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.733e-06/1.733e-06, allocations: 0 / 278.4 MB, free: 10.86 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.282e-05/2.456e-05, allocations: 2.312 kB / 278.4 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Translational.DCPMBraking): time 0.006003/0.006027, allocations: 4.461 MB / 282.8 MB, free: 6.371 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002772/0.0088, allocations: 1.444 MB / 284.3 MB, free: 4.918 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003518/0.009152, allocations: 15.88 kB / 284.3 MB, free: 4.902 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006558/0.009807, allocations: 234.3 kB / 284.5 MB, free: 4.672 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000304/0.01011, allocations: 214.2 kB / 284.7 MB, free: 4.461 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000174/0.01029, allocations: 131.8 kB / 284.8 MB, free: 4.332 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005409/0.01083, allocations: 0.7035 MB / 285.6 MB, free: 3.625 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002362/0.01106, allocations: 191 kB / 285.7 MB, free: 3.434 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000404/0.01147, allocations: 407 kB / 286.1 MB, free: 3.035 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002306/0.0117, allocations: 207.3 kB / 286.3 MB, free: 2.832 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.025e-05/0.01175, allocations: 60 kB / 286.4 MB, free: 2.773 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.01186, allocations: 83.92 kB / 286.5 MB, free: 2.691 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.325e-05/0.01193, allocations: 131.5 kB / 286.6 MB, free: 2.562 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001384/0.01207, allocations: 219.4 kB / 286.8 MB, free: 2.348 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004412/0.01251, allocations: 454.3 kB / 287.3 MB, free: 1.902 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.01251, allocations: 0 / 287.3 MB, free: 1.902 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.01251, allocations: 4 kB / 287.3 MB, free: 1.898 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.01252, allocations: 0 / 287.3 MB, free: 1.898 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.0007714/0.01329, allocations: 0.7645 MB / 288 MB, free: 1.109 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.965e-05/0.01332, allocations: 12.03 kB / 288 MB, free: 1.098 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001729/0.01349, allocations: 104.8 kB / 288.1 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003166/0.01381, allocations: 265.4 kB / 288.4 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.942e-05/0.01384, allocations: 37.69 kB / 288.4 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.238e-05/0.01392, allocations: 60.56 kB / 288.5 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003691/0.01429, allocations: 432.4 kB / 288.9 MB, free: 164 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/0.01431, allocations: 16.06 kB / 288.9 MB, free: 148 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.418e-05/0.01433, allocations: 24.12 kB / 289 MB, free: 124 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.01435, allocations: 15.98 kB / 289 MB, free: 108 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1017/0.116, allocations: 130.4 kB / 289.1 MB, free: 22.45 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00153/0.1176, allocations: 1.232 MB / 290.3 MB, free: 21.88 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002566/0.1178, allocations: 163.1 kB / 290.5 MB, free: 21.85 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.514e-05/0.1179, allocations: 59.59 kB / 290.6 MB, free: 21.84 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/0.1179, allocations: 5.969 kB / 290.6 MB, free: 21.84 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.988e-05/0.1179, allocations: 37.2 kB / 290.6 MB, free: 21.8 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 2.455e-06/0.1179, allocations: 1.188 kB / 290.6 MB, free: 21.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.00102/0.1189, allocations: 0.7169 MB / 291.3 MB, free: 21.51 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.656e-05/0.1189, allocations: 57.41 kB / 291.4 MB, free: 21.45 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001865/0.1191, allocations: 297.2 kB / 291.7 MB, free: 21.34 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.1191, allocations: 30.11 kB / 291.7 MB, free: 21.3 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.888e-05/0.1192, allocations: 265.8 kB / 292 MB, free: 21.14 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.157e-05/0.1193, allocations: 129 kB / 292.1 MB, free: 21.08 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.267e-05/0.1194, allocations: 82.05 kB / 292.2 MB, free: 21.06 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.732e-05/0.1194, allocations: 355.5 kB / 292.5 MB, free: 20.74 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.188e-05/0.1195, allocations: 39 kB / 292.5 MB, free: 20.74 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.252e-05/0.1196, allocations: 154.9 kB / 292.7 MB, free: 20.61 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001821/0.1197, allocations: 241.2 kB / 292.9 MB, free: 20.48 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.1197, allocations: 1.578 kB / 292.9 MB, free: 20.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0003041/0.1201, allocations: 258.3 kB / 293.2 MB, free: 20.43 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.1201, allocations: 6.531 kB / 293.2 MB, free: 20.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.1201, allocations: 6.453 kB / 293.2 MB, free: 20.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001417/0.1202, allocations: 47.58 kB / 293.2 MB, free: 20.42 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002377/0.1205, allocations: 100.6 kB / 293.3 MB, free: 20.42 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005586/0.121, allocations: 1.256 MB / 294.6 MB, free: 19.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.1211, allocations: 15.19 kB / 294.6 MB, free: 19.29 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/0.1211, allocations: 14.94 kB / 294.6 MB, free: 19.29 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.26e-05/0.1212, allocations: 137.7 kB / 294.8 MB, free: 19.18 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.559e-05/0.1213, allocations: 40.69 kB / 294.8 MB, free: 19.18 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.746e-05/0.1213, allocations: 45.69 kB / 294.8 MB, free: 19.17 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1213, allocations: 2.688 kB / 294.8 MB, free: 19.17 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.1213, allocations: 1.031 kB / 294.9 MB, free: 19.17 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.1213, allocations: 5.297 kB / 294.9 MB, free: 19.17 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005503/0.1219, allocations: 0.4964 MB / 295.4 MB, free: 18.96 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.1219, allocations: 1.438 kB / 295.4 MB, free: 18.96 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001994/0.1221, allocations: 74.38 kB / 295.4 MB, free: 18.96 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.671e-05/0.1222, allocations: 31.69 kB / 295.5 MB, free: 18.95 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.1222, allocations: 11.17 kB / 295.5 MB, free: 18.95 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004334/0.1226, allocations: 1.227 MB / 296.7 MB, free: 17.82 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.1226, allocations: 5.781 kB / 296.7 MB, free: 17.82 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003108/0.1229, allocations: 340.9 kB / 297 MB, free: 17.66 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.119e-05/0.123, allocations: 37.14 kB / 297.1 MB, free: 17.64 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.348e-05/0.123, allocations: 10.19 kB / 297.1 MB, free: 17.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.63e-05/0.1231, allocations: 14.52 kB / 297.1 MB, free: 17.64 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.73e-05/0.1232, allocations: 29.66 kB / 297.1 MB, free: 17.63 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.1232, allocations: 7.312 kB / 297.1 MB, free: 17.63 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.701e-05/0.1233, allocations: 116.8 kB / 297.2 MB, free: 17.62 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.1233, allocations: 0 / 297.2 MB, free: 17.62 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002829/0.1235, allocations: 105.9 kB / 297.3 MB, free: 17.62 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 7.964e-05/0.1236, allocations: 86.34 kB / 297.4 MB, free: 17.55 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003117/0.1239, allocations: 310 kB / 297.7 MB, free: 17.42 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.166e-06/0.1239, allocations: 3.5 kB / 297.7 MB, free: 17.42 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001345/0.1241, allocations: 209.5 kB / 297.9 MB, free: 17.3 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.1243, allocations: 77.61 kB / 298 MB, free: 17.3 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/0.1257, allocations: 0.96 MB / 299 MB, free: 16.79 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.739e-05/0.1258, allocations: 120.3 kB / 299.1 MB, free: 16.71 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001222/0.1259, allocations: 40.36 kB / 299.1 MB, free: 16.7 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001527/0.126, allocations: 122.1 kB / 299.3 MB, free: 16.65 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.126, allocations: 0 / 299.3 MB, free: 16.65 MB / 266.7 MB Notification: Performance of Templates: time 0.007609/0.1337, allocations: 4.449 MB / 303.7 MB, free: 15.81 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ElectricBraking_ElectricBraking.Examples.Translational.DCPMBraking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6797809479758143]