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.001491/0.001491, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.00186/0.00186, allocations: 177 kB / 23.36 MB, free: 1.129 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.998/0.998, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.0129/0.0129, allocations: 1.203 MB / 261.5 MB, free: 11.77 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.353e-06/1.353e-06, allocations: 0 / 278.4 MB, free: 10.86 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.171e-05/2.306e-05, allocations: 2.312 kB / 278.4 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Rotational.SMPMBrakingRectifier): time 0.005644/0.005668, allocations: 6.403 MB / 284.8 MB, free: 4.418 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003479/0.009147, allocations: 2.165 MB / 286.9 MB, free: 2.246 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005636/0.009711, allocations: 51.62 kB / 287 MB, free: 2.195 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008587/0.01057, allocations: 413 kB / 287.4 MB, free: 1.789 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001012/0.01158, allocations: 0.5354 MB / 287.9 MB, free: 1.25 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000379/0.01196, allocations: 263.5 kB / 288.2 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1039/0.1158, allocations: 2.047 MB / 290.2 MB, free: 19.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001172/0.117, allocations: 0.7798 MB / 291 MB, free: 19.65 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002239/0.1192, allocations: 1.364 MB / 292.4 MB, free: 19.59 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001562/0.1208, allocations: 0.9354 MB / 293.3 MB, free: 19.51 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005383/0.1213, allocations: 223.5 kB / 293.5 MB, free: 19.51 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005362/0.1219, allocations: 248 kB / 293.8 MB, free: 19.51 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004642/0.1223, allocations: 0.5812 MB / 294.4 MB, free: 19.43 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001168/0.1235, allocations: 0.6929 MB / 295 MB, free: 19.27 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00217/0.1257, allocations: 1.633 MB / 296.7 MB, free: 18.6 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1257, allocations: 1.75 kB / 296.7 MB, free: 18.6 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1257, allocations: 0 / 296.7 MB, free: 18.6 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.555e-05/0.1257, allocations: 1.125 kB / 296.7 MB, free: 18.6 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: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.003403/0.1291, allocations: 1.926 MB / 298.6 MB, free: 17.54 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.1292, allocations: 8.469 kB / 298.6 MB, free: 17.54 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005758/0.1298, allocations: 255.2 kB / 298.9 MB, free: 17.49 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00122/0.131, allocations: 0.7168 MB / 299.6 MB, free: 17.12 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.775e-05/0.1311, allocations: 103.4 kB / 299.7 MB, free: 17.07 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001972/0.1313, allocations: 143.8 kB / 299.8 MB, free: 17.03 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001643/0.1329, allocations: 1.207 MB / 301 MB, free: 16.51 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.849e-05/0.1329, allocations: 12.7 kB / 301 MB, free: 16.5 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001136/0.133, allocations: 60.31 kB / 301.1 MB, free: 16.46 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.147e-05/0.1331, allocations: 69.33 kB / 301.2 MB, free: 16.45 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008699/0.134, allocations: 402.5 kB / 301.6 MB, free: 16.4 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004718/0.1387, allocations: 3.733 MB / 305.3 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007911/0.1395, allocations: 0.6492 MB / 305.9 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007419/0.1402, allocations: 0.5089 MB / 306.5 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.804e-05/0.1403, allocations: 16.44 kB / 306.5 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.1403, allocations: 45.75 kB / 306.5 MB, free: 14.02 MB / 266.7 MB Notification: Performance of pre-optimization done (n=99): time 3.516e-06/0.1403, allocations: 0 / 306.5 MB, free: 14.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=99): time 0.003934/0.1443, allocations: 1.526 MB / 308 MB, free: 12.92 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.127e-05/0.1443, allocations: 60.41 kB / 308.1 MB, free: 12.85 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005028/0.1448, allocations: 0.6115 MB / 308.7 MB, free: 12.34 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.336e-05/0.1448, allocations: 41.7 kB / 308.7 MB, free: 12.29 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001801/0.145, allocations: 0.5248 MB / 309.3 MB, free: 11.79 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001569/0.1452, allocations: 351.5 kB / 309.6 MB, free: 11.47 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002001/0.1454, allocations: 160.5 kB / 309.8 MB, free: 11.32 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.793e-05/0.1454, allocations: 345.5 kB / 310.1 MB, free: 11 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002147/0.1456, allocations: 116.8 kB / 310.2 MB, free: 10.88 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002497/0.1459, allocations: 249.9 kB / 310.5 MB, free: 10.63 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005211/0.1464, allocations: 457.3 kB / 310.9 MB, free: 10.18 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.1464, allocations: 4 kB / 310.9 MB, free: 10.17 MB / 266.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001022/0.1474, allocations: 0.6599 MB / 311.6 MB, free: 9.52 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.1475, allocations: 10.44 kB / 311.6 MB, free: 9.512 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.178e-06/0.1475, allocations: 7.938 kB / 311.6 MB, free: 9.504 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008132/0.1483, allocations: 317 kB / 311.9 MB, free: 9.191 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005181/0.1488, allocations: 172 kB / 312.1 MB, free: 9.031 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003531/0.1523, allocations: 5.141 MB / 317.2 MB, free: 3.707 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004986/0.1528, allocations: 71.47 kB / 317.3 MB, free: 3.637 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-05/0.1529, allocations: 27.94 kB / 317.3 MB, free: 3.609 MB / 266.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 (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 (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.0004374/0.1533, allocations: 172.2 kB / 317.5 MB, free: 3.441 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001404/0.1535, allocations: 95.91 kB / 317.6 MB, free: 3.348 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001071/0.1545, allocations: 0.7236 MB / 318.3 MB, free: 2.617 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-06/0.1545, allocations: 8 kB / 318.3 MB, free: 2.609 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1545, allocations: 4.844 kB / 318.3 MB, free: 2.605 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.697e-06/0.1545, allocations: 7.969 kB / 318.3 MB, free: 2.598 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002331/0.1569, allocations: 1.542 MB / 319.9 MB, free: 1.152 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.1569, allocations: 5.172 kB / 319.9 MB, free: 1.148 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004907/0.1574, allocations: 141.1 kB / 320 MB, free: 1.016 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007699/0.1581, allocations: 342.7 kB / 320.3 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.784e-05/0.1582, allocations: 23.94 kB / 320.4 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004123/0.1623, allocations: 5.078 MB / 325.4 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.1623, allocations: 0 / 325.4 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001518/0.1638, allocations: 0.9036 MB / 326.3 MB, free: 10.49 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003649/0.1642, allocations: 162.1 kB / 326.5 MB, free: 10.33 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/0.1643, allocations: 24 kB / 326.5 MB, free: 10.31 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003503/0.1647, allocations: 31.98 kB / 326.6 MB, free: 10.28 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000168/0.1648, allocations: 80.83 kB / 326.6 MB, free: 10.2 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.8e-05/0.1649, allocations: 23.94 kB / 326.7 MB, free: 10.17 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002885/0.1652, allocations: 307 kB / 327 MB, free: 9.91 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1652, allocations: 3.75 kB / 327 MB, free: 9.91 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009531/0.1661, allocations: 462.9 kB / 327.4 MB, free: 9.457 MB / 282.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.0001558/0.1663, allocations: 123.8 kB / 327.5 MB, free: 9.332 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001145/0.1674, allocations: 1.028 MB / 328.6 MB, free: 8.293 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/0.1674, allocations: 11.47 kB / 328.6 MB, free: 8.285 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007483/0.1682, allocations: 0.8307 MB / 329.4 MB, free: 7.441 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007436/0.1689, allocations: 327.9 kB / 329.7 MB, free: 7.137 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003588/0.1725, allocations: 2.772 MB / 332.5 MB, free: 4.359 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.1728, allocations: 369.5 kB / 332.9 MB, free: 3.977 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002943/0.1731, allocations: 113 kB / 333 MB, free: 3.863 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005102/0.1736, allocations: 317.1 kB / 333.3 MB, free: 3.555 MB / 282.7 MB Notification: Performance of SimCode: time 1.162e-06/0.1736, allocations: 4 kB / 333.3 MB, free: 3.551 MB / 282.7 MB Notification: Performance of Templates: time 0.0293/0.2029, allocations: 24.21 MB / 357.5 MB, free: 11.78 MB / 314.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ElectricBraking_ElectricBraking.Examples.Rotational.SMPMBrakingRectifier.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.934566686861217]