Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ElectricBraking_ElectricBraking.Examples.Translational.SMPMBraking.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.0006951/0.0006951, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008941/0.001589, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007378/0.0007378, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009412/0.001679, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 1.046/1.046, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.086/1.132, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.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.00454/0.00454, allocations: 1.183 MB / 245.3 MB, free: 13.62 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001511/0.006051, allocations: 0.8268 MB / 246.2 MB, free: 12.79 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.SMPMBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Translational.SMPMBraking") translateModel(ElectricBraking.Examples.Translational.SMPMBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Translational.SMPMBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0 / 247.5 MB, free: 11.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.289e-05/1.395e-05, allocations: 2.312 kB / 247.5 MB, free: 11.48 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Translational.SMPMBraking): time 0.004922/0.004936, allocations: 5.98 MB / 253.4 MB, free: 5.465 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003164/0.0081, allocations: 2.059 MB / 255.5 MB, free: 3.398 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005195/0.008619, allocations: 47.69 kB / 255.5 MB, free: 3.352 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006708/0.00929, allocations: 385.2 kB / 255.9 MB, free: 2.973 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000857/0.01015, allocations: 488.6 kB / 256.4 MB, free: 2.492 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003216/0.01047, allocations: 223.6 kB / 256.6 MB, free: 2.273 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001391/0.01186, allocations: 1.936 MB / 258.5 MB, free: 336 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008514/0.01271, allocations: 0.8958 MB / 259.4 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001588/0.0143, allocations: 1.449 MB / 260.9 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00128/0.01558, allocations: 0.9314 MB / 261.8 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003243/0.0159, allocations: 216 kB / 262 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003851/0.01629, allocations: 247.9 kB / 262.3 MB, free: 12.53 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002988/0.01659, allocations: 486.7 kB / 262.8 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005039/0.01709, allocations: 0.5654 MB / 263.3 MB, free: 11.49 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001192/0.01828, allocations: 1.515 MB / 264.8 MB, free: 9.969 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.01829, allocations: 0 / 264.8 MB, free: 9.969 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.01829, allocations: 0 / 264.8 MB, free: 9.969 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.23e-05/0.01833, allocations: 0 / 264.8 MB, free: 9.969 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: 394 * Number of variables: 394 Notification: Performance of Generate backend data structure: time 0.002414/0.02075, allocations: 2.293 MB / 267.1 MB, free: 7.641 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.02078, allocations: 15.97 kB / 267.1 MB, free: 7.625 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005006/0.02128, allocations: 341.8 kB / 267.5 MB, free: 7.273 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/0.0223, allocations: 0.7115 MB / 268.2 MB, free: 6.531 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.382e-05/0.02238, allocations: 111.4 kB / 268.3 MB, free: 6.422 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001681/0.02255, allocations: 156.4 kB / 268.5 MB, free: 6.27 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001679/0.02422, allocations: 1.275 MB / 269.7 MB, free: 4.91 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.218e-05/0.02426, allocations: 7.938 kB / 269.7 MB, free: 4.902 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.589e-05/0.02434, allocations: 60 kB / 269.8 MB, free: 4.844 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-05/0.0244, allocations: 59.06 kB / 269.8 MB, free: 4.785 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006512/0.02505, allocations: 473.6 kB / 270.3 MB, free: 4.309 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00436/0.02941, allocations: 3.285 MB / 273.6 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005984/0.03001, allocations: 0.4913 MB / 274.1 MB, free: 440 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002211/0.03023, allocations: 174.7 kB / 274.3 MB, free: 264 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.395e-05/0.03027, allocations: 16.59 kB / 274.3 MB, free: 248 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.454e-05/0.03031, allocations: 47.16 kB / 274.3 MB, free: 192 kB / 266.7 MB Notification: Performance of pre-optimization done (n=80): time 3.787e-06/0.03031, allocations: 0 / 274.3 MB, free: 192 kB / 266.7 MB Notification: Performance of matching and sorting (n=90): time 0.1278/0.1581, allocations: 2.324 MB / 276.6 MB, free: 15.76 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.267e-05/0.1581, allocations: 61.44 kB / 276.7 MB, free: 15.7 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005672/0.1587, allocations: 0.5846 MB / 277.3 MB, free: 15.57 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.518e-05/0.1588, allocations: 42.8 kB / 277.3 MB, free: 15.54 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000241/0.159, allocations: 0.5956 MB / 277.9 MB, free: 15.23 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001471/0.1591, allocations: 319.9 kB / 278.2 MB, free: 15.03 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001732/0.1593, allocations: 160.7 kB / 278.4 MB, free: 15.01 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.812e-05/0.1594, allocations: 342.5 kB / 278.7 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001971/0.1596, allocations: 113.3 kB / 278.8 MB, free: 14.7 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002387/0.1598, allocations: 282.1 kB / 279.1 MB, free: 14.52 MB / 266.7 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.0007366/0.1605, allocations: 0.6724 MB / 279.8 MB, free: 14.32 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.1605, allocations: 1.688 kB / 279.8 MB, free: 14.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.001249/0.1618, allocations: 0.7163 MB / 280.5 MB, free: 14.22 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.1618, allocations: 7.531 kB / 280.5 MB, free: 14.22 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.1618, allocations: 4.969 kB / 280.5 MB, free: 14.22 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007866/0.1626, allocations: 337.1 kB / 280.8 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004415/0.163, allocations: 188.4 kB / 281 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0031/0.1661, allocations: 4.932 MB / 286 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003041/0.1664, allocations: 31.89 kB / 286 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.034e-05/0.1665, allocations: 24.72 kB / 286 MB, free: 10.43 MB / 266.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: massLoad.s = $START.massLoad.s. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 4 (switch.control[3],switch.control[2],switch.control[1],integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,15,81.2%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003028/0.1668, allocations: 168.9 kB / 286.2 MB, free: 10.31 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001284/0.1669, allocations: 86.64 kB / 286.3 MB, free: 10.31 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00103/0.1679, allocations: 0.6875 MB / 287 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.283e-06/0.168, allocations: 8.812 kB / 287 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.168, allocations: 4.594 kB / 287 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.168, allocations: 4.266 kB / 287 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00214/0.1701, allocations: 1.748 MB / 288.7 MB, free: 9.816 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.1701, allocations: 1.281 kB / 288.7 MB, free: 9.816 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003813/0.1705, allocations: 169.5 kB / 288.9 MB, free: 9.812 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001831/0.1707, allocations: 122.8 kB / 289 MB, free: 9.762 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006331/0.1713, allocations: 317.4 kB / 289.3 MB, free: 9.711 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.952e-05/0.1713, allocations: 23.81 kB / 289.3 MB, free: 9.711 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002169/0.1735, allocations: 4.657 MB / 294 MB, free: 5.988 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.1735, allocations: 3.5 kB / 294 MB, free: 5.988 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009661/0.1745, allocations: 0.9279 MB / 294.9 MB, free: 5.742 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.665e-05/0.1746, allocations: 16.56 kB / 294.9 MB, free: 5.742 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002293/0.1748, allocations: 46.73 kB / 295 MB, free: 5.738 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/0.1749, allocations: 67.98 kB / 295.1 MB, free: 5.738 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-05/0.1749, allocations: 19.91 kB / 295.1 MB, free: 5.738 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001777/0.1751, allocations: 280.3 kB / 295.4 MB, free: 5.711 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1751, allocations: 3.828 kB / 295.4 MB, free: 5.711 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006572/0.1758, allocations: 330.7 kB / 295.7 MB, free: 5.711 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (massLoad.s,massLoad.v,integrator.y,heatCapacitor.T,smpm.clarkeParkConverter.idq[1],smpm.clarkeParkConverter.idq[2]) * Number of discrete variables: 3 (switch.control[1],switch.control[2],switch.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(4,15,81.2%), (1,2,100.0%), (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.0001137/0.1759, allocations: 110.5 kB / 295.8 MB, free: 5.637 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009663/0.1769, allocations: 0.9718 MB / 296.8 MB, free: 5.227 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.21e-05/0.1769, allocations: 13.94 kB / 296.8 MB, free: 5.227 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007035/0.1776, allocations: 0.7827 MB / 297.6 MB, free: 4.844 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001548/0.1791, allocations: 2.736 MB / 300.3 MB, free: 1.953 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02096/0.2001, allocations: 2.707 MB / 303 MB, free: 416 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005119/0.2006, allocations: 388.2 kB / 303.4 MB, free: 16 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0006886/0.2013, allocations: 116.2 kB / 303.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008066/0.2021, allocations: 290.7 kB / 303.8 MB, free: 15.59 MB / 282.7 MB Notification: Performance of SimCode: time 2.094e-06/0.2021, allocations: 0 / 303.8 MB, free: 15.59 MB / 282.7 MB Notification: Performance of Templates: time 0.02908/0.2312, allocations: 20.18 MB / 324 MB, free: 11.8 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ElectricBraking_ElectricBraking.Examples.Translational.SMPMBraking.makefile [Timeout 660] (rm -f ElectricBraking_ElectricBraking.Examples.Translational.SMPMBraking.pipe ; mkfifo ElectricBraking_ElectricBraking.Examples.Translational.SMPMBraking.pipe ; head -c 1048576 < ElectricBraking_ElectricBraking.Examples.Translational.SMPMBraking.pipe >> ../files/ElectricBraking_ElectricBraking.Examples.Translational.SMPMBraking.sim & ./ElectricBraking_ElectricBraking.Examples.Translational.SMPMBraking -abortSlowSimulation -alarm=240 -lv LOG_STATS > ElectricBraking_ElectricBraking.Examples.Translational.SMPMBraking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0751092601567507]