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.001681/0.001681, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001829/0.001829, allocations: 169.9 kB / 22.46 MB, free: 2.105 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 1.407/1.407, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.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.008892/0.008892, allocations: 1.192 MB / 260.4 MB, free: 12.1 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.272e-06/1.272e-06, allocations: 0 / 383.5 MB, free: 13.15 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.492e-05/2.619e-05, allocations: 2.281 kB / 383.5 MB, free: 13.15 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Translational.SMPMBrakingRectifier): time 0.008737/0.008763, allocations: 6.207 MB / 389.7 MB, free: 6.906 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004176/0.01294, allocations: 2.087 MB / 391.8 MB, free: 4.812 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00047/0.01341, allocations: 47.69 kB / 391.9 MB, free: 4.766 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000958/0.01437, allocations: 401 kB / 392.3 MB, free: 4.371 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001201/0.01557, allocations: 0.5509 MB / 392.8 MB, free: 3.816 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004739/0.01604, allocations: 271.6 kB / 393.1 MB, free: 3.551 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002338/0.01838, allocations: 2.139 MB / 395.2 MB, free: 1.402 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001235/0.01961, allocations: 0.7769 MB / 396 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00185/0.02146, allocations: 1.318 MB / 397.3 MB, free: 15.26 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001583/0.02305, allocations: 0.9274 MB / 398.2 MB, free: 14.33 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003263/0.02337, allocations: 232 kB / 398.5 MB, free: 14.1 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004682/0.02384, allocations: 260 kB / 398.7 MB, free: 13.85 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006201/0.02446, allocations: 0.5998 MB / 399.3 MB, free: 13.25 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008862/0.02535, allocations: 0.7133 MB / 400 MB, free: 12.53 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003164/0.02851, allocations: 2.929 MB / 403 MB, free: 9.594 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.02852, allocations: 0 / 403 MB, free: 9.594 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.02852, allocations: 0 / 403 MB, free: 9.594 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.48e-05/0.02854, allocations: 0 / 403 MB, free: 9.594 MB / 330.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.003878/0.03242, allocations: 2.138 MB / 405.1 MB, free: 7.414 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.03246, allocations: 12.03 kB / 405.1 MB, free: 7.402 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006394/0.0331, allocations: 211.7 kB / 405.3 MB, free: 7.195 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001863/0.03496, allocations: 1.124 MB / 406.4 MB, free: 6.035 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001051/0.03507, allocations: 103.3 kB / 406.5 MB, free: 5.934 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002377/0.0353, allocations: 144.4 kB / 406.7 MB, free: 5.793 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003398/0.0387, allocations: 2.185 MB / 408.9 MB, free: 3.52 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.261e-05/0.03876, allocations: 15.94 kB / 408.9 MB, free: 3.504 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001377/0.03889, allocations: 56 kB / 408.9 MB, free: 3.449 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.05e-05/0.03898, allocations: 74.94 kB / 409 MB, free: 3.375 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002935/0.04192, allocations: 1.764 MB / 410.8 MB, free: 1.605 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1368/0.1787, allocations: 5.517 MB / 416.3 MB, free: 36.18 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001819/0.1805, allocations: 1.396 MB / 417.7 MB, free: 35.59 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001743/0.1823, allocations: 0.9898 MB / 418.7 MB, free: 35.3 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.138e-05/0.1824, allocations: 13.64 kB / 418.7 MB, free: 35.3 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.1824, allocations: 50.09 kB / 418.7 MB, free: 35.25 MB / 330.7 MB Notification: Performance of pre-optimization done (n=109): time 3.146e-06/0.1824, allocations: 0 / 418.7 MB, free: 35.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=115): time 0.0118/0.1942, allocations: 6.008 MB / 424.8 MB, free: 32.95 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.965e-05/0.1942, allocations: 63.94 kB / 424.8 MB, free: 32.89 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/0.1953, allocations: 0.8708 MB / 425.7 MB, free: 32.53 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.196e-05/0.1953, allocations: 50.2 kB / 425.7 MB, free: 32.48 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003026/0.1956, allocations: 0.6478 MB / 426.4 MB, free: 32.06 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001875/0.1958, allocations: 399.7 kB / 426.8 MB, free: 31.8 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002602/0.1961, allocations: 181.6 kB / 427 MB, free: 31.7 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.353e-05/0.1961, allocations: 351.3 kB / 427.3 MB, free: 31.38 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006996/0.1968, allocations: 0.5586 MB / 427.9 MB, free: 31.17 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007277/0.1976, allocations: 0.6885 MB / 428.5 MB, free: 30.77 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001448/0.199, allocations: 1.293 MB / 429.8 MB, free: 30.02 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.199, allocations: 1.375 kB / 429.8 MB, free: 30.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002411/0.2014, allocations: 1.905 MB / 431.7 MB, free: 28.99 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.2014, allocations: 11.69 kB / 431.8 MB, free: 28.99 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.2015, allocations: 3.969 kB / 431.8 MB, free: 28.99 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00136/0.2028, allocations: 0.7122 MB / 432.5 MB, free: 28.61 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005539/0.2034, allocations: 170.3 kB / 432.6 MB, free: 28.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006379/0.2097, allocations: 8.242 MB / 440.9 MB, free: 20.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005738/0.2103, allocations: 51.94 kB / 440.9 MB, free: 20.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.83e-05/0.2104, allocations: 39.94 kB / 441 MB, free: 20.64 MB / 330.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.0006556/0.211, allocations: 0.5363 MB / 441.5 MB, free: 20.1 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/0.2112, allocations: 116.9 kB / 441.6 MB, free: 19.98 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002348/0.2135, allocations: 1.948 MB / 443.6 MB, free: 18.02 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.2135, allocations: 12 kB / 443.6 MB, free: 18 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.2135, allocations: 0 / 443.6 MB, free: 18 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.2135, allocations: 3.984 kB / 443.6 MB, free: 18 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004297/0.2178, allocations: 3.434 MB / 447 MB, free: 14.53 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.2178, allocations: 0 / 447 MB, free: 14.53 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005626/0.2184, allocations: 147.8 kB / 447.2 MB, free: 14.39 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001246/0.2196, allocations: 0.6674 MB / 447.8 MB, free: 13.71 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.275e-05/0.2197, allocations: 20 kB / 447.8 MB, free: 13.69 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006153/0.2259, allocations: 8.094 MB / 455.9 MB, free: 5.309 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2259, allocations: 0 / 455.9 MB, free: 5.309 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002995/0.2289, allocations: 2.756 MB / 458.7 MB, free: 2.523 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005007/0.2294, allocations: 256.8 kB / 458.9 MB, free: 2.273 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001801/0.2295, allocations: 24 kB / 459 MB, free: 2.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000566/0.2301, allocations: 51.94 kB / 459 MB, free: 2.199 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001962/0.2303, allocations: 100.8 kB / 459.1 MB, free: 2.098 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.393e-05/0.2304, allocations: 39.73 kB / 459.2 MB, free: 2.062 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006/0.231, allocations: 0.6122 MB / 459.8 MB, free: 1.453 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.231, allocations: 0 / 459.8 MB, free: 1.453 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00101/0.232, allocations: 396 kB / 460.2 MB, free: 1.066 MB / 330.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.0001571/0.2321, allocations: 143 kB / 460.3 MB, free: 0.9219 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003117/0.2352, allocations: 1.98 MB / 462.3 MB, free: 14.9 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2352, allocations: 8.062 kB / 462.3 MB, free: 14.89 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002197/0.2374, allocations: 1.328 MB / 463.6 MB, free: 13.53 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0013/0.2387, allocations: 321.3 kB / 463.9 MB, free: 13.23 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006485/0.2452, allocations: 3.505 MB / 467.4 MB, free: 9.699 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001228/0.2465, allocations: 0.9246 MB / 468.4 MB, free: 8.738 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006121/0.2471, allocations: 193.4 kB / 468.5 MB, free: 8.547 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002365/0.2473, allocations: 72.48 kB / 468.6 MB, free: 8.477 MB / 346.7 MB Notification: Performance of SimCode: time 1.152e-06/0.2473, allocations: 3.938 kB / 468.6 MB, free: 8.473 MB / 346.7 MB Notification: Performance of Templates: time 0.04072/0.288, allocations: 23.97 MB / 492.6 MB, free: 0.8008 MB / 362.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: 9.676851102150977]