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.001402/0.001402, allocations: 100.4 kB / 19.7 MB, free: 440 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.001733/0.001733, allocations: 219.6 kB / 23 MB, free: 2.973 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.024/1.024, allocations: 230.6 MB / 256.8 MB, free: 9.609 MB / 202.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.005375/0.005375, allocations: 1.598 MB / 314.8 MB, free: 380 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.001474/0.001474, allocations: 66.16 kB / 437.1 MB, free: 46.54 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0833/0.08477, allocations: 53.78 MB / 490.9 MB, free: 10.8 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Translational.SMPMBrakingRectifier): time 0.006/0.09077, allocations: 6.177 MB / 497.1 MB, free: 4.59 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003321/0.09409, allocations: 2.091 MB / 499.1 MB, free: 2.492 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006169/0.09471, allocations: 51.62 kB / 499.2 MB, free: 2.441 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008659/0.09557, allocations: 385.2 kB / 499.6 MB, free: 2.062 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009999/0.09657, allocations: 0.5436 MB / 0.4884 GB, free: 1.516 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003691/0.09694, allocations: 271.6 kB / 0.4887 GB, free: 1.25 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001378/0.09832, allocations: 2.062 MB / 0.4907 GB, free: 15.18 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007543/0.09908, allocations: 0.777 MB / 0.4914 GB, free: 14.35 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009577/0.1, allocations: 0.8996 MB / 0.4923 GB, free: 13.45 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009588/0.101, allocations: 1.039 MB / 0.4933 GB, free: 12.4 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002022/0.1012, allocations: 236 kB / 0.4935 GB, free: 12.17 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003657/0.1016, allocations: 256 kB / 0.4938 GB, free: 11.92 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003867/0.1019, allocations: 0.5804 MB / 0.4944 GB, free: 11.34 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005561/0.1025, allocations: 0.8403 MB / 0.4952 GB, free: 10.5 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001919/0.1044, allocations: 2.896 MB / 0.498 GB, free: 7.59 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.1044, allocations: 3.984 kB / 0.498 GB, free: 7.586 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.1044, allocations: 0 / 0.498 GB, free: 7.586 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.686e-05/0.1045, allocations: 0 / 0.498 GB, free: 7.586 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.002651/0.1071, allocations: 2.157 MB / 0.5001 GB, free: 5.387 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.1072, allocations: 8.031 kB / 0.5001 GB, free: 5.379 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003485/0.1075, allocations: 211.7 kB / 0.5003 GB, free: 5.172 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001625/0.1091, allocations: 1.117 MB / 0.5014 GB, free: 4.023 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.485e-05/0.1092, allocations: 111.3 kB / 0.5015 GB, free: 3.914 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001955/0.1094, allocations: 151.9 kB / 0.5017 GB, free: 3.766 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002721/0.1121, allocations: 2.184 MB / 0.5038 GB, free: 1.492 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.789e-05/0.1122, allocations: 3.953 kB / 0.5038 GB, free: 1.488 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001232/0.1123, allocations: 67.98 kB / 0.5039 GB, free: 1.422 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.932e-05/0.1124, allocations: 70.94 kB / 0.5039 GB, free: 1.352 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002368/0.1147, allocations: 1.764 MB / 0.5057 GB, free: 15.58 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01034/0.1251, allocations: 5.539 MB / 0.5111 GB, free: 9.922 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001831/0.1269, allocations: 1.387 MB / 0.5124 GB, free: 8.543 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004496/0.1314, allocations: 0.9875 MB / 0.5134 GB, free: 7.551 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.076e-05/0.1314, allocations: 13 kB / 0.5134 GB, free: 7.539 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.1315, allocations: 43.56 kB / 0.5134 GB, free: 7.484 MB / 378.7 MB Notification: Performance of pre-optimization done (n=109): time 3.426e-06/0.1315, allocations: 0 / 0.5134 GB, free: 7.484 MB / 378.7 MB Notification: Performance of matching and sorting (n=115): time 0.01934/0.1508, allocations: 6.014 MB / 0.5193 GB, free: 1.414 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.1509, allocations: 64.41 kB / 0.5194 GB, free: 1.336 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004068/0.1549, allocations: 0.876 MB / 0.5202 GB, free: 456 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.013e-05/0.155, allocations: 49.7 kB / 0.5203 GB, free: 400 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004266/0.1554, allocations: 0.6378 MB / 0.5209 GB, free: 15.74 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002365/0.1557, allocations: 408.5 kB / 0.5213 GB, free: 15.34 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002428/0.1559, allocations: 182.9 kB / 0.5215 GB, free: 15.15 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.721e-05/0.156, allocations: 349.9 kB / 0.5218 GB, free: 14.8 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006731/0.1567, allocations: 0.5569 MB / 0.5223 GB, free: 14.25 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003756/0.1604, allocations: 0.6953 MB / 0.523 GB, free: 13.52 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001482/0.1619, allocations: 1.283 MB / 0.5243 GB, free: 12.2 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.1619, allocations: 3.75 kB / 0.5243 GB, free: 12.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005534/0.1674, allocations: 1.91 MB / 0.5261 GB, free: 10.27 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/0.1675, allocations: 11.94 kB / 0.5262 GB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.1675, allocations: 0 / 0.5262 GB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001333/0.1688, allocations: 0.7159 MB / 0.5269 GB, free: 9.527 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003517/0.1723, allocations: 167.8 kB / 0.527 GB, free: 9.363 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007805/0.1801, allocations: 8.24 MB / 0.5351 GB, free: 0.8125 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006702/0.1808, allocations: 51.95 kB / 0.5351 GB, free: 0.7617 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.987e-05/0.1809, allocations: 39.92 kB / 0.5351 GB, free: 0.7227 MB / 394.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.0007405/0.1816, allocations: 0.5326 MB / 0.5357 GB, free: 184 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/0.1817, allocations: 115.3 kB / 0.5358 GB, free: 68 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002091/0.1838, allocations: 1.948 MB / 0.5377 GB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.1838, allocations: 15.94 kB / 0.5377 GB, free: 14.08 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.1838, allocations: 4 kB / 0.5377 GB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/0.1838, allocations: 7.969 kB / 0.5377 GB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003811/0.1876, allocations: 3.446 MB / 0.5411 GB, free: 10.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.1877, allocations: 4 kB / 0.5411 GB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003749/0.188, allocations: 143.8 kB / 0.5412 GB, free: 10.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001221/0.1892, allocations: 0.659 MB / 0.5419 GB, free: 9.742 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-05/0.1893, allocations: 23.98 kB / 0.5419 GB, free: 9.719 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006007/0.1953, allocations: 8.085 MB / 0.5498 GB, free: 1.32 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.1953, allocations: 4 kB / 0.5498 GB, free: 1.316 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1927/0.3881, allocations: 2.755 MB / 0.5525 GB, free: 65.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006442/0.3887, allocations: 250.6 kB / 0.5527 GB, free: 65.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.3888, allocations: 27.47 kB / 0.5527 GB, free: 65.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003995/0.3892, allocations: 59.81 kB / 0.5528 GB, free: 65.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002885/0.3895, allocations: 96.69 kB / 0.5529 GB, free: 65.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.215e-05/0.3895, allocations: 28.55 kB / 0.5529 GB, free: 65.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007052/0.3902, allocations: 0.6152 MB / 0.5535 GB, free: 65.33 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3902, allocations: 0.9375 kB / 0.5535 GB, free: 65.33 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009796/0.3912, allocations: 399.4 kB / 0.5539 GB, free: 65.33 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.0001894/0.3914, allocations: 136.2 kB / 0.554 GB, free: 65.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002588/0.394, allocations: 1.982 MB / 0.556 GB, free: 64.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.394, allocations: 6.312 kB / 0.556 GB, free: 64.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001499/0.3955, allocations: 1.318 MB / 0.5573 GB, free: 63.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/0.3966, allocations: 327.3 kB / 0.5576 GB, free: 63.67 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005122/0.4017, allocations: 3.728 MB / 0.5612 GB, free: 61.96 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001033/0.4027, allocations: 0.9 MB / 0.5621 GB, free: 61.69 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003161/0.4031, allocations: 77.41 kB / 0.5622 GB, free: 61.68 MB / 410.7 MB Notification: Performance of SimCode: time 1.583e-06/0.4031, allocations: 0 / 0.5622 GB, free: 61.68 MB / 410.7 MB Notification: Performance of Templates: time 0.03576/0.4388, allocations: 50.78 MB / 0.6117 GB, free: 17.78 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 > ElectricBraking_ElectricBraking.Examples.Translational.SMPMBrakingRectifier.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.39157742401585]