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.0009466/0.0009466, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001153/0.001153, allocations: 173 kB / 23.03 MB, free: 1.543 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.9858/0.9858, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.005546/0.005546, allocations: 1.189 MB / 261.1 MB, free: 11.89 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.343e-06/1.343e-06, allocations: 0 / 331.1 MB, free: 3.316 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.779e-05/2.914e-05, allocations: 4.562 kB / 331.1 MB, free: 3.312 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Translational.SMPMBrakingRectifier): time 0.006174/0.006203, allocations: 6.839 MB / 338 MB, free: 12.43 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003762/0.009965, allocations: 2.158 MB / 340.1 MB, free: 10.27 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008548/0.01082, allocations: 51.62 kB / 340.2 MB, free: 10.21 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000985/0.0118, allocations: 405 kB / 340.6 MB, free: 9.816 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001267/0.01307, allocations: 0.5587 MB / 341.1 MB, free: 9.254 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005017/0.01357, allocations: 275.5 kB / 341.4 MB, free: 8.984 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001784/0.01536, allocations: 2.135 MB / 343.5 MB, free: 6.84 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008317/0.01619, allocations: 0.7769 MB / 344.3 MB, free: 6.016 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001613/0.0178, allocations: 1.419 MB / 345.7 MB, free: 4.594 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009084/0.01871, allocations: 0.9625 MB / 346.7 MB, free: 3.629 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001993/0.01891, allocations: 228 kB / 346.9 MB, free: 3.406 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002869/0.0192, allocations: 248 kB / 347.2 MB, free: 3.164 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003371/0.01953, allocations: 0.5959 MB / 347.8 MB, free: 2.566 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005417/0.02008, allocations: 0.7133 MB / 348.5 MB, free: 1.852 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001524/0.0216, allocations: 1.671 MB / 350.2 MB, free: 180 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.0216, allocations: 0 / 350.2 MB, free: 180 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.02161, allocations: 0 / 350.2 MB, free: 180 kB / 314.7 MB Notification: Performance of Transformations before backend: time 1.791e-05/0.02162, allocations: 4 kB / 350.2 MB, free: 176 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.002325/0.02395, allocations: 2.196 MB / 352.4 MB, free: 13.92 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.02399, allocations: 8.031 kB / 352.4 MB, free: 13.91 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004299/0.02442, allocations: 327.7 kB / 352.7 MB, free: 13.59 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/0.02555, allocations: 1.042 MB / 353.7 MB, free: 12.52 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.613e-05/0.02563, allocations: 115.3 kB / 353.8 MB, free: 12.4 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001494/0.02578, allocations: 148.4 kB / 354 MB, free: 12.26 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001685/0.02746, allocations: 1.338 MB / 355.3 MB, free: 10.81 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.922e-05/0.02749, allocations: 7.953 kB / 355.3 MB, free: 10.8 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.955e-05/0.02758, allocations: 56 kB / 355.4 MB, free: 10.75 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-05/0.02766, allocations: 74.94 kB / 355.5 MB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001083/0.02874, allocations: 0.5936 MB / 356 MB, free: 10.07 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005336/0.03407, allocations: 5.281 MB / 361.3 MB, free: 4.648 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/0.03509, allocations: 0.8081 MB / 362.1 MB, free: 3.852 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008036/0.03589, allocations: 0.5839 MB / 362.7 MB, free: 3.266 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.207e-05/0.03595, allocations: 17 kB / 362.7 MB, free: 3.25 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.966e-05/0.03599, allocations: 58.33 kB / 362.8 MB, free: 3.18 MB / 330.7 MB Notification: Performance of pre-optimization done (n=105): time 2.866e-06/0.03599, allocations: 0 / 362.8 MB, free: 3.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=109): time 0.005908/0.0419, allocations: 3.304 MB / 366.1 MB, free: 15.8 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/0.04193, allocations: 64.41 kB / 366.2 MB, free: 15.72 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000716/0.04265, allocations: 0.7884 MB / 366.9 MB, free: 14.92 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.321e-05/0.0427, allocations: 49.64 kB / 367 MB, free: 14.86 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000339/0.04304, allocations: 0.7104 MB / 367.7 MB, free: 14.14 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002095/0.04325, allocations: 396.7 kB / 368.1 MB, free: 13.75 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002008/0.04345, allocations: 188.6 kB / 368.3 MB, free: 13.55 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.04359, allocations: 0.5277 MB / 368.8 MB, free: 13.02 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002978/0.04389, allocations: 170.5 kB / 369 MB, free: 12.86 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003919/0.04428, allocations: 389.2 kB / 369.4 MB, free: 12.41 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007226/0.045, allocations: 0.6123 MB / 370 MB, free: 11.74 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.04501, allocations: 0 / 370 MB, free: 11.74 MB / 346.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001357/0.04636, allocations: 0.9725 MB / 370.9 MB, free: 10.74 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.04638, allocations: 8 kB / 370.9 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.04639, allocations: 0 / 370.9 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008697/0.04726, allocations: 363.3 kB / 371.3 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003673/0.04763, allocations: 159.7 kB / 371.5 MB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004865/0.0525, allocations: 7.255 MB / 378.7 MB, free: 2.578 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004966/0.05299, allocations: 24 kB / 378.7 MB, free: 2.555 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.748e-05/0.05304, allocations: 32 kB / 378.8 MB, free: 2.523 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 (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,integrator.local_reset) * 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.0004002/0.05344, allocations: 232.4 kB / 379 MB, free: 2.285 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001569/0.0536, allocations: 151.2 kB / 379.1 MB, free: 2.137 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001385/0.05498, allocations: 0.9679 MB / 380.1 MB, free: 1.141 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.05499, allocations: 12 kB / 380.1 MB, free: 1.129 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.05499, allocations: 3.938 kB / 380.1 MB, free: 1.125 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.055, allocations: 7.969 kB / 380.1 MB, free: 1.117 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002984/0.05799, allocations: 2.305 MB / 382.4 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.05799, allocations: 0 / 382.4 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003598/0.05835, allocations: 135.8 kB / 382.6 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007258/0.05908, allocations: 358.8 kB / 382.9 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.01e-05/0.05913, allocations: 16 kB / 382.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004501/0.06363, allocations: 7.147 MB / 390.1 MB, free: 6.723 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.06363, allocations: 0 / 390.1 MB, free: 6.723 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001798/0.06543, allocations: 1.304 MB / 391.4 MB, free: 5.379 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000373/0.0658, allocations: 231.3 kB / 391.6 MB, free: 5.152 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.328e-05/0.06588, allocations: 20 kB / 391.6 MB, free: 5.133 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002802/0.06616, allocations: 35.92 kB / 391.7 MB, free: 5.098 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001706/0.06633, allocations: 96.81 kB / 391.8 MB, free: 5.004 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.416e-05/0.06638, allocations: 27.98 kB / 391.8 MB, free: 4.977 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004708/0.06685, allocations: 498.9 kB / 392.3 MB, free: 4.492 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06685, allocations: 0 / 392.3 MB, free: 4.492 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008662/0.06771, allocations: 392 kB / 392.7 MB, free: 4.109 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.0001672/0.06788, allocations: 127.8 kB / 392.8 MB, free: 3.973 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00162/0.0695, allocations: 1.39 MB / 394.2 MB, free: 2.523 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.0695, allocations: 3.938 kB / 394.2 MB, free: 2.52 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009687/0.07047, allocations: 1.11 MB / 395.3 MB, free: 1.352 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008583/0.07133, allocations: 337.9 kB / 395.6 MB, free: 1.031 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004162/0.07549, allocations: 3.031 MB / 398.6 MB, free: 13.95 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003604/0.07585, allocations: 441.7 kB / 399.1 MB, free: 13.49 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003767/0.07623, allocations: 117.3 kB / 399.2 MB, free: 13.38 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000148/0.07638, allocations: 72.5 kB / 399.3 MB, free: 13.3 MB / 378.7 MB Notification: Performance of SimCode: time 1.984e-06/0.07638, allocations: 0 / 399.3 MB, free: 13.3 MB / 378.7 MB Notification: Performance of Templates: time 0.02896/0.1053, allocations: 24.2 MB / 423.5 MB, free: 5.379 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 os._exit(0), Time elapsed: 7.178153081331402]