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.001762/0.001762, allocations: 105.5 kB / 18.95 MB, free: 1.18 MB / 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.001928/0.001928, allocations: 221.8 kB / 22.25 MB, free: 3.574 MB / 13.93 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 1.534/1.534, allocations: 230.6 MB / 256 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 178] 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.009897/0.009897, allocations: 1.603 MB / 314 MB, free: 376 kB / 234.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: ElectricBraking requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003411/0.003411, allocations: 77.84 kB / 437.1 MB, free: 46.11 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06785/0.07126, allocations: 53.76 MB / 490.9 MB, free: 10.04 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Translational.SMPMBrakingRectifier): time 0.008615/0.07987, allocations: 6.194 MB / 497.1 MB, free: 3.816 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003991/0.08386, allocations: 2.072 MB / 499.1 MB, free: 1.738 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004508/0.08431, allocations: 51.62 kB / 499.2 MB, free: 1.688 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009381/0.08525, allocations: 393.1 kB / 499.6 MB, free: 1.301 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001187/0.08644, allocations: 0.5359 MB / 0.4884 GB, free: 0.7617 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004847/0.08692, allocations: 279.5 kB / 0.4887 GB, free: 500 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002337/0.08926, allocations: 2.058 MB / 0.4907 GB, free: 14.42 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001149/0.09041, allocations: 0.7809 MB / 0.4914 GB, free: 13.59 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001241/0.09165, allocations: 0.9034 MB / 0.4923 GB, free: 12.68 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001732/0.09338, allocations: 1.031 MB / 0.4933 GB, free: 11.64 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003308/0.09371, allocations: 236 kB / 0.4936 GB, free: 11.41 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004779/0.09419, allocations: 252 kB / 0.4938 GB, free: 11.17 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006079/0.0948, allocations: 0.5921 MB / 0.4944 GB, free: 10.57 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00096/0.09576, allocations: 0.8363 MB / 0.4952 GB, free: 9.734 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003205/0.09896, allocations: 2.896 MB / 0.498 GB, free: 6.828 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.09897, allocations: 0 / 0.498 GB, free: 6.828 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.09897, allocations: 0 / 0.498 GB, free: 6.828 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.607e-05/0.099, allocations: 0 / 0.498 GB, free: 6.828 MB / 362.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.004215/0.1032, allocations: 2.165 MB / 0.5001 GB, free: 4.621 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.1032, allocations: 11.97 kB / 0.5001 GB, free: 4.609 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004419/0.1037, allocations: 215.7 kB / 0.5003 GB, free: 4.398 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001911/0.1056, allocations: 1.113 MB / 0.5014 GB, free: 3.254 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001108/0.1057, allocations: 111.3 kB / 0.5015 GB, free: 3.145 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002438/0.106, allocations: 147.9 kB / 0.5017 GB, free: 3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00385/0.1098, allocations: 2.188 MB / 0.5038 GB, free: 0.7227 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.124e-05/0.1098, allocations: 3.953 kB / 0.5038 GB, free: 0.7188 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001448/0.11, allocations: 60 kB / 0.5039 GB, free: 0.6602 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.151e-05/0.1101, allocations: 70.94 kB / 0.5039 GB, free: 0.5898 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003333/0.1134, allocations: 1.768 MB / 0.5057 GB, free: 14.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009488/0.1229, allocations: 5.539 MB / 0.5111 GB, free: 9.156 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002293/0.1252, allocations: 1.379 MB / 0.5124 GB, free: 7.785 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00187/0.1271, allocations: 0.9921 MB / 0.5134 GB, free: 6.789 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.461e-05/0.1271, allocations: 13 kB / 0.5134 GB, free: 6.777 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.257e-05/0.1272, allocations: 43.56 kB / 0.5135 GB, free: 6.723 MB / 378.7 MB Notification: Performance of pre-optimization done (n=109): time 2.515e-06/0.1272, allocations: 0 / 0.5135 GB, free: 6.723 MB / 378.7 MB Notification: Performance of matching and sorting (n=115): time 0.01331/0.1405, allocations: 6.018 MB / 0.5193 GB, free: 0.6484 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.764e-05/0.1405, allocations: 64.41 kB / 0.5194 GB, free: 0.5703 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001286/0.1418, allocations: 0.876 MB / 0.5202 GB, free: 15.68 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.913e-05/0.1419, allocations: 41.7 kB / 0.5203 GB, free: 15.63 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007513/0.1427, allocations: 0.6415 MB / 0.5209 GB, free: 14.98 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003689/0.143, allocations: 404.5 kB / 0.5213 GB, free: 14.58 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000328/0.1434, allocations: 182.9 kB / 0.5215 GB, free: 14.4 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001966/0.1436, allocations: 345.9 kB / 0.5218 GB, free: 14.05 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009323/0.1445, allocations: 0.553 MB / 0.5223 GB, free: 13.5 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001067/0.1456, allocations: 0.707 MB / 0.523 GB, free: 12.76 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002244/0.1478, allocations: 1.283 MB / 0.5243 GB, free: 11.44 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/0.1478, allocations: 7.938 kB / 0.5243 GB, free: 11.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.003397/0.1512, allocations: 1.906 MB / 0.5262 GB, free: 9.504 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.1512, allocations: 11.94 kB / 0.5262 GB, free: 9.492 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.1512, allocations: 0 / 0.5262 GB, free: 9.492 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001881/0.1531, allocations: 0.7159 MB / 0.5269 GB, free: 8.766 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006802/0.1538, allocations: 163.8 kB / 0.527 GB, free: 8.605 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01122/0.165, allocations: 8.244 MB / 0.5351 GB, free: 52 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007087/0.1657, allocations: 51.94 kB / 0.5351 GB, free: 0 / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-05/0.1658, allocations: 32.11 kB / 0.5352 GB, free: 15.96 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (94): * Single equations (assignments): 90 * 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 {(2,1,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.0009357/0.1667, allocations: 0.5442 MB / 0.5357 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001885/0.1669, allocations: 115.3 kB / 0.5358 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003657/0.1706, allocations: 1.948 MB / 0.5377 GB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.869e-06/0.1706, allocations: 11.94 kB / 0.5377 GB, free: 13.31 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/0.1706, allocations: 11.98 kB / 0.5377 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/0.1706, allocations: 3.984 kB / 0.5377 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00638/0.177, allocations: 3.438 MB / 0.5411 GB, free: 9.797 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.177, allocations: 0 / 0.5411 GB, free: 9.797 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007011/0.1777, allocations: 147.8 kB / 0.5412 GB, free: 9.652 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001956/0.1797, allocations: 0.6707 MB / 0.5419 GB, free: 8.969 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.967e-05/0.1797, allocations: 16 kB / 0.5419 GB, free: 8.953 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01069/0.1904, allocations: 8.078 MB / 0.5498 GB, free: 0.5625 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.1904, allocations: 8 kB / 0.5498 GB, free: 0.5547 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1696/0.3601, allocations: 2.758 MB / 0.5525 GB, free: 65.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005597/0.3606, allocations: 254.4 kB / 0.5527 GB, free: 65.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001306/0.3608, allocations: 22.39 kB / 0.5527 GB, free: 65.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005579/0.3613, allocations: 61.02 kB / 0.5528 GB, free: 65.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002497/0.3616, allocations: 96.5 kB / 0.5529 GB, free: 65.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.138e-05/0.3616, allocations: 28.27 kB / 0.5529 GB, free: 65.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007153/0.3623, allocations: 0.6143 MB / 0.5535 GB, free: 65.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3623, allocations: 0.9375 kB / 0.5535 GB, free: 65.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009822/0.3633, allocations: 398 kB / 0.5539 GB, free: 65.14 MB / 410.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 (78): * Single equations (assignments): 74 * 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 {(2,1,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.0001583/0.3635, allocations: 146.2 kB / 0.554 GB, free: 65.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002766/0.3663, allocations: 1.976 MB / 0.556 GB, free: 64.12 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3663, allocations: 1.312 kB / 0.556 GB, free: 64.12 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001719/0.368, allocations: 1.326 MB / 0.5573 GB, free: 63.45 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001197/0.3692, allocations: 333.4 kB / 0.5576 GB, free: 63.36 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005373/0.3745, allocations: 3.707 MB / 0.5612 GB, free: 61.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000977/0.3755, allocations: 0.9274 MB / 0.5621 GB, free: 61.4 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005544/0.3761, allocations: 192.5 kB / 0.5623 GB, free: 61.38 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001882/0.3763, allocations: 73.02 kB / 0.5624 GB, free: 61.36 MB / 410.7 MB Notification: Performance of SimCode: time 8.31e-07/0.3763, allocations: 1.406 kB / 0.5624 GB, free: 61.36 MB / 410.7 MB Notification: Performance of Templates: time 0.02892/0.4052, allocations: 26 MB / 0.5878 GB, free: 42.07 MB / 410.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: 10.064482392277569]