Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ElectricBraking_ElectricBraking.Examples.Translational.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.0008678/0.0008678, 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.0009009/0.0009009, 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.9374/0.9374, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.005007/0.005007, allocations: 1.196 MB / 262.2 MB, free: 11.74 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.Translational.SMPMBrakingRectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Translational.SMPMBrakingRectifier") translateModel(ElectricBraking.Examples.Translational.SMPMBrakingRectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Translational.SMPMBrakingRectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 331.5 MB, free: 18.82 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.108e-05/1.26e-05, allocations: 2.312 kB / 331.5 MB, free: 18.81 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Translational.SMPMBrakingRectifier): time 0.004685/0.004698, allocations: 6.724 MB / 338.3 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002709/0.007407, allocations: 2.157 MB / 340.4 MB, free: 9.891 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004035/0.007811, allocations: 51.62 kB / 340.5 MB, free: 9.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006898/0.008501, allocations: 405.4 kB / 340.9 MB, free: 9.441 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007752/0.009276, allocations: 0.5625 MB / 341.4 MB, free: 8.875 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003054/0.009581, allocations: 267.6 kB / 341.7 MB, free: 8.613 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001144/0.01073, allocations: 2.135 MB / 343.8 MB, free: 6.469 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006514/0.01138, allocations: 0.7848 MB / 344.6 MB, free: 5.629 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001238/0.01261, allocations: 1.419 MB / 346 MB, free: 4.207 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000797/0.01341, allocations: 0.9625 MB / 347 MB, free: 3.242 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000247/0.01366, allocations: 236 kB / 347.2 MB, free: 3.012 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002752/0.01393, allocations: 252 kB / 347.5 MB, free: 2.766 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002505/0.01418, allocations: 0.592 MB / 348.1 MB, free: 2.172 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004367/0.01462, allocations: 0.7171 MB / 348.8 MB, free: 1.453 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001087/0.01571, allocations: 1.675 MB / 350.5 MB, free: 15.77 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.01571, allocations: 0 / 350.5 MB, free: 15.77 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.01571, allocations: 0 / 350.5 MB, free: 15.77 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.651e-05/0.01575, allocations: 0 / 350.5 MB, free: 15.77 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: 385 * Number of variables: 385 Notification: Performance of Generate backend data structure: time 0.002386/0.01813, allocations: 2.215 MB / 352.7 MB, free: 13.51 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.01817, allocations: 8.031 kB / 352.7 MB, free: 13.5 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000419/0.01859, allocations: 327.7 kB / 353 MB, free: 13.18 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000991/0.01958, allocations: 0.9913 MB / 354 MB, free: 12.16 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.424e-05/0.01964, allocations: 111.3 kB / 354.1 MB, free: 12.05 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001466/0.01979, allocations: 144.4 kB / 354.2 MB, free: 11.91 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/0.02102, allocations: 1.237 MB / 355.5 MB, free: 10.57 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.253e-05/0.02105, allocations: 7.891 kB / 355.5 MB, free: 10.56 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.551e-05/0.02113, allocations: 71.98 kB / 355.6 MB, free: 10.49 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.672e-05/0.02119, allocations: 66.94 kB / 355.6 MB, free: 10.42 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007166/0.02191, allocations: 479.8 kB / 356.1 MB, free: 9.941 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004476/0.02638, allocations: 4.961 MB / 361.1 MB, free: 4.844 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007741/0.02716, allocations: 0.7479 MB / 361.8 MB, free: 4.105 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006517/0.02781, allocations: 0.5515 MB / 362.4 MB, free: 3.551 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.576e-05/0.02786, allocations: 17 kB / 362.4 MB, free: 3.535 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.02788, allocations: 46.39 kB / 362.4 MB, free: 3.477 MB / 282.7 MB Notification: Performance of pre-optimization done (n=105): time 2.485e-06/0.02789, allocations: 0 / 362.4 MB, free: 3.477 MB / 282.7 MB Notification: Performance of matching and sorting (n=109): time 0.00462/0.03251, allocations: 2.849 MB / 365.3 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.685e-05/0.03253, allocations: 60.41 kB / 365.3 MB, free: 492 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005423/0.03308, allocations: 0.7645 MB / 366.1 MB, free: 15.7 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.651e-05/0.03312, allocations: 57.64 kB / 366.1 MB, free: 15.63 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003259/0.03345, allocations: 0.7298 MB / 366.9 MB, free: 14.89 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002103/0.03366, allocations: 392.7 kB / 367.3 MB, free: 14.5 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001975/0.03386, allocations: 196.5 kB / 367.5 MB, free: 14.3 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.03399, allocations: 0.5315 MB / 368 MB, free: 13.77 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000186/0.03418, allocations: 130.5 kB / 368.1 MB, free: 13.64 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002784/0.03445, allocations: 345.1 kB / 368.4 MB, free: 13.24 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005239/0.03498, allocations: 0.5341 MB / 369 MB, free: 12.64 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.03498, allocations: 4 kB / 369 MB, free: 12.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001014/0.036, allocations: 0.871 MB / 369.9 MB, free: 11.74 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.03601, allocations: 8 kB / 369.9 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.03601, allocations: 0 / 369.9 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006782/0.03669, allocations: 347.3 kB / 370.2 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003337/0.03703, allocations: 159.8 kB / 370.4 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004026/0.04105, allocations: 7.055 MB / 377.4 MB, free: 3.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002436/0.0413, allocations: 27.98 kB / 377.4 MB, free: 3.793 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.224e-05/0.04134, allocations: 28 kB / 377.5 MB, free: 3.766 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (91): * Single equations (assignments): 87 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0002379/0.04158, allocations: 220.3 kB / 377.7 MB, free: 3.539 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001353/0.04171, allocations: 143.3 kB / 377.8 MB, free: 3.398 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001058/0.04277, allocations: 0.8936 MB / 378.7 MB, free: 2.477 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.04278, allocations: 11.98 kB / 378.7 MB, free: 2.465 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.04278, allocations: 4 kB / 378.7 MB, free: 2.461 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.04279, allocations: 3.984 kB / 378.7 MB, free: 2.457 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002173/0.04496, allocations: 1.946 MB / 380.7 MB, free: 468 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.04496, allocations: 0 / 380.7 MB, free: 468 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003248/0.04529, allocations: 139.8 kB / 380.8 MB, free: 328 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006192/0.04591, allocations: 334.8 kB / 381.1 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.691e-05/0.04595, allocations: 23.98 kB / 381.2 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003704/0.04966, allocations: 6.946 MB / 388.1 MB, free: 8.66 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.04966, allocations: 4 kB / 388.1 MB, free: 8.656 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001215/0.05087, allocations: 1.163 MB / 389.3 MB, free: 7.453 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002436/0.05112, allocations: 207.1 kB / 389.5 MB, free: 7.25 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.815e-05/0.0512, allocations: 27.98 kB / 389.5 MB, free: 7.223 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002453/0.05144, allocations: 35.98 kB / 389.5 MB, free: 7.188 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/0.05157, allocations: 92.77 kB / 389.6 MB, free: 7.098 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.819e-05/0.05161, allocations: 27.98 kB / 389.7 MB, free: 7.07 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002863/0.0519, allocations: 458.8 kB / 390.1 MB, free: 6.629 MB / 314.7 MB Notification: Performance of sort global known variables: time 2e-08/0.0519, allocations: 3.938 kB / 390.1 MB, free: 6.625 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006094/0.05251, allocations: 388 kB / 390.5 MB, free: 6.246 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 7 (massLoad.s,massLoad.v,integrator.y,heatCapacitor.T,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 (72): * Single equations (assignments): 68 * 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,3,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.0001288/0.05264, allocations: 131.1 kB / 390.6 MB, free: 6.109 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001142/0.05378, allocations: 1.308 MB / 391.9 MB, free: 4.742 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.05378, allocations: 4 kB / 391.9 MB, free: 4.738 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007958/0.05458, allocations: 1.074 MB / 393 MB, free: 3.605 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007165/0.05529, allocations: 329.8 kB / 393.3 MB, free: 3.285 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003219/0.05851, allocations: 3.018 MB / 396.4 MB, free: 212 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005823/0.05909, allocations: 0.8464 MB / 397.2 MB, free: 15.32 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005447/0.05964, allocations: 386 kB / 397.6 MB, free: 14.94 MB / 330.7 MB Notification: Performance of SimCode: time 8.52e-07/0.05964, allocations: 0 / 397.6 MB, free: 14.94 MB / 330.7 MB Notification: Performance of Templates: time 0.1254/0.185, allocations: 50.19 MB / 447.8 MB, free: 53.37 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ElectricBraking_ElectricBraking.Examples.Translational.SMPMBrakingRectifier.makefile [Timeout 660] (rm -f ElectricBraking_ElectricBraking.Examples.Translational.SMPMBrakingRectifier.pipe ; mkfifo ElectricBraking_ElectricBraking.Examples.Translational.SMPMBrakingRectifier.pipe ; head -c 1048576 < ElectricBraking_ElectricBraking.Examples.Translational.SMPMBrakingRectifier.pipe >> ../files/ElectricBraking_ElectricBraking.Examples.Translational.SMPMBrakingRectifier.sim & ./ElectricBraking_ElectricBraking.Examples.Translational.SMPMBrakingRectifier > ElectricBraking_ElectricBraking.Examples.Translational.SMPMBrakingRectifier.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.873971619643271]