Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ElectricBraking_ElectricBraking.Examples.Translational.SMPMBraking.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.002261/0.002261, 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.002635/0.002635, allocations: 169.9 kB / 22.45 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.573/1.573, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.009309/0.009309, allocations: 1.2 MB / 260.4 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.SMPMBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Translational.SMPMBraking") translateModel(ElectricBraking.Examples.Translational.SMPMBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Translational.SMPMBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.512e-06/1.512e-06, allocations: 0 / 383.5 MB, free: 13.14 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.678e-05/2.829e-05, allocations: 2.281 kB / 383.5 MB, free: 13.13 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Translational.SMPMBraking): time 0.007785/0.007813, allocations: 5.46 MB / 389 MB, free: 7.641 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003346/0.01116, allocations: 1.9 MB / 390.9 MB, free: 5.734 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003976/0.01156, allocations: 51.69 kB / 391 MB, free: 5.684 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008982/0.01246, allocations: 377.2 kB / 391.3 MB, free: 5.312 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001043/0.0135, allocations: 488.6 kB / 391.8 MB, free: 4.832 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004184/0.01392, allocations: 215.7 kB / 392 MB, free: 4.621 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002326/0.01624, allocations: 1.932 MB / 393.9 MB, free: 2.68 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001197/0.01744, allocations: 0.8568 MB / 394.8 MB, free: 1.777 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001665/0.01911, allocations: 1.255 MB / 396.1 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001333/0.02044, allocations: 0.9001 MB / 397 MB, free: 15.62 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003225/0.02076, allocations: 220 kB / 397.2 MB, free: 15.4 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004628/0.02122, allocations: 243.9 kB / 397.4 MB, free: 15.16 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006168/0.02184, allocations: 0.5959 MB / 398 MB, free: 14.57 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008529/0.02269, allocations: 0.686 MB / 398.7 MB, free: 13.88 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003171/0.02586, allocations: 2.762 MB / 401.5 MB, free: 11.11 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.02587, allocations: 4 kB / 401.5 MB, free: 11.11 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.02587, allocations: 0 / 401.5 MB, free: 11.11 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.295e-05/0.02589, allocations: 0 / 401.5 MB, free: 11.11 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: 394 * Number of variables: 394 Notification: Performance of Generate backend data structure: time 0.003618/0.02951, allocations: 2.064 MB / 403.5 MB, free: 9 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.02955, allocations: 11.97 kB / 403.5 MB, free: 8.988 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004655/0.03001, allocations: 207.8 kB / 403.7 MB, free: 8.785 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00175/0.03176, allocations: 1.062 MB / 404.8 MB, free: 7.688 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/0.03187, allocations: 111.4 kB / 404.9 MB, free: 7.578 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002421/0.03211, allocations: 160.3 kB / 405.1 MB, free: 7.422 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003361/0.03547, allocations: 2.219 MB / 407.3 MB, free: 5.125 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.503e-05/0.0355, allocations: 4 kB / 407.3 MB, free: 5.121 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001585/0.03566, allocations: 67.98 kB / 407.4 MB, free: 5.055 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.4e-05/0.03574, allocations: 59.06 kB / 407.4 MB, free: 4.996 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003048/0.03879, allocations: 1.683 MB / 409.1 MB, free: 3.309 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.14/0.1788, allocations: 4.744 MB / 413.8 MB, free: 36.68 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001759/0.1806, allocations: 1.07 MB / 414.9 MB, free: 36.45 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008612/0.1814, allocations: 0.5731 MB / 415.5 MB, free: 36.24 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.049e-05/0.1815, allocations: 9.859 kB / 415.5 MB, free: 36.24 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.1815, allocations: 44.48 kB / 415.5 MB, free: 36.19 MB / 330.7 MB Notification: Performance of pre-optimization done (n=84): time 2.465e-06/0.1815, allocations: 1.375 kB / 415.5 MB, free: 36.19 MB / 330.7 MB Notification: Performance of matching and sorting (n=96): time 0.009409/0.191, allocations: 5.156 MB / 420.7 MB, free: 34.31 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.523e-05/0.191, allocations: 62.22 kB / 420.8 MB, free: 34.25 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009099/0.1919, allocations: 0.7988 MB / 421.6 MB, free: 33.92 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.493e-05/0.1919, allocations: 42.05 kB / 421.6 MB, free: 33.88 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003428/0.1923, allocations: 0.6797 MB / 422.3 MB, free: 33.44 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001795/0.1925, allocations: 345.3 kB / 422.6 MB, free: 33.2 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002772/0.1927, allocations: 168.2 kB / 422.8 MB, free: 33.11 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.052e-05/0.1928, allocations: 343.9 kB / 423.1 MB, free: 32.79 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007074/0.1935, allocations: 0.4909 MB / 423.6 MB, free: 32.62 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007378/0.1943, allocations: 0.6508 MB / 424.3 MB, free: 32.29 MB / 330.7 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.005373/0.1996, allocations: 2.558 MB / 426.8 MB, free: 31.37 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.1996, allocations: 1.812 kB / 426.8 MB, free: 31.37 MB / 330.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002737/0.2024, allocations: 1.834 MB / 428.6 MB, free: 30.68 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.2024, allocations: 8.953 kB / 428.7 MB, free: 30.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.2024, allocations: 7.5 kB / 428.7 MB, free: 30.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001531/0.2039, allocations: 0.6341 MB / 429.3 MB, free: 30.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005788/0.2045, allocations: 158.9 kB / 429.4 MB, free: 30.45 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006753/0.2113, allocations: 7.947 MB / 437.4 MB, free: 24.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005462/0.2118, allocations: 41.7 kB / 437.4 MB, free: 24.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.378e-05/0.2119, allocations: 34.05 kB / 437.5 MB, free: 24.24 MB / 330.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: massLoad.s = $START.massLoad.s. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 4 (switch.control[3],switch.control[2],switch.control[1],integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,14,76.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,3)} Notification: Performance of prepare postOptimizeDAE: time 0.000641/0.2125, allocations: 0.5443 MB / 438 MB, free: 23.68 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/0.2126, allocations: 103.4 kB / 438.1 MB, free: 23.58 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002346/0.215, allocations: 1.752 MB / 439.9 MB, free: 21.81 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.215, allocations: 8 kB / 439.9 MB, free: 21.8 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.215, allocations: 15.94 kB / 439.9 MB, free: 21.79 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.215, allocations: 7.969 kB / 439.9 MB, free: 21.78 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004268/0.2193, allocations: 3.192 MB / 443.1 MB, free: 18.55 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.2193, allocations: 4.094 kB / 443.1 MB, free: 18.55 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004999/0.2198, allocations: 127.9 kB / 443.2 MB, free: 18.42 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001339/0.2211, allocations: 0.5681 MB / 443.8 MB, free: 17.84 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.014e-05/0.2212, allocations: 27.98 kB / 443.8 MB, free: 17.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005479/0.2266, allocations: 7.048 MB / 450.9 MB, free: 10.49 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.2266, allocations: 0 / 450.9 MB, free: 10.49 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002971/0.2296, allocations: 2.481 MB / 453.3 MB, free: 7.977 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004043/0.23, allocations: 214.4 kB / 453.6 MB, free: 7.77 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.2301, allocations: 27.98 kB / 453.6 MB, free: 7.742 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005019/0.2306, allocations: 47.97 kB / 453.6 MB, free: 7.695 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001824/0.2308, allocations: 88.72 kB / 453.7 MB, free: 7.609 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-05/0.2309, allocations: 27.98 kB / 453.7 MB, free: 7.582 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000546/0.2314, allocations: 0.5615 MB / 454.3 MB, free: 7.023 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2314, allocations: 0 / 454.3 MB, free: 7.023 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009693/0.2324, allocations: 344 kB / 454.6 MB, free: 6.688 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (massLoad.s,massLoad.v,integrator.y,heatCapacitor.T,smpm.clarkeParkConverter.idq[1],smpm.clarkeParkConverter.idq[2]) * Number of discrete variables: 3 (switch.control[1],switch.control[2],switch.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,14,76.0%), (2,1,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000136/0.2325, allocations: 128.1 kB / 454.8 MB, free: 6.551 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002372/0.2349, allocations: 1.791 MB / 456.6 MB, free: 4.727 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.2349, allocations: 8 kB / 456.6 MB, free: 4.719 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001511/0.2364, allocations: 1.166 MB / 457.7 MB, free: 3.516 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009785/0.2374, allocations: 274.7 kB / 458 MB, free: 3.266 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003475/0.2408, allocations: 3.19 MB / 461.2 MB, free: 48 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001086/0.2419, allocations: 0.934 MB / 462.1 MB, free: 15.07 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005805/0.2425, allocations: 220.1 kB / 462.3 MB, free: 14.86 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001966/0.2427, allocations: 68.48 kB / 462.4 MB, free: 14.79 MB / 346.7 MB Notification: Performance of SimCode: time 5.71e-07/0.2427, allocations: 0 / 462.4 MB, free: 14.79 MB / 346.7 MB Notification: Performance of Templates: time 0.03286/0.2756, allocations: 19.28 MB / 481.7 MB, free: 11.79 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ElectricBraking_ElectricBraking.Examples.Translational.SMPMBraking.makefile [Timeout 660] (rm -f ElectricBraking_ElectricBraking.Examples.Translational.SMPMBraking.pipe ; mkfifo ElectricBraking_ElectricBraking.Examples.Translational.SMPMBraking.pipe ; head -c 1048576 < ElectricBraking_ElectricBraking.Examples.Translational.SMPMBraking.pipe >> ../files/ElectricBraking_ElectricBraking.Examples.Translational.SMPMBraking.sim & ./ElectricBraking_ElectricBraking.Examples.Translational.SMPMBraking -abortSlowSimulation -alarm=240 -lv LOG_STATS > ElectricBraking_ElectricBraking.Examples.Translational.SMPMBraking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.275188583880663]