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.001428/0.001428, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001555/0.001555, allocations: 173.3 kB / 23.02 MB, free: 1.551 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.983/0.983, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.004736/0.004736, allocations: 1.199 MB / 261.1 MB, free: 11.9 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.393e-06/1.393e-06, allocations: 3.938 kB / 331.1 MB, free: 3.355 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.401e-05/1.54e-05, allocations: 8.641 kB / 331.1 MB, free: 3.348 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Translational.DCPMBraking): time 0.004362/0.004377, allocations: 4.464 MB / 335.6 MB, free: 14.86 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002099/0.006476, allocations: 1.417 MB / 337 MB, free: 13.43 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002745/0.006751, allocations: 15.94 kB / 337 MB, free: 13.41 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005445/0.007295, allocations: 206.4 kB / 337.2 MB, free: 13.21 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002822/0.007577, allocations: 226.1 kB / 337.5 MB, free: 12.99 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001756/0.007753, allocations: 131.8 kB / 337.6 MB, free: 12.86 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000507/0.00826, allocations: 0.6957 MB / 338.3 MB, free: 12.16 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002529/0.008513, allocations: 181.1 kB / 338.5 MB, free: 11.98 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000463/0.008976, allocations: 411 kB / 338.9 MB, free: 11.58 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002219/0.009198, allocations: 215.3 kB / 339.1 MB, free: 11.37 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.673e-05/0.009254, allocations: 60 kB / 339.1 MB, free: 11.31 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001098/0.009364, allocations: 72 kB / 339.2 MB, free: 11.24 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.775e-05/0.009432, allocations: 131.5 kB / 339.3 MB, free: 11.11 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001426/0.009575, allocations: 219.4 kB / 339.5 MB, free: 10.89 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004511/0.01003, allocations: 458.3 kB / 340 MB, free: 10.45 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.01003, allocations: 0 / 340 MB, free: 10.45 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.01003, allocations: 0 / 340 MB, free: 10.45 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.01003, allocations: 0 / 340 MB, free: 10.45 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.0009336/0.01097, allocations: 0.8894 MB / 340.9 MB, free: 9.52 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.01101, allocations: 12.03 kB / 340.9 MB, free: 9.508 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002078/0.01122, allocations: 124.5 kB / 341 MB, free: 9.387 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004348/0.01166, allocations: 340.1 kB / 341.3 MB, free: 9.023 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.195e-05/0.01169, allocations: 37.69 kB / 341.4 MB, free: 8.988 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.763e-05/0.01178, allocations: 64.45 kB / 341.4 MB, free: 8.926 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007773/0.01255, allocations: 459.9 kB / 341.9 MB, free: 8.434 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.01257, allocations: 192 / 341.9 MB, free: 8.434 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.061e-05/0.01261, allocations: 36.06 kB / 341.9 MB, free: 8.398 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/0.01262, allocations: 12 kB / 341.9 MB, free: 8.387 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002767/0.0129, allocations: 181.8 kB / 342.1 MB, free: 8.211 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001731/0.01463, allocations: 1.688 MB / 343.8 MB, free: 6.449 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002946/0.01492, allocations: 186.7 kB / 344 MB, free: 6.254 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.357e-05/0.01502, allocations: 83.56 kB / 344.1 MB, free: 6.168 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.01503, allocations: 4 kB / 344.1 MB, free: 6.164 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.01505, allocations: 37.39 kB / 344.1 MB, free: 6.117 MB / 314.7 MB Notification: Performance of pre-optimization done (n=31): time 1.533e-06/0.01505, allocations: 0 / 344.1 MB, free: 6.117 MB / 314.7 MB Notification: Performance of matching and sorting (n=35): time 0.001242/0.0163, allocations: 0.8769 MB / 345 MB, free: 5.176 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/0.01633, allocations: 55.41 kB / 345 MB, free: 5.109 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002981/0.01663, allocations: 374.2 kB / 345.4 MB, free: 4.727 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.01665, allocations: 29.7 kB / 345.4 MB, free: 4.691 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/0.0168, allocations: 335.5 kB / 345.8 MB, free: 4.359 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.115e-05/0.01687, allocations: 130.9 kB / 345.9 MB, free: 4.23 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.037e-05/0.01695, allocations: 83.81 kB / 346 MB, free: 4.141 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.01709, allocations: 0.5274 MB / 346.5 MB, free: 3.602 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.861e-05/0.01717, allocations: 48.97 kB / 346.5 MB, free: 3.551 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/0.01732, allocations: 219.9 kB / 346.8 MB, free: 3.27 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000265/0.01759, allocations: 298.9 kB / 347.1 MB, free: 2.91 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.01759, allocations: 0 / 347.1 MB, free: 2.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0003746/0.01796, allocations: 356.3 kB / 347.4 MB, free: 2.551 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.01798, allocations: 11.98 kB / 347.4 MB, free: 2.539 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.01798, allocations: 4 kB / 347.4 MB, free: 2.535 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001657/0.01815, allocations: 47.59 kB / 347.5 MB, free: 2.484 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/0.01833, allocations: 84.22 kB / 347.5 MB, free: 2.402 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001325/0.01965, allocations: 1.858 MB / 349.4 MB, free: 432 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.01976, allocations: 12 kB / 349.4 MB, free: 420 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.64e-05/0.01978, allocations: 23.94 kB / 349.4 MB, free: 396 kB / 314.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.0001141/0.01989, allocations: 184.4 kB / 349.6 MB, free: 200 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.737e-05/0.01994, allocations: 47.77 kB / 349.7 MB, free: 152 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.8e-05/0.01998, allocations: 48.09 kB / 349.7 MB, free: 104 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.01998, allocations: 4 kB / 349.7 MB, free: 100 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.01998, allocations: 0 / 349.7 MB, free: 100 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.01999, allocations: 3.984 kB / 349.7 MB, free: 96 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007356/0.02073, allocations: 0.7319 MB / 350.5 MB, free: 15.31 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.02073, allocations: 4 kB / 350.5 MB, free: 15.31 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001615/0.02089, allocations: 63.91 kB / 350.5 MB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.716e-05/0.02099, allocations: 39.62 kB / 350.6 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.021, allocations: 12 kB / 350.6 MB, free: 15.19 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007325/0.02174, allocations: 1.807 MB / 352.4 MB, free: 13.26 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.02174, allocations: 3.984 kB / 352.4 MB, free: 13.26 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003963/0.02214, allocations: 472.3 kB / 352.8 MB, free: 12.76 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.019e-05/0.02221, allocations: 63.72 kB / 352.9 MB, free: 12.7 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.314e-05/0.02223, allocations: 4 kB / 352.9 MB, free: 12.7 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.774e-05/0.02233, allocations: 15.94 kB / 352.9 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.558e-05/0.02237, allocations: 24.02 kB / 352.9 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.02238, allocations: 12 kB / 353 MB, free: 12.64 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001688/0.02255, allocations: 251 kB / 353.2 MB, free: 12.4 MB / 330.7 MB Notification: Performance of sort global known variables: time 2e-07/0.02255, allocations: 3.938 kB / 353.2 MB, free: 12.39 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002749/0.02283, allocations: 108 kB / 353.3 MB, free: 12.29 MB / 330.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.756e-05/0.02292, allocations: 103.2 kB / 353.4 MB, free: 12.18 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004016/0.02332, allocations: 398.5 kB / 353.8 MB, free: 11.77 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.02332, allocations: 0 / 353.8 MB, free: 11.77 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001859/0.0235, allocations: 282.8 kB / 354.1 MB, free: 11.47 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.02378, allocations: 61.53 kB / 354.1 MB, free: 11.41 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.02518, allocations: 1.017 MB / 355.2 MB, free: 10.36 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.498e-05/0.02525, allocations: 121.7 kB / 355.3 MB, free: 10.21 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.783e-05/0.02535, allocations: 39.27 kB / 355.3 MB, free: 10.18 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.23e-05/0.02541, allocations: 28.5 kB / 355.3 MB, free: 10.15 MB / 330.7 MB Notification: Performance of SimCode: time 7.81e-07/0.02541, allocations: 0 / 355.3 MB, free: 10.15 MB / 330.7 MB Notification: Performance of Templates: time 0.006616/0.03203, allocations: 4.248 MB / 359.6 MB, free: 5.977 MB / 330.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.0285308388993144]