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.001435/0.001435, allocations: 73.09 kB / 20.66 MB, free: 3.844 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.001634/0.001634, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9879/0.9879, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.006272/0.006272, allocations: 1.198 MB / 262.2 MB, free: 11.75 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.813e-06/1.813e-06, allocations: 0 / 332.4 MB, free: 3.094 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.454e-05/2.635e-05, allocations: 6.25 kB / 332.4 MB, free: 3.086 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Rotational.SMPMBrakingRectifier): time 0.008264/0.00829, allocations: 6.356 MB / 338.7 MB, free: 12.69 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004494/0.01278, allocations: 2.095 MB / 340.8 MB, free: 10.59 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006234/0.01341, allocations: 47.62 kB / 340.9 MB, free: 10.54 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009829/0.01439, allocations: 389.5 kB / 341.2 MB, free: 10.16 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001239/0.01563, allocations: 0.5393 MB / 341.8 MB, free: 9.613 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004898/0.01612, allocations: 247.6 kB / 342 MB, free: 9.371 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002061/0.01818, allocations: 2.058 MB / 344.1 MB, free: 7.305 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001104/0.01928, allocations: 0.7529 MB / 344.8 MB, free: 6.504 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002048/0.02133, allocations: 1.38 MB / 346.2 MB, free: 5.121 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008523/0.02218, allocations: 0.9392 MB / 347.2 MB, free: 4.18 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001853/0.02237, allocations: 224 kB / 347.4 MB, free: 3.961 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002854/0.02265, allocations: 248 kB / 347.6 MB, free: 3.719 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003889/0.02304, allocations: 0.5804 MB / 348.2 MB, free: 3.137 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005418/0.02359, allocations: 0.6977 MB / 348.9 MB, free: 2.438 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001419/0.025, allocations: 1.636 MB / 350.5 MB, free: 0.7969 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.02501, allocations: 0 / 350.5 MB, free: 0.7969 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.02501, allocations: 0 / 350.5 MB, free: 0.7969 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.428e-05/0.02503, allocations: 0 / 350.5 MB, free: 0.7969 MB / 314.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.002366/0.02739, allocations: 2.145 MB / 352.7 MB, free: 14.6 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.02743, allocations: 8.031 kB / 352.7 MB, free: 14.59 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004024/0.02783, allocations: 319.7 kB / 353 MB, free: 14.28 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00123/0.02906, allocations: 0.9639 MB / 354 MB, free: 13.28 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.1e-05/0.02913, allocations: 103.2 kB / 354.1 MB, free: 13.18 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001449/0.02928, allocations: 148.3 kB / 354.2 MB, free: 13.04 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001177/0.03045, allocations: 1.199 MB / 355.4 MB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.986e-05/0.03048, allocations: 4 kB / 355.4 MB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.378e-05/0.03057, allocations: 56 kB / 355.5 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.414e-05/0.03063, allocations: 70.81 kB / 355.5 MB, free: 11.61 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000659/0.03129, allocations: 466.5 kB / 356 MB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004871/0.03616, allocations: 4.878 MB / 360.9 MB, free: 6.137 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007967/0.03696, allocations: 0.7248 MB / 361.6 MB, free: 5.422 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006804/0.03764, allocations: 0.5439 MB / 362.1 MB, free: 4.875 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.929e-05/0.03769, allocations: 17 kB / 362.1 MB, free: 4.859 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.03772, allocations: 54.31 kB / 362.2 MB, free: 4.793 MB / 330.7 MB Notification: Performance of pre-optimization done (n=99): time 2.535e-06/0.03773, allocations: 0 / 362.2 MB, free: 4.793 MB / 330.7 MB Notification: Performance of matching and sorting (n=99): time 0.003423/0.04115, allocations: 1.691 MB / 363.9 MB, free: 3.078 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/0.04118, allocations: 60.41 kB / 364 MB, free: 3.008 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005539/0.04173, allocations: 0.7451 MB / 364.7 MB, free: 2.242 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.849e-05/0.04178, allocations: 45.64 kB / 364.7 MB, free: 2.191 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003519/0.04213, allocations: 0.7063 MB / 365.4 MB, free: 1.477 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000202/0.04233, allocations: 356.9 kB / 365.8 MB, free: 1.125 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000193/0.04253, allocations: 184.1 kB / 366 MB, free: 0.9336 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.04268, allocations: 0.5315 MB / 366.5 MB, free: 404 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001735/0.04285, allocations: 125.9 kB / 366.6 MB, free: 280 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002774/0.04313, allocations: 306.7 kB / 366.9 MB, free: 15.92 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007872/0.04392, allocations: 491.6 kB / 367.4 MB, free: 15.39 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/0.04392, allocations: 4 kB / 367.4 MB, free: 15.38 MB / 346.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001025/0.04495, allocations: 0.8047 MB / 368.2 MB, free: 14.55 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.844e-05/0.04497, allocations: 8 kB / 368.2 MB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.04498, allocations: 4 kB / 368.2 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007676/0.04575, allocations: 339.2 kB / 368.6 MB, free: 14.2 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003474/0.0461, allocations: 143.8 kB / 368.7 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004939/0.05104, allocations: 6.96 MB / 375.7 MB, free: 6.742 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004131/0.05145, allocations: 79.34 kB / 375.7 MB, free: 6.664 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.953e-05/0.05149, allocations: 24 kB / 375.8 MB, free: 6.641 MB / 346.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.0004287/0.05192, allocations: 208.4 kB / 376 MB, free: 6.426 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001443/0.05206, allocations: 139.3 kB / 376.1 MB, free: 6.289 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001145/0.05321, allocations: 0.8385 MB / 376.9 MB, free: 5.426 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.05322, allocations: 12 kB / 377 MB, free: 5.414 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.05322, allocations: 0 / 377 MB, free: 5.414 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/0.05323, allocations: 3.984 kB / 377 MB, free: 5.41 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002312/0.05554, allocations: 1.864 MB / 378.8 MB, free: 3.496 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.05554, allocations: 4 kB / 378.8 MB, free: 3.492 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003144/0.05586, allocations: 123.8 kB / 378.9 MB, free: 3.371 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006085/0.05647, allocations: 322.8 kB / 379.3 MB, free: 3.039 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.106e-05/0.05651, allocations: 20 kB / 379.3 MB, free: 3.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004065/0.06057, allocations: 6.883 MB / 386.2 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.06058, allocations: 4 kB / 386.2 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001188/0.06176, allocations: 1.096 MB / 387.3 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002714/0.06203, allocations: 215 kB / 387.5 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.647e-05/0.06211, allocations: 24 kB / 387.5 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002545/0.06237, allocations: 35.97 kB / 387.5 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001361/0.0625, allocations: 84.78 kB / 387.6 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.562e-05/0.06254, allocations: 23.98 kB / 387.6 MB, free: 10.28 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003158/0.06285, allocations: 454.8 kB / 388.1 MB, free: 9.844 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06285, allocations: 0 / 388.1 MB, free: 9.844 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009192/0.06377, allocations: 474.9 kB / 388.5 MB, free: 9.379 MB / 362.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.00016/0.06393, allocations: 119.2 kB / 388.7 MB, free: 9.25 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001535/0.06547, allocations: 1.253 MB / 389.9 MB, free: 7.938 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.06547, allocations: 4 kB / 389.9 MB, free: 7.934 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008144/0.06628, allocations: 1.047 MB / 391 MB, free: 6.824 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000777/0.06706, allocations: 333.6 kB / 391.3 MB, free: 6.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003476/0.07054, allocations: 2.867 MB / 394.2 MB, free: 3.594 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.07087, allocations: 433.5 kB / 394.6 MB, free: 3.145 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002861/0.07116, allocations: 112.8 kB / 394.7 MB, free: 3.031 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004941/0.07165, allocations: 362 kB / 395 MB, free: 2.676 MB / 362.7 MB Notification: Performance of SimCode: time 8.62e-07/0.07165, allocations: 4 kB / 395.1 MB, free: 2.672 MB / 362.7 MB Notification: Performance of Templates: time 0.03175/0.1034, allocations: 24.46 MB / 419.5 MB, free: 10.49 MB / 394.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.832147305831313]