Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ElectricBraking_ElectricBraking.Examples.Translational.SMPMBrakingRectifier.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.0009748/0.0009748, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001401/0.002376, allocations: 435.8 kB / 10.33 MB, free: 368 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.001024/0.001024, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001324/0.002347, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 0.9431/0.9431, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07618/1.019, allocations: 53.67 MB / 243.2 MB, free: 15.58 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.004468/0.004468, allocations: 1.189 MB / 245.2 MB, free: 13.72 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001303/0.005771, allocations: 0.8151 MB / 246 MB, free: 12.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.SMPMBrakingRectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Translational.SMPMBrakingRectifier") translateModel(ElectricBraking.Examples.Translational.SMPMBrakingRectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Translational.SMPMBrakingRectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 247.3 MB, free: 11.62 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.124e-06/8.326e-06, allocations: 2.312 kB / 247.3 MB, free: 11.61 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Translational.SMPMBrakingRectifier): time 0.005203/0.005211, allocations: 6.813 MB / 254.1 MB, free: 4.762 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002905/0.008115, allocations: 2.234 MB / 256.3 MB, free: 2.52 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003302/0.008446, allocations: 51.69 kB / 256.4 MB, free: 2.469 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005493/0.008995, allocations: 416.9 kB / 256.8 MB, free: 2.059 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007116/0.009707, allocations: 0.5586 MB / 257.3 MB, free: 1.496 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002689/0.009975, allocations: 263.6 kB / 257.6 MB, free: 1.238 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00117/0.01115, allocations: 2.151 MB / 259.7 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006404/0.01179, allocations: 0.8043 MB / 260.5 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001085/0.01287, allocations: 1.515 MB / 262 MB, free: 12.69 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006949/0.01357, allocations: 0.9586 MB / 263 MB, free: 11.73 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001765/0.01374, allocations: 232 kB / 263.2 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002656/0.01401, allocations: 252 kB / 263.5 MB, free: 11.26 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002958/0.0143, allocations: 490.7 kB / 264 MB, free: 10.78 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004454/0.01475, allocations: 0.5889 MB / 264.5 MB, free: 10.19 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001099/0.01585, allocations: 1.569 MB / 266.1 MB, free: 8.613 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.04e-05/0.01586, allocations: 0 / 266.1 MB, free: 8.613 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.01586, allocations: 0 / 266.1 MB, free: 8.613 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.995e-05/0.01588, allocations: 3.938 kB / 266.1 MB, free: 8.609 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: 385 * Number of variables: 385 Notification: Performance of Generate backend data structure: time 0.00204/0.01792, allocations: 2.355 MB / 268.5 MB, free: 6.219 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.91e-05/0.01795, allocations: 15.98 kB / 268.5 MB, free: 6.203 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003335/0.01828, allocations: 341.8 kB / 268.8 MB, free: 5.852 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007675/0.01905, allocations: 0.7271 MB / 269.5 MB, free: 5.094 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.167e-05/0.01911, allocations: 115.3 kB / 269.7 MB, free: 4.98 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001333/0.01924, allocations: 144.3 kB / 269.8 MB, free: 4.84 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001118/0.02036, allocations: 1.256 MB / 271.1 MB, free: 3.488 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.881e-05/0.02039, allocations: 4 kB / 271.1 MB, free: 3.484 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.332e-05/0.02047, allocations: 56 kB / 271.1 MB, free: 3.43 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-05/0.02053, allocations: 70.94 kB / 271.2 MB, free: 3.359 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005646/0.02109, allocations: 424.1 kB / 271.6 MB, free: 2.934 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1156/0.1366, allocations: 3.82 MB / 275.4 MB, free: 18.24 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009723/0.1376, allocations: 0.667 MB / 276.1 MB, free: 18.2 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006745/0.1383, allocations: 0.5017 MB / 276.6 MB, free: 18.18 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.867e-05/0.1383, allocations: 19.36 kB / 276.6 MB, free: 18.18 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.1384, allocations: 48.39 kB / 276.7 MB, free: 18.14 MB / 266.7 MB Notification: Performance of pre-optimization done (n=105): time 2.585e-06/0.1384, allocations: 3.75 kB / 276.7 MB, free: 18.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=109): time 0.004828/0.1432, allocations: 2.68 MB / 279.3 MB, free: 17.77 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.192e-05/0.1432, allocations: 67.02 kB / 279.4 MB, free: 17.71 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005348/0.1438, allocations: 0.6295 MB / 280 MB, free: 17.58 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.406e-05/0.1438, allocations: 46.48 kB / 280.1 MB, free: 17.55 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001989/0.144, allocations: 0.5464 MB / 280.6 MB, free: 17.28 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001471/0.1442, allocations: 387 kB / 281 MB, free: 17.03 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001725/0.1443, allocations: 172.7 kB / 281.2 MB, free: 17.01 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.928e-05/0.1444, allocations: 350.7 kB / 281.5 MB, free: 16.7 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001759/0.1445, allocations: 131.3 kB / 281.6 MB, free: 16.69 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002255/0.1448, allocations: 271.7 kB / 281.9 MB, free: 16.56 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000499/0.1453, allocations: 0.4885 MB / 282.4 MB, free: 16.41 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.1453, allocations: 1.312 kB / 282.4 MB, free: 16.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.0008809/0.1462, allocations: 0.7067 MB / 283.1 MB, free: 16.3 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.1462, allocations: 5.969 kB / 283.1 MB, free: 16.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.1462, allocations: 3.25 kB / 283.1 MB, free: 16.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006938/0.1469, allocations: 349.5 kB / 283.5 MB, free: 16.24 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004473/0.1473, allocations: 192.6 kB / 283.6 MB, free: 16.24 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002936/0.1503, allocations: 5.234 MB / 288.9 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002403/0.1505, allocations: 28.97 kB / 288.9 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.117e-05/0.1505, allocations: 23.5 kB / 288.9 MB, free: 12.52 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 8 (integrator.local_reset,rectifier.diode_n.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[1].off,switch.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0002544/0.1508, allocations: 173.5 kB / 289.1 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.1509, allocations: 105.7 kB / 289.2 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008979/0.1518, allocations: 0.7648 MB / 290 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.73e-06/0.1518, allocations: 11.72 kB / 290 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.1518, allocations: 0 / 290 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.1518, allocations: 6.281 kB / 290 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001773/0.1536, allocations: 1.621 MB / 291.6 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.1536, allocations: 3.219 kB / 291.6 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003963/0.154, allocations: 172.6 kB / 291.8 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002001/0.1542, allocations: 154.5 kB / 291.9 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005863/0.1548, allocations: 345.3 kB / 292.3 MB, free: 11.81 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.087e-05/0.1548, allocations: 24.94 kB / 292.3 MB, free: 11.81 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0024/0.1572, allocations: 5.128 MB / 297.4 MB, free: 7.785 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1572, allocations: 0 / 297.4 MB, free: 7.785 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009026/0.1581, allocations: 0.9756 MB / 298.4 MB, free: 7.383 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.696e-05/0.1582, allocations: 23.06 kB / 298.4 MB, free: 7.367 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000225/0.1584, allocations: 35.09 kB / 298.4 MB, free: 7.348 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.1585, allocations: 93.38 kB / 298.5 MB, free: 7.285 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.12e-05/0.1586, allocations: 21.81 kB / 298.6 MB, free: 7.277 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.00018/0.1587, allocations: 320 kB / 298.9 MB, free: 7.184 MB / 266.7 MB Notification: Performance of sort global known variables: time 2e-08/0.1587, allocations: 0 / 298.9 MB, free: 7.184 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000526/0.1593, allocations: 386.5 kB / 299.3 MB, free: 6.949 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 7 (massLoad.s,massLoad.v,integrator.y,heatCapacitor.T,smpm.clarkeParkConverter.idq[1],smpm.clarkeParkConverter.idq[2],smpm.clarkeParkConverter.i0) * Number of discrete variables: 7 (switch.control,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,26)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001139/0.1594, allocations: 118.6 kB / 299.4 MB, free: 6.836 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009186/0.1603, allocations: 1.092 MB / 300.5 MB, free: 5.742 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.762e-05/0.1603, allocations: 14.92 kB / 300.5 MB, free: 5.73 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005748/0.1609, allocations: 0.8738 MB / 301.3 MB, free: 4.848 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006582/0.1616, allocations: 429 kB / 301.8 MB, free: 4.445 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01354/0.1751, allocations: 3.061 MB / 304.8 MB, free: 1.391 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.1754, allocations: 394.8 kB / 305.2 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003195/0.1757, allocations: 113.4 kB / 305.3 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005413/0.1763, allocations: 325.1 kB / 305.6 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of SimCode: time 8.22e-07/0.1763, allocations: 0 / 305.6 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of Templates: time 0.03426/0.2105, allocations: 25.93 MB / 331.6 MB, free: 7.039 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ElectricBraking_ElectricBraking.Examples.Translational.SMPMBrakingRectifier.makefile [Timeout 660] (rm -f ElectricBraking_ElectricBraking.Examples.Translational.SMPMBrakingRectifier.pipe ; mkfifo ElectricBraking_ElectricBraking.Examples.Translational.SMPMBrakingRectifier.pipe ; head -c 1048576 < ElectricBraking_ElectricBraking.Examples.Translational.SMPMBrakingRectifier.pipe >> ../files/ElectricBraking_ElectricBraking.Examples.Translational.SMPMBrakingRectifier.sim & ./ElectricBraking_ElectricBraking.Examples.Translational.SMPMBrakingRectifier -abortSlowSimulation -alarm=240 -lv LOG_STATS > ElectricBraking_ElectricBraking.Examples.Translational.SMPMBrakingRectifier.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.625952834263444]