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.004467/0.004467, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.00192/0.00192, allocations: 169 kB / 23.27 MB, free: 1.219 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.9839/0.9839, allocations: 177.1 MB / 203.7 MB, free: 5.492 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.005262/0.005262, allocations: 1.198 MB / 261.4 MB, free: 11.73 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.633e-06/1.633e-06, allocations: 0 / 331.6 MB, free: 18 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.177e-05/1.341e-05, allocations: 2.312 kB / 331.6 MB, free: 17.99 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Rotational.SMPMBrakingRectifier): time 0.00429/0.004303, allocations: 6.351 MB / 337.9 MB, free: 11.61 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002541/0.006844, allocations: 2.091 MB / 340 MB, free: 9.512 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004729/0.007317, allocations: 47.62 kB / 340.1 MB, free: 9.465 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006122/0.007929, allocations: 389.2 kB / 340.5 MB, free: 9.082 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008694/0.008799, allocations: 0.5354 MB / 341 MB, free: 8.543 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003876/0.009186, allocations: 247.6 kB / 341.2 MB, free: 8.301 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001461/0.01065, allocations: 2.069 MB / 343.3 MB, free: 6.223 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006439/0.01129, allocations: 0.7646 MB / 344.1 MB, free: 5.402 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001632/0.01292, allocations: 1.372 MB / 345.4 MB, free: 4.027 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009053/0.01383, allocations: 0.9392 MB / 346.4 MB, free: 3.086 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000438/0.01427, allocations: 224 kB / 346.6 MB, free: 2.867 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003908/0.01466, allocations: 247.9 kB / 346.8 MB, free: 2.625 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003559/0.01501, allocations: 0.5804 MB / 347.4 MB, free: 2.043 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006278/0.01564, allocations: 0.6938 MB / 348.1 MB, free: 1.348 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001426/0.01707, allocations: 1.624 MB / 349.7 MB, free: 15.71 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.01707, allocations: 3.938 kB / 349.7 MB, free: 15.71 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.01707, allocations: 0 / 349.7 MB, free: 15.71 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.964e-05/0.01711, allocations: 0 / 349.7 MB, free: 15.71 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.002997/0.02011, allocations: 2.141 MB / 351.9 MB, free: 13.52 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.02014, allocations: 8.031 kB / 351.9 MB, free: 13.52 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005101/0.02065, allocations: 315.8 kB / 352.2 MB, free: 13.21 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009622/0.02161, allocations: 0.9678 MB / 353.2 MB, free: 12.21 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.6e-05/0.02167, allocations: 103.2 kB / 353.3 MB, free: 12.11 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001311/0.0218, allocations: 152.3 kB / 353.4 MB, free: 11.96 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/0.02289, allocations: 1.207 MB / 354.6 MB, free: 10.65 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.548e-05/0.02292, allocations: 3.938 kB / 354.6 MB, free: 10.65 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.626e-05/0.023, allocations: 56 kB / 354.7 MB, free: 10.59 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.413e-05/0.02305, allocations: 70.81 kB / 354.7 MB, free: 10.52 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006045/0.02365, allocations: 466.5 kB / 355.2 MB, free: 10.05 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004154/0.02781, allocations: 4.866 MB / 360.1 MB, free: 5.059 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007071/0.02852, allocations: 0.7329 MB / 360.8 MB, free: 4.336 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006145/0.02913, allocations: 0.5398 MB / 361.3 MB, free: 3.793 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.397e-05/0.02917, allocations: 20.98 kB / 361.4 MB, free: 3.773 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.0292, allocations: 58.27 kB / 361.4 MB, free: 3.703 MB / 282.7 MB Notification: Performance of pre-optimization done (n=99): time 1.953e-06/0.0292, allocations: 0 / 361.4 MB, free: 3.703 MB / 282.7 MB Notification: Performance of matching and sorting (n=99): time 0.003162/0.03237, allocations: 1.691 MB / 363.1 MB, free: 1.988 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.67e-05/0.03239, allocations: 68.39 kB / 363.2 MB, free: 1.91 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005294/0.03292, allocations: 0.745 MB / 363.9 MB, free: 1.148 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.673e-05/0.03297, allocations: 41.7 kB / 364 MB, free: 1.102 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003205/0.03329, allocations: 0.7024 MB / 364.7 MB, free: 400 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001917/0.03348, allocations: 368.9 kB / 365 MB, free: 28 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001955/0.03368, allocations: 172.2 kB / 365.2 MB, free: 15.85 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.03382, allocations: 0.5315 MB / 365.7 MB, free: 15.31 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001717/0.03399, allocations: 121.9 kB / 365.8 MB, free: 15.19 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002582/0.03425, allocations: 310.7 kB / 366.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000483/0.03473, allocations: 499.6 kB / 366.6 MB, free: 14.29 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/0.03474, allocations: 0 / 366.6 MB, free: 14.29 MB / 298.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.000952/0.03569, allocations: 0.8163 MB / 367.5 MB, free: 13.45 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.0357, allocations: 8 kB / 367.5 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.03571, allocations: 0 / 367.5 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006603/0.03637, allocations: 327.4 kB / 367.8 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003157/0.03668, allocations: 143.8 kB / 367.9 MB, free: 12.97 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004015/0.0407, allocations: 6.958 MB / 374.9 MB, free: 5.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002496/0.04095, allocations: 75.38 kB / 375 MB, free: 5.586 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.936e-05/0.04099, allocations: 28 kB / 375 MB, free: 5.559 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 (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.0002355/0.04122, allocations: 212.4 kB / 375.2 MB, free: 5.34 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/0.04135, allocations: 143.3 kB / 375.3 MB, free: 5.199 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009685/0.04232, allocations: 0.8424 MB / 376.2 MB, free: 4.336 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.04233, allocations: 12 kB / 376.2 MB, free: 4.324 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.04233, allocations: 3.938 kB / 376.2 MB, free: 4.32 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.04234, allocations: 7.969 kB / 376.2 MB, free: 4.312 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002178/0.04452, allocations: 1.852 MB / 378 MB, free: 2.406 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.04452, allocations: 4 kB / 378 MB, free: 2.402 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000304/0.04482, allocations: 115.9 kB / 378.2 MB, free: 2.289 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006268/0.04545, allocations: 322.8 kB / 378.5 MB, free: 1.957 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-05/0.0455, allocations: 19.98 kB / 378.5 MB, free: 1.938 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003955/0.04945, allocations: 6.891 MB / 385.4 MB, free: 10.7 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.04945, allocations: 0 / 385.4 MB, free: 10.7 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001248/0.0507, allocations: 1.108 MB / 386.5 MB, free: 9.555 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002594/0.05096, allocations: 215 kB / 386.7 MB, free: 9.344 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.846e-05/0.05103, allocations: 19.94 kB / 386.7 MB, free: 9.324 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002368/0.05127, allocations: 31.98 kB / 386.8 MB, free: 9.293 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001426/0.05141, allocations: 88.83 kB / 386.8 MB, free: 9.207 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.388e-05/0.05144, allocations: 20 kB / 386.9 MB, free: 9.188 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002919/0.05173, allocations: 454.8 kB / 387.3 MB, free: 8.746 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05173, allocations: 0 / 387.3 MB, free: 8.746 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007359/0.05247, allocations: 470.9 kB / 387.8 MB, free: 8.285 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.0001334/0.0526, allocations: 125.7 kB / 387.9 MB, free: 8.156 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001148/0.05375, allocations: 1.257 MB / 389.1 MB, free: 6.84 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.05375, allocations: 0 / 389.1 MB, free: 6.84 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007814/0.05454, allocations: 1.043 MB / 390.2 MB, free: 5.734 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007122/0.05525, allocations: 338.9 kB / 390.5 MB, free: 5.406 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003164/0.05841, allocations: 2.87 MB / 393.4 MB, free: 2.496 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003152/0.05873, allocations: 429.5 kB / 393.8 MB, free: 2.047 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002544/0.05898, allocations: 108.9 kB / 393.9 MB, free: 1.938 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004722/0.05945, allocations: 370 kB / 394.3 MB, free: 1.574 MB / 314.7 MB Notification: Performance of SimCode: time 8.91e-07/0.05945, allocations: 0 / 394.3 MB, free: 1.574 MB / 314.7 MB Notification: Performance of Templates: time 0.1298/0.1892, allocations: 24.02 MB / 418.3 MB, free: 74.45 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: 6.494659416843206]