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.0009465/0.0009465, allocations: 92.22 kB / 19.65 MB, free: 276 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.001416/0.001416, allocations: 173 kB / 23.03 MB, free: 1.543 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 1.051/1.051, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.005105/0.005105, allocations: 1.195 MB / 261.1 MB, free: 11.89 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.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: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 331.1 MB, free: 18.27 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.872e-05/3.033e-05, allocations: 10.31 kB / 331.1 MB, free: 18.26 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Rotational.SMPMBrakingRectifier): time 0.007331/0.007362, allocations: 6.458 MB / 337.6 MB, free: 11.77 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003959/0.01132, allocations: 2.107 MB / 339.7 MB, free: 9.656 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008437/0.01216, allocations: 43.69 kB / 339.8 MB, free: 9.613 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001046/0.01321, allocations: 381.2 kB / 340.1 MB, free: 9.238 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001388/0.0146, allocations: 0.5431 MB / 340.7 MB, free: 8.691 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004717/0.01507, allocations: 255.6 kB / 340.9 MB, free: 8.441 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0017/0.01677, allocations: 2.07 MB / 343 MB, free: 6.363 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008937/0.01766, allocations: 0.7607 MB / 343.7 MB, free: 5.547 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001189/0.01885, allocations: 1.376 MB / 345.1 MB, free: 4.168 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007566/0.01961, allocations: 0.9275 MB / 346.1 MB, free: 3.238 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001742/0.01978, allocations: 224 kB / 346.3 MB, free: 3.02 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002597/0.02004, allocations: 240 kB / 346.5 MB, free: 2.785 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002748/0.02032, allocations: 0.5881 MB / 347.1 MB, free: 2.195 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004523/0.02077, allocations: 0.6938 MB / 347.8 MB, free: 1.5 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001211/0.02198, allocations: 1.624 MB / 349.4 MB, free: 15.87 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.02199, allocations: 0 / 349.4 MB, free: 15.87 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.02199, allocations: 0 / 349.4 MB, free: 15.87 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.428e-05/0.02201, allocations: 4 kB / 349.4 MB, free: 15.86 MB / 282.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.002258/0.02427, allocations: 2.125 MB / 351.5 MB, free: 13.69 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.02432, allocations: 8.031 kB / 351.5 MB, free: 13.68 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004562/0.02477, allocations: 323.7 kB / 351.9 MB, free: 13.37 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001165/0.02594, allocations: 1.011 MB / 352.9 MB, free: 12.33 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.516e-05/0.026, allocations: 111.1 kB / 353 MB, free: 12.22 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/0.02614, allocations: 144.3 kB / 353.1 MB, free: 12.08 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001623/0.02777, allocations: 1.297 MB / 354.4 MB, free: 10.68 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.625e-05/0.02779, allocations: 4 kB / 354.4 MB, free: 10.68 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.442e-05/0.02788, allocations: 56 kB / 354.5 MB, free: 10.62 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-05/0.02794, allocations: 70.81 kB / 354.5 MB, free: 10.55 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001002/0.02895, allocations: 0.5805 MB / 355.1 MB, free: 9.957 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005169/0.03412, allocations: 5.159 MB / 360.3 MB, free: 4.66 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000945/0.03506, allocations: 0.7926 MB / 361.1 MB, free: 3.875 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007788/0.03584, allocations: 0.5868 MB / 361.7 MB, free: 3.285 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.077e-05/0.03589, allocations: 17 kB / 361.7 MB, free: 3.27 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.03592, allocations: 50.33 kB / 361.7 MB, free: 3.207 MB / 282.7 MB Notification: Performance of pre-optimization done (n=99): time 2.615e-06/0.03592, allocations: 8 kB / 361.7 MB, free: 3.199 MB / 282.7 MB Notification: Performance of matching and sorting (n=99): time 0.003669/0.03959, allocations: 1.808 MB / 363.5 MB, free: 1.367 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.03962, allocations: 60.41 kB / 363.6 MB, free: 1.297 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006839/0.04031, allocations: 0.7767 MB / 364.4 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003114/0.04062, allocations: 41.7 kB / 364.4 MB, free: 468 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003277/0.04095, allocations: 0.6949 MB / 365.1 MB, free: 15.75 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002024/0.04115, allocations: 365 kB / 365.5 MB, free: 15.39 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001885/0.04134, allocations: 172.3 kB / 365.6 MB, free: 15.21 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.04147, allocations: 0.5277 MB / 366.2 MB, free: 14.68 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002803/0.04175, allocations: 161.9 kB / 366.3 MB, free: 14.52 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003675/0.04212, allocations: 350.7 kB / 366.7 MB, free: 14.12 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006742/0.04279, allocations: 0.5544 MB / 367.2 MB, free: 13.52 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.0428, allocations: 4 kB / 367.2 MB, free: 13.51 MB / 298.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001212/0.04401, allocations: 0.9022 MB / 368.1 MB, free: 12.59 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.04403, allocations: 8 kB / 368.1 MB, free: 12.58 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.04404, allocations: 4.281 kB / 368.1 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007804/0.04482, allocations: 343.1 kB / 368.5 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003194/0.04514, allocations: 143.8 kB / 368.6 MB, free: 12.08 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004759/0.0499, allocations: 7.148 MB / 375.8 MB, free: 4.559 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003703/0.05027, allocations: 79.38 kB / 375.8 MB, free: 4.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.055e-05/0.05032, allocations: 32 kB / 375.9 MB, free: 4.449 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (82): * Single equations (assignments): 78 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0003452/0.05067, allocations: 208.4 kB / 376.1 MB, free: 4.234 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001489/0.05081, allocations: 147.2 kB / 376.2 MB, free: 4.09 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001302/0.05212, allocations: 0.9206 MB / 377.1 MB, free: 3.148 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.05212, allocations: 11.98 kB / 377.2 MB, free: 3.137 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/0.05213, allocations: 4 kB / 377.2 MB, free: 3.133 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.05214, allocations: 7.922 kB / 377.2 MB, free: 3.125 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003007/0.05514, allocations: 2.199 MB / 379.4 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.05515, allocations: 3.984 kB / 379.4 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003424/0.05549, allocations: 123.8 kB / 379.5 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006616/0.05615, allocations: 330.9 kB / 379.8 MB, free: 404 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.527e-05/0.0562, allocations: 19.98 kB / 379.8 MB, free: 384 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004461/0.06066, allocations: 7.088 MB / 386.9 MB, free: 8.918 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.06066, allocations: 0 / 386.9 MB, free: 8.918 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001617/0.06228, allocations: 1.232 MB / 388.2 MB, free: 7.652 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003302/0.06261, allocations: 238.9 kB / 388.4 MB, free: 7.418 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.63e-05/0.06267, allocations: 16 kB / 388.4 MB, free: 7.402 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000249/0.06292, allocations: 35.98 kB / 388.4 MB, free: 7.367 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001398/0.06306, allocations: 84.83 kB / 388.5 MB, free: 7.285 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.685e-05/0.0631, allocations: 24 kB / 388.5 MB, free: 7.262 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004246/0.06352, allocations: 490.9 kB / 389 MB, free: 6.785 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.06352, allocations: 0 / 389 MB, free: 6.785 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009011/0.06442, allocations: 466.9 kB / 389.5 MB, free: 6.328 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (inertiaLoad.w,integrator.y,heatCapacitor.T,smpm.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 (64): * Single equations (assignments): 60 * 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,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.0001559/0.06458, allocations: 135.1 kB / 389.6 MB, free: 6.188 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001469/0.06605, allocations: 1.323 MB / 390.9 MB, free: 4.805 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.06605, allocations: 4.438 kB / 390.9 MB, free: 4.801 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009181/0.06697, allocations: 1.078 MB / 392 MB, free: 3.66 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00078/0.06775, allocations: 335.5 kB / 392.3 MB, free: 3.34 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003823/0.07157, allocations: 2.909 MB / 395.3 MB, free: 404 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003046/0.07188, allocations: 429.5 kB / 395.7 MB, free: 15.94 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002477/0.07213, allocations: 108.8 kB / 395.8 MB, free: 15.84 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.07225, allocations: 68.48 kB / 395.8 MB, free: 15.77 MB / 330.7 MB Notification: Performance of SimCode: time 1.372e-06/0.07226, allocations: 0 / 395.8 MB, free: 15.77 MB / 330.7 MB Notification: Performance of Templates: time 0.1303/0.2026, allocations: 23.63 MB / 419.5 MB, free: 76.2 MB / 330.7 MB " [Timeout remaining time 660] 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: 7.235297570936382]