Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ElectricBraking_ElectricBraking.Examples.Rotational.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.002354/0.002354, allocations: 105.5 kB / 18.95 MB, free: 1.176 MB / 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.002282/0.002282, allocations: 207.2 kB / 22.25 MB, free: 3.57 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.749/1.749, allocations: 230.6 MB / 256 MB, free: 9.602 MB / 202.7 MB " [Timeout remaining time 178] 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.01087/0.01087, allocations: 1.593 MB / 314 MB, free: 368 kB / 234.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.Rotational.SMPMBrakingRectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Rotational.SMPMBrakingRectifier") translateModel(ElectricBraking.Examples.Rotational.SMPMBrakingRectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Rotational.SMPMBrakingRectifier") [Timeout 660] "Notification: ElectricBraking requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003776/0.003776, allocations: 69.7 kB / 437.1 MB, free: 46.1 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09332/0.09709, allocations: 53.78 MB / 490.9 MB, free: 10 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Rotational.SMPMBrakingRectifier): time 0.009055/0.1061, allocations: 5.842 MB / 496.7 MB, free: 4.133 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004228/0.1104, allocations: 2.017 MB / 498.8 MB, free: 2.109 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006314/0.111, allocations: 43.69 kB / 498.8 MB, free: 2.066 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001042/0.112, allocations: 377.3 kB / 499.2 MB, free: 1.695 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00131/0.1134, allocations: 0.5204 MB / 499.7 MB, free: 1.172 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004952/0.1139, allocations: 251.6 kB / 499.9 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002419/0.1163, allocations: 1.996 MB / 0.4902 GB, free: 14.92 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0012/0.1175, allocations: 0.7606 MB / 0.4909 GB, free: 14.11 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001308/0.1188, allocations: 0.88 MB / 0.4918 GB, free: 13.22 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001627/0.1204, allocations: 1.008 MB / 0.4928 GB, free: 12.21 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003515/0.1208, allocations: 228 kB / 0.493 GB, free: 11.99 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004971/0.1213, allocations: 244 kB / 0.4932 GB, free: 11.75 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006325/0.1219, allocations: 0.5687 MB / 0.4938 GB, free: 11.18 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001029/0.1229, allocations: 0.8169 MB / 0.4946 GB, free: 10.36 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003341/0.1263, allocations: 2.811 MB / 0.4973 GB, free: 7.539 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.1263, allocations: 0 / 0.4973 GB, free: 7.539 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1263, allocations: 0 / 0.4973 GB, free: 7.539 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.116e-05/0.1263, allocations: 0 / 0.4973 GB, free: 7.539 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.004187/0.1305, allocations: 2.087 MB / 0.4993 GB, free: 5.41 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.1305, allocations: 15.97 kB / 0.4994 GB, free: 5.395 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004652/0.131, allocations: 211.7 kB / 0.4996 GB, free: 5.188 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001997/0.133, allocations: 1.082 MB / 0.5006 GB, free: 4.078 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001046/0.1331, allocations: 103.2 kB / 0.5007 GB, free: 3.977 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002619/0.1334, allocations: 147.9 kB / 0.5009 GB, free: 3.828 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003788/0.1372, allocations: 2.128 MB / 0.5029 GB, free: 1.613 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.585e-05/0.1372, allocations: 7.938 kB / 0.5029 GB, free: 1.605 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001553/0.1374, allocations: 56 kB / 0.503 GB, free: 1.551 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.811e-05/0.1375, allocations: 74.81 kB / 0.5031 GB, free: 1.477 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003188/0.1406, allocations: 1.725 MB / 0.5047 GB, free: 15.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01005/0.1507, allocations: 5.44 MB / 0.5101 GB, free: 10.19 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002416/0.1531, allocations: 1.356 MB / 0.5114 GB, free: 8.84 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001929/0.155, allocations: 0.968 MB / 0.5123 GB, free: 7.871 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.6e-05/0.1551, allocations: 9 kB / 0.5123 GB, free: 7.863 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.498e-05/0.1552, allocations: 55.48 kB / 0.5124 GB, free: 7.797 MB / 378.7 MB Notification: Performance of pre-optimization done (n=103): time 2.876e-06/0.1552, allocations: 0 / 0.5124 GB, free: 7.797 MB / 378.7 MB Notification: Performance of matching and sorting (n=105): time 0.01287/0.168, allocations: 5.044 MB / 0.5173 GB, free: 2.707 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.51e-05/0.1681, allocations: 64.41 kB / 0.5174 GB, free: 2.633 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00146/0.1696, allocations: 0.8564 MB / 0.5182 GB, free: 1.766 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.075e-05/0.1697, allocations: 49.69 kB / 0.5183 GB, free: 1.711 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006226/0.1703, allocations: 0.6296 MB / 0.5189 GB, free: 1.074 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003713/0.1707, allocations: 376.8 kB / 0.5192 GB, free: 0.7031 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003188/0.171, allocations: 170.6 kB / 0.5194 GB, free: 0.5273 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002178/0.1712, allocations: 341.9 kB / 0.5197 GB, free: 192 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009648/0.1722, allocations: 0.5446 MB / 0.5203 GB, free: 15.64 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001052/0.1732, allocations: 0.661 MB / 0.5209 GB, free: 14.95 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002025/0.1752, allocations: 1.248 MB / 0.5221 GB, free: 13.66 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.319e-06/0.1752, allocations: 0 / 0.5221 GB, free: 13.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003551/0.1788, allocations: 1.84 MB / 0.5239 GB, free: 11.8 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/0.1788, allocations: 8.062 kB / 0.5239 GB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/0.1788, allocations: 4 kB / 0.5239 GB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001925/0.1808, allocations: 0.6846 MB / 0.5246 GB, free: 11.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006578/0.1814, allocations: 163.7 kB / 0.5248 GB, free: 10.94 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01122/0.1926, allocations: 8.056 MB / 0.5326 GB, free: 2.566 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009117/0.1936, allocations: 51.92 kB / 0.5327 GB, free: 2.516 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.929e-05/0.1936, allocations: 32 kB / 0.5327 GB, free: 2.484 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 8 (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,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): 83 * 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 {(2,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,26)} Notification: Performance of prepare postOptimizeDAE: time 0.001045/0.1947, allocations: 0.5326 MB / 0.5332 GB, free: 1.941 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002388/0.1949, allocations: 111.3 kB / 0.5333 GB, free: 1.832 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003799/0.1987, allocations: 1.909 MB / 0.5352 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.397e-05/0.1987, allocations: 12 kB / 0.5352 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.1987, allocations: 4 kB / 0.5352 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.359e-05/0.1987, allocations: 7.922 kB / 0.5352 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00659/0.2053, allocations: 3.308 MB / 0.5384 GB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.2053, allocations: 128 / 0.5384 GB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006765/0.206, allocations: 139.9 kB / 0.5386 GB, free: 12.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001749/0.2078, allocations: 0.6511 MB / 0.5392 GB, free: 11.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.927e-05/0.2078, allocations: 24 kB / 0.5392 GB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01086/0.2187, allocations: 7.991 MB / 0.547 GB, free: 3.375 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.2187, allocations: 0 / 0.547 GB, free: 3.375 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004782/0.2235, allocations: 2.681 MB / 0.5497 GB, free: 0.6562 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007123/0.2242, allocations: 247.2 kB / 0.5499 GB, free: 424 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001423/0.2244, allocations: 20 kB / 0.5499 GB, free: 404 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005991/0.225, allocations: 51.95 kB / 0.55 GB, free: 352 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002917/0.2252, allocations: 92.81 kB / 0.55 GB, free: 256 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.606e-05/0.2253, allocations: 35.92 kB / 0.5501 GB, free: 220 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.2388/0.4641, allocations: 0.6035 MB / 0.5507 GB, free: 65.61 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.4641, allocations: 3.469 kB / 0.5507 GB, free: 65.61 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001693/0.4658, allocations: 377.5 kB / 0.551 GB, free: 65.61 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (inertiaLoad.w,integrator.y,heatCapacitor.T,smpm.inertiaRotor.phi,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 (70): * Single equations (assignments): 66 * 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 {(2,1,100.0%), (1,1,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.0002231/0.4661, allocations: 136.5 kB / 0.5512 GB, free: 65.52 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003163/0.4692, allocations: 1.923 MB / 0.553 GB, free: 65.13 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/0.4692, allocations: 1.062 kB / 0.553 GB, free: 65.13 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001901/0.4711, allocations: 1.304 MB / 0.5543 GB, free: 64.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001419/0.4725, allocations: 321.2 kB / 0.5546 GB, free: 64.64 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005906/0.4784, allocations: 3.589 MB / 0.5581 GB, free: 63 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001233/0.4797, allocations: 0.8969 MB / 0.559 GB, free: 62.73 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000743/0.4804, allocations: 191.6 kB / 0.5592 GB, free: 62.71 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002158/0.4806, allocations: 71.56 kB / 0.5593 GB, free: 62.7 MB / 410.7 MB Notification: Performance of SimCode: time 9.12e-07/0.4806, allocations: 1.25 kB / 0.5593 GB, free: 62.7 MB / 410.7 MB Notification: Performance of Templates: time 0.03368/0.5143, allocations: 25.39 MB / 0.584 GB, free: 45.73 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f ElectricBraking_ElectricBraking.Examples.Rotational.SMPMBrakingRectifier.makefile [Timeout 660] (rm -f ElectricBraking_ElectricBraking.Examples.Rotational.SMPMBrakingRectifier.pipe ; mkfifo ElectricBraking_ElectricBraking.Examples.Rotational.SMPMBrakingRectifier.pipe ; head -c 1048576 < ElectricBraking_ElectricBraking.Examples.Rotational.SMPMBrakingRectifier.pipe >> ../files/ElectricBraking_ElectricBraking.Examples.Rotational.SMPMBrakingRectifier.sim & ./ElectricBraking_ElectricBraking.Examples.Rotational.SMPMBrakingRectifier -abortSlowSimulation -alarm=240 -lv LOG_STATS > ElectricBraking_ElectricBraking.Examples.Rotational.SMPMBrakingRectifier.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 11.213441001717001]