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.0009045/0.0009045, allocations: 81.17 kB / 19.87 MB, free: 4.617 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.0009543/0.0009543, allocations: 173 kB / 23.28 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.9644/0.9644, allocations: 177.1 MB / 203.7 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.00512/0.00512, allocations: 1.196 MB / 261.4 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 2.064e-06/2.064e-06, allocations: 0 / 331.6 MB, free: 3.078 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.978e-05/2.184e-05, allocations: 2.312 kB / 331.6 MB, free: 3.074 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Translational.SMPMBrakingRectifier): time 0.008969/0.008991, allocations: 6.724 MB / 338.3 MB, free: 12.31 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003411/0.0124, allocations: 2.161 MB / 340.5 MB, free: 10.14 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004508/0.01285, allocations: 47.69 kB / 340.5 MB, free: 10.09 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008492/0.0137, allocations: 405 kB / 340.9 MB, free: 9.695 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00094/0.01464, allocations: 0.5548 MB / 341.5 MB, free: 9.137 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003594/0.015, allocations: 275.4 kB / 341.7 MB, free: 8.867 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001503/0.0165, allocations: 2.135 MB / 343.9 MB, free: 6.723 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007295/0.01723, allocations: 0.7809 MB / 344.6 MB, free: 5.895 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001605/0.01884, allocations: 1.411 MB / 346.1 MB, free: 4.48 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000841/0.01968, allocations: 0.9625 MB / 347 MB, free: 3.516 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002153/0.01989, allocations: 232 kB / 347.2 MB, free: 3.289 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002969/0.02019, allocations: 252 kB / 347.5 MB, free: 3.043 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003356/0.02053, allocations: 0.5959 MB / 348.1 MB, free: 2.445 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006305/0.02116, allocations: 0.7094 MB / 348.8 MB, free: 1.734 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001388/0.02255, allocations: 1.682 MB / 350.5 MB, free: 48 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.02255, allocations: 0 / 350.5 MB, free: 48 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.02255, allocations: 0 / 350.5 MB, free: 48 kB / 314.7 MB Notification: Performance of Transformations before backend: time 2.081e-05/0.02257, allocations: 0 / 350.5 MB, free: 48 kB / 314.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.0022/0.02477, allocations: 2.204 MB / 352.7 MB, free: 13.79 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.048e-05/0.0248, allocations: 8.031 kB / 352.7 MB, free: 13.79 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004006/0.0252, allocations: 335.6 kB / 353 MB, free: 13.46 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009733/0.02617, allocations: 0.9912 MB / 354 MB, free: 12.43 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.529e-05/0.02625, allocations: 115.3 kB / 354.1 MB, free: 12.32 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001478/0.0264, allocations: 148.4 kB / 354.3 MB, free: 12.17 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/0.02765, allocations: 1.237 MB / 355.5 MB, free: 10.83 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.927e-05/0.02768, allocations: 7.953 kB / 355.5 MB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.464e-05/0.02776, allocations: 59.98 kB / 355.6 MB, free: 10.76 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.867e-05/0.02784, allocations: 74.88 kB / 355.6 MB, free: 10.69 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006961/0.02854, allocations: 479.9 kB / 356.1 MB, free: 10.21 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004589/0.03313, allocations: 4.98 MB / 361.1 MB, free: 5.094 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007928/0.03392, allocations: 0.7502 MB / 361.8 MB, free: 4.355 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006676/0.03459, allocations: 0.5323 MB / 362.4 MB, free: 3.82 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.286e-05/0.03464, allocations: 21 kB / 362.4 MB, free: 3.801 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.03467, allocations: 46.39 kB / 362.4 MB, free: 3.742 MB / 330.7 MB Notification: Performance of pre-optimization done (n=105): time 2.665e-06/0.03468, allocations: 4 kB / 362.4 MB, free: 3.738 MB / 330.7 MB Notification: Performance of matching and sorting (n=109): time 0.00469/0.03937, allocations: 2.86 MB / 365.3 MB, free: 0.8047 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.729e-05/0.03939, allocations: 60.41 kB / 365.4 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005564/0.03995, allocations: 0.7684 MB / 366.1 MB, free: 15.95 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.613e-05/0.04, allocations: 41.7 kB / 366.2 MB, free: 15.9 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003597/0.04036, allocations: 0.7298 MB / 366.9 MB, free: 15.16 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002135/0.04057, allocations: 396.6 kB / 367.3 MB, free: 14.77 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000205/0.04078, allocations: 196.5 kB / 367.5 MB, free: 14.56 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.04092, allocations: 0.5315 MB / 368 MB, free: 14.02 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001837/0.04111, allocations: 130.5 kB / 368.1 MB, free: 13.9 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002872/0.04139, allocations: 345.1 kB / 368.5 MB, free: 13.5 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005338/0.04193, allocations: 0.5419 MB / 369 MB, free: 12.89 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.04193, allocations: 0 / 369 MB, free: 12.89 MB / 346.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001065/0.043, allocations: 0.8709 MB / 369.9 MB, free: 12 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.04301, allocations: 8 kB / 369.9 MB, free: 11.99 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.04302, allocations: 4 kB / 369.9 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006993/0.04372, allocations: 351.3 kB / 370.2 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003351/0.04405, allocations: 163.8 kB / 370.4 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004496/0.04855, allocations: 7.046 MB / 377.5 MB, free: 4.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002573/0.04881, allocations: 27.98 kB / 377.5 MB, free: 4.043 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.184e-05/0.04885, allocations: 24 kB / 377.5 MB, free: 4.02 MB / 346.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.0002522/0.0491, allocations: 216.4 kB / 377.7 MB, free: 3.797 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000137/0.04924, allocations: 147.3 kB / 377.9 MB, free: 3.652 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001051/0.05029, allocations: 0.8896 MB / 378.7 MB, free: 2.734 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.05029, allocations: 12 kB / 378.8 MB, free: 2.723 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.0503, allocations: 0 / 378.8 MB, free: 2.723 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.0503, allocations: 3.984 kB / 378.8 MB, free: 2.719 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002236/0.05254, allocations: 1.965 MB / 380.7 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.05254, allocations: 0 / 380.7 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003215/0.05286, allocations: 135.9 kB / 380.9 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006156/0.05348, allocations: 342.8 kB / 381.2 MB, free: 220 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.74e-05/0.05353, allocations: 23.98 kB / 381.2 MB, free: 196 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003808/0.05734, allocations: 6.934 MB / 388.2 MB, free: 8.918 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.05734, allocations: 3.984 kB / 388.2 MB, free: 8.914 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001259/0.0586, allocations: 1.163 MB / 389.3 MB, free: 7.711 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002793/0.05888, allocations: 219.1 kB / 389.5 MB, free: 7.496 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.309e-05/0.05895, allocations: 20 kB / 389.6 MB, free: 7.477 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000247/0.0592, allocations: 31.98 kB / 389.6 MB, free: 7.445 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002033/0.0594, allocations: 88.83 kB / 389.7 MB, free: 7.359 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-05/0.05945, allocations: 23.98 kB / 389.7 MB, free: 7.336 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004499/0.0599, allocations: 462.8 kB / 390.1 MB, free: 6.887 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.0599, allocations: 3.938 kB / 390.2 MB, free: 6.883 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009378/0.06084, allocations: 388 kB / 390.5 MB, free: 6.504 MB / 362.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.0001632/0.061, allocations: 131.1 kB / 390.7 MB, free: 6.363 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004767/0.06577, allocations: 1.32 MB / 392 MB, free: 4.984 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.06577, allocations: 0 / 392 MB, free: 4.984 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001095/0.06686, allocations: 1.066 MB / 393 MB, free: 3.859 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009882/0.06785, allocations: 331.1 kB / 393.4 MB, free: 3.539 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01051/0.07836, allocations: 2.997 MB / 396.4 MB, free: 500 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00041/0.07877, allocations: 441.7 kB / 396.8 MB, free: 36 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003681/0.07914, allocations: 117.4 kB / 396.9 MB, free: 15.91 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008811/0.08002, allocations: 377.9 kB / 397.3 MB, free: 15.55 MB / 378.7 MB Notification: Performance of SimCode: time 9.51e-07/0.08002, allocations: 0 / 397.3 MB, free: 15.55 MB / 378.7 MB Notification: Performance of Templates: time 0.0504/0.1304, allocations: 24.64 MB / 421.9 MB, free: 7.25 MB / 394.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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ElectricBraking_ElectricBraking.Examples.Translational.SMPMBrakingRectifier.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.438709862995893]