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.001405/0.001405, allocations: 88.52 kB / 19.93 MB, free: 4.605 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.001514/0.001514, allocations: 173.9 kB / 23.21 MB, free: 1.328 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.9247/0.9247, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.005223/0.005223, allocations: 1.19 MB / 261.1 MB, free: 12.09 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.673e-06/1.673e-06, allocations: 0 / 383.5 MB, free: 13.94 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.613e-05/2.78e-05, allocations: 5.234 kB / 383.5 MB, free: 13.94 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Translational.SMPMBrakingRectifier): time 0.008071/0.008098, allocations: 6.197 MB / 389.7 MB, free: 7.703 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004154/0.01225, allocations: 2.091 MB / 391.8 MB, free: 5.605 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007693/0.01302, allocations: 47.69 kB / 391.9 MB, free: 5.559 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001335/0.01436, allocations: 393.1 kB / 392.2 MB, free: 5.172 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001349/0.01571, allocations: 0.5586 MB / 392.8 MB, free: 4.609 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000481/0.01619, allocations: 271.6 kB / 393.1 MB, free: 4.344 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002027/0.01821, allocations: 2.139 MB / 395.2 MB, free: 2.195 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001089/0.0193, allocations: 0.777 MB / 396 MB, free: 1.371 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001784/0.02109, allocations: 1.314 MB / 397.3 MB, free: 56 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001325/0.02241, allocations: 0.9235 MB / 398.2 MB, free: 15.13 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003298/0.02274, allocations: 236 kB / 398.5 MB, free: 14.9 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004562/0.0232, allocations: 259.9 kB / 398.7 MB, free: 14.64 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007699/0.02397, allocations: 0.6076 MB / 399.3 MB, free: 14.04 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008087/0.02478, allocations: 0.7094 MB / 400 MB, free: 13.32 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002833/0.02761, allocations: 2.922 MB / 402.9 MB, free: 10.39 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.02761, allocations: 0 / 402.9 MB, free: 10.39 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.02762, allocations: 0 / 402.9 MB, free: 10.39 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.934e-05/0.02763, allocations: 0 / 402.9 MB, free: 10.39 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.002391/0.03003, allocations: 2.146 MB / 405.1 MB, free: 8.207 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.03006, allocations: 8.031 kB / 405.1 MB, free: 8.199 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002935/0.03036, allocations: 211.7 kB / 405.3 MB, free: 7.992 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001193/0.03155, allocations: 1.116 MB / 406.4 MB, free: 6.84 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.694e-05/0.03161, allocations: 107.2 kB / 406.5 MB, free: 6.734 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001549/0.03176, allocations: 144.4 kB / 406.7 MB, free: 6.594 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002125/0.03389, allocations: 2.192 MB / 408.9 MB, free: 4.312 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.14e-05/0.03392, allocations: 3.953 kB / 408.9 MB, free: 4.309 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-05/0.03402, allocations: 60 kB / 408.9 MB, free: 4.25 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-05/0.03408, allocations: 82.92 kB / 409 MB, free: 4.168 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00186/0.03594, allocations: 1.76 MB / 410.8 MB, free: 2.402 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1312/0.1671, allocations: 5.52 MB / 416.3 MB, free: 36.38 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001534/0.1687, allocations: 1.388 MB / 417.7 MB, free: 35.8 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001159/0.1698, allocations: 0.9927 MB / 418.7 MB, free: 35.5 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.947e-05/0.1699, allocations: 22.34 kB / 418.7 MB, free: 35.5 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.1699, allocations: 45.72 kB / 418.7 MB, free: 35.45 MB / 330.7 MB Notification: Performance of pre-optimization done (n=109): time 2.956e-06/0.1699, allocations: 0 / 418.7 MB, free: 35.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=115): time 0.008389/0.1783, allocations: 6.009 MB / 424.7 MB, free: 33.29 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.674e-05/0.1783, allocations: 63.84 kB / 424.8 MB, free: 33.23 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008487/0.1792, allocations: 0.8763 MB / 425.7 MB, free: 32.87 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.99e-05/0.1792, allocations: 46.14 kB / 425.7 MB, free: 32.82 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002572/0.1795, allocations: 0.6418 MB / 426.4 MB, free: 32.32 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001606/0.1796, allocations: 413.7 kB / 426.8 MB, free: 32 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001876/0.1798, allocations: 179.3 kB / 426.9 MB, free: 31.91 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.837e-05/0.1799, allocations: 350.6 kB / 427.3 MB, free: 31.59 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005731/0.1804, allocations: 0.5536 MB / 427.8 MB, free: 31.38 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005936/0.181, allocations: 0.6948 MB / 428.5 MB, free: 31.04 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001177/0.1822, allocations: 1.29 MB / 429.8 MB, free: 30.43 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.1822, allocations: 0 / 429.8 MB, free: 30.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.001882/0.1841, allocations: 1.914 MB / 431.7 MB, free: 29.49 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.1841, allocations: 6.688 kB / 431.7 MB, free: 29.49 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.1841, allocations: 4.156 kB / 431.8 MB, free: 29.49 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009339/0.1851, allocations: 0.7094 MB / 432.5 MB, free: 29.12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000353/0.1854, allocations: 171.3 kB / 432.6 MB, free: 29.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004837/0.1903, allocations: 8.236 MB / 440.9 MB, free: 21.77 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003458/0.1906, allocations: 54.56 kB / 440.9 MB, free: 21.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.392e-05/0.1906, allocations: 36 kB / 441 MB, free: 21.68 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.0005382/0.1912, allocations: 0.54 MB / 441.5 MB, free: 21.13 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.236e-05/0.1913, allocations: 115.2 kB / 441.6 MB, free: 21.02 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001691/0.193, allocations: 1.94 MB / 443.5 MB, free: 19.06 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.193, allocations: 15.94 kB / 443.6 MB, free: 19.04 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.193, allocations: 7.984 kB / 443.6 MB, free: 19.04 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.193, allocations: 3.984 kB / 443.6 MB, free: 19.03 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003166/0.1961, allocations: 3.436 MB / 447 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.1961, allocations: 3.938 kB / 447 MB, free: 15.56 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003417/0.1965, allocations: 143.8 kB / 447.2 MB, free: 15.42 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007986/0.1973, allocations: 0.6718 MB / 447.8 MB, free: 14.74 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.615e-05/0.1973, allocations: 20.5 kB / 447.8 MB, free: 14.72 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004422/0.2018, allocations: 8.083 MB / 455.9 MB, free: 6.352 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2018, allocations: 0 / 455.9 MB, free: 6.352 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002124/0.2039, allocations: 2.761 MB / 458.7 MB, free: 3.562 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003202/0.2042, allocations: 253.3 kB / 458.9 MB, free: 3.316 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.139e-05/0.2043, allocations: 24 kB / 459 MB, free: 3.293 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002974/0.2046, allocations: 59.94 kB / 459 MB, free: 3.234 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001562/0.2047, allocations: 92.81 kB / 459.1 MB, free: 3.141 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.692e-05/0.2048, allocations: 36.16 kB / 459.1 MB, free: 3.105 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000436/0.2052, allocations: 0.6161 MB / 459.8 MB, free: 2.492 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2052, allocations: 0 / 459.8 MB, free: 2.492 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008106/0.206, allocations: 396 kB / 460.1 MB, free: 2.105 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.0001516/0.2062, allocations: 146.5 kB / 460.3 MB, free: 1.957 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001731/0.2079, allocations: 1.977 MB / 462.3 MB, free: 15.94 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.2079, allocations: 384 / 462.3 MB, free: 15.94 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001239/0.2091, allocations: 1.323 MB / 463.6 MB, free: 14.58 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008054/0.2099, allocations: 328.5 kB / 463.9 MB, free: 14.27 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004085/0.214, allocations: 3.527 MB / 467.4 MB, free: 10.71 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006233/0.2147, allocations: 0.9051 MB / 468.3 MB, free: 9.773 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001681/0.2148, allocations: 80.48 kB / 468.4 MB, free: 9.695 MB / 346.7 MB Notification: Performance of SimCode: time 5.21e-07/0.2148, allocations: 0 / 468.4 MB, free: 9.695 MB / 346.7 MB Notification: Performance of Templates: time 0.03235/0.2472, allocations: 50.8 MB / 0.5071 GB, free: 6.93 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 > ElectricBraking_ElectricBraking.Examples.Translational.SMPMBrakingRectifier.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.06486033089459]