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.0009816/0.0009816, allocations: 80.81 kB / 20.8 MB, free: 3.656 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.001196/0.001196, allocations: 165 kB / 24.22 MB, free: 240 kB / 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.9888/0.9888, allocations: 177.1 MB / 204.7 MB, free: 5.441 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.005233/0.005233, allocations: 1.198 MB / 262.4 MB, free: 11.73 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.613e-06/1.613e-06, allocations: 0 / 279.3 MB, free: 10.76 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.883e-05/3.045e-05, allocations: 6.25 kB / 279.3 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Translational.DCPMBraking): time 0.005882/0.005912, allocations: 4.449 MB / 283.8 MB, free: 6.277 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003194/0.009106, allocations: 1.448 MB / 285.2 MB, free: 4.82 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004358/0.009542, allocations: 15.94 kB / 285.2 MB, free: 4.805 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007795/0.01032, allocations: 234.2 kB / 285.5 MB, free: 4.574 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004476/0.01077, allocations: 214.2 kB / 285.7 MB, free: 4.363 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002684/0.01104, allocations: 127.8 kB / 285.8 MB, free: 4.238 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007291/0.01177, allocations: 0.7113 MB / 286.5 MB, free: 3.523 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000313/0.01208, allocations: 183 kB / 286.7 MB, free: 3.34 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006826/0.01276, allocations: 407 kB / 287.1 MB, free: 2.941 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002886/0.01305, allocations: 211.3 kB / 287.3 MB, free: 2.734 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.768e-05/0.01312, allocations: 60 kB / 287.4 MB, free: 2.676 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001937/0.01331, allocations: 83.92 kB / 287.4 MB, free: 2.594 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.643e-05/0.01339, allocations: 131.5 kB / 287.6 MB, free: 2.465 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001466/0.01354, allocations: 215.4 kB / 287.8 MB, free: 2.254 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006545/0.01419, allocations: 454.3 kB / 288.2 MB, free: 1.809 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.01419, allocations: 8 kB / 288.2 MB, free: 1.801 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.0142, allocations: 0 / 288.2 MB, free: 1.801 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.186e-05/0.01421, allocations: 0 / 288.2 MB, free: 1.801 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.0009247/0.01513, allocations: 0.7645 MB / 289 MB, free: 1.012 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.01518, allocations: 8.031 kB / 289 MB, free: 1.004 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002111/0.01539, allocations: 104.8 kB / 289.1 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003761/0.01576, allocations: 273.3 kB / 289.4 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.555e-05/0.0158, allocations: 41.69 kB / 289.4 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.68e-05/0.01589, allocations: 56.56 kB / 289.5 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004146/0.0163, allocations: 432.4 kB / 289.9 MB, free: 60 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.01632, allocations: 4.141 kB / 289.9 MB, free: 56 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.665e-05/0.01635, allocations: 24.12 kB / 289.9 MB, free: 32 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.01636, allocations: 16 kB / 289.9 MB, free: 16 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1846/0.2009, allocations: 130.5 kB / 290.1 MB, free: 24.81 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002081/0.203, allocations: 1.236 MB / 291.3 MB, free: 24.24 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003395/0.2033, allocations: 167.6 kB / 291.5 MB, free: 24.21 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.573e-05/0.2034, allocations: 58.8 kB / 291.5 MB, free: 24.2 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.2035, allocations: 5.672 kB / 291.5 MB, free: 24.2 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.022e-05/0.2035, allocations: 36.62 kB / 291.6 MB, free: 24.16 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 2.535e-06/0.2035, allocations: 0.5312 kB / 291.6 MB, free: 24.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.001366/0.2049, allocations: 0.7191 MB / 292.3 MB, free: 23.88 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.948e-05/0.2049, allocations: 56.09 kB / 292.3 MB, free: 23.81 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002788/0.2052, allocations: 297 kB / 292.6 MB, free: 23.7 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.2052, allocations: 35.02 kB / 292.7 MB, free: 23.67 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001398/0.2053, allocations: 264.6 kB / 292.9 MB, free: 23.51 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.332e-05/0.2054, allocations: 130.1 kB / 293 MB, free: 23.44 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.887e-05/0.2055, allocations: 80.92 kB / 293.1 MB, free: 23.42 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.403e-05/0.2056, allocations: 352.7 kB / 293.5 MB, free: 23.11 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.134e-05/0.2056, allocations: 37.17 kB / 293.5 MB, free: 23.11 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.2058, allocations: 157.8 kB / 293.7 MB, free: 22.97 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002367/0.206, allocations: 240.2 kB / 293.9 MB, free: 22.84 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.206, allocations: 1 kB / 293.9 MB, free: 22.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0003961/0.2064, allocations: 261.5 kB / 294.1 MB, free: 22.79 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.877e-05/0.2064, allocations: 6.594 kB / 294.2 MB, free: 22.79 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.2064, allocations: 3.812 kB / 294.2 MB, free: 22.79 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000199/0.2066, allocations: 44 kB / 294.2 MB, free: 22.78 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002693/0.2069, allocations: 101.5 kB / 294.3 MB, free: 22.78 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000803/0.2077, allocations: 1.262 MB / 295.6 MB, free: 21.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001408/0.2079, allocations: 15.81 kB / 295.6 MB, free: 21.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.586e-05/0.2079, allocations: 14.67 kB / 295.6 MB, free: 21.66 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 0.0001114/0.208, allocations: 133.1 kB / 295.7 MB, free: 21.54 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.426e-05/0.208, allocations: 40.11 kB / 295.8 MB, free: 21.54 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.337e-05/0.2081, allocations: 47.91 kB / 295.8 MB, free: 21.53 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.2081, allocations: 5.047 kB / 295.8 MB, free: 21.53 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.2081, allocations: 3.219 kB / 295.8 MB, free: 21.53 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.2081, allocations: 1.922 kB / 295.8 MB, free: 21.53 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006381/0.2087, allocations: 498.7 kB / 296.3 MB, free: 21.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.2087, allocations: 0.625 kB / 296.3 MB, free: 21.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002095/0.2089, allocations: 75.73 kB / 296.4 MB, free: 21.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001008/0.209, allocations: 43.5 kB / 296.4 MB, free: 21.32 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.2091, allocations: 9.906 kB / 296.4 MB, free: 21.31 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004944/0.2096, allocations: 1.221 MB / 297.7 MB, free: 20.18 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2096, allocations: 0 / 297.7 MB, free: 20.18 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003243/0.2099, allocations: 346.5 kB / 298 MB, free: 20.02 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.953e-05/0.21, allocations: 39.31 kB / 298 MB, free: 20 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.21, allocations: 6.75 kB / 298 MB, free: 20 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.486e-05/0.2101, allocations: 15.78 kB / 298.1 MB, free: 20 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.122e-05/0.2101, allocations: 30.95 kB / 298.1 MB, free: 20 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.2101, allocations: 8.188 kB / 298.1 MB, free: 20 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000121/0.2103, allocations: 113.7 kB / 298.2 MB, free: 19.98 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2103, allocations: 0 / 298.2 MB, free: 19.98 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003687/0.2106, allocations: 108.2 kB / 298.3 MB, free: 19.98 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 9.727e-05/0.2107, allocations: 93.66 kB / 298.4 MB, free: 19.91 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003688/0.2111, allocations: 307.6 kB / 298.7 MB, free: 19.78 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.091e-05/0.2111, allocations: 7.188 kB / 298.7 MB, free: 19.78 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001627/0.2113, allocations: 216.2 kB / 298.9 MB, free: 19.65 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002675/0.2115, allocations: 70.81 kB / 299 MB, free: 19.64 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001603/0.2131, allocations: 0.9482 MB / 299.9 MB, free: 19.14 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001189/0.2133, allocations: 120.3 kB / 300.1 MB, free: 19.06 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001602/0.2134, allocations: 39.59 kB / 300.1 MB, free: 19.05 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001702/0.2136, allocations: 120.9 kB / 300.2 MB, free: 19 MB / 266.7 MB Notification: Performance of SimCode: time 7.32e-07/0.2136, allocations: 4 kB / 300.2 MB, free: 19 MB / 266.7 MB Notification: Performance of Templates: time 0.008612/0.2222, allocations: 4.439 MB / 304.7 MB, free: 18.03 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.9976115096360445]