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.001295/0.001295, allocations: 85.27 kB / 19.87 MB, free: 4.613 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.001308/0.001308, allocations: 165.4 kB / 23.27 MB, free: 1.219 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.059/1.059, allocations: 177.1 MB / 203.7 MB, free: 5.527 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.006366/0.006366, allocations: 1.191 MB / 261.4 MB, free: 11.76 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.723e-06/1.723e-06, allocations: 3.938 kB / 331.6 MB, free: 18.02 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.345e-05/1.517e-05, allocations: 4.844 kB / 331.6 MB, free: 18.01 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Translational.SMPMBraking): time 0.00438/0.004395, allocations: 5.893 MB / 337.5 MB, free: 12.09 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00227/0.006665, allocations: 1.97 MB / 339.4 MB, free: 10.11 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003909/0.007056, allocations: 47.62 kB / 339.5 MB, free: 10.06 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006691/0.007725, allocations: 377.2 kB / 339.9 MB, free: 9.691 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007093/0.008435, allocations: 492.6 kB / 340.3 MB, free: 9.207 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002946/0.008729, allocations: 219.7 kB / 340.6 MB, free: 8.992 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001234/0.009963, allocations: 1.929 MB / 342.5 MB, free: 7.055 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007896/0.01075, allocations: 0.8763 MB / 343.4 MB, free: 6.125 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001438/0.01219, allocations: 1.357 MB / 344.7 MB, free: 4.766 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001482/0.01367, allocations: 0.9353 MB / 345.7 MB, free: 3.828 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005361/0.01421, allocations: 220 kB / 345.9 MB, free: 3.613 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007407/0.01495, allocations: 244 kB / 346.1 MB, free: 3.375 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003845/0.01533, allocations: 0.5726 MB / 346.7 MB, free: 2.801 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001042/0.01638, allocations: 0.6977 MB / 347.4 MB, free: 2.102 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001685/0.01806, allocations: 1.608 MB / 349 MB, free: 500 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.01807, allocations: 4 kB / 349 MB, free: 496 kB / 266.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.01807, allocations: 0 / 349 MB, free: 496 kB / 266.7 MB Notification: Performance of Transformations before backend: time 5.872e-05/0.01813, allocations: 0 / 349 MB, free: 496 kB / 266.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.002711/0.02084, allocations: 2.158 MB / 351.1 MB, free: 14.27 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.02088, allocations: 12.02 kB / 351.2 MB, free: 14.26 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005121/0.02139, allocations: 331.8 kB / 351.5 MB, free: 13.94 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009982/0.02239, allocations: 0.9366 MB / 352.4 MB, free: 12.97 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.772e-05/0.02246, allocations: 111.4 kB / 352.5 MB, free: 12.86 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001495/0.02261, allocations: 152.3 kB / 352.7 MB, free: 12.71 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00146/0.02407, allocations: 1.25 MB / 353.9 MB, free: 11.38 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.336e-05/0.0241, allocations: 7.922 kB / 353.9 MB, free: 11.37 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.314e-05/0.02418, allocations: 64 kB / 354 MB, free: 11.3 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-05/0.02424, allocations: 63.06 kB / 354.1 MB, free: 11.24 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006606/0.0249, allocations: 449.2 kB / 354.5 MB, free: 10.79 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004507/0.02941, allocations: 4.144 MB / 358.6 MB, free: 6.543 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006532/0.03006, allocations: 0.5467 MB / 359.2 MB, free: 5.996 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002486/0.03031, allocations: 216.7 kB / 359.4 MB, free: 5.785 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.43e-05/0.03035, allocations: 12.66 kB / 359.4 MB, free: 5.773 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.03038, allocations: 46.05 kB / 359.5 MB, free: 5.715 MB / 282.7 MB Notification: Performance of pre-optimization done (n=80): time 3.256e-06/0.03039, allocations: 0 / 359.5 MB, free: 5.715 MB / 282.7 MB Notification: Performance of matching and sorting (n=90): time 0.00373/0.03412, allocations: 2.351 MB / 361.8 MB, free: 3.301 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.989e-05/0.03415, allocations: 64.41 kB / 361.9 MB, free: 3.227 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005205/0.03467, allocations: 0.7177 MB / 362.6 MB, free: 2.488 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.528e-05/0.03471, allocations: 41.7 kB / 362.6 MB, free: 2.441 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003654/0.03508, allocations: 0.7645 MB / 363.4 MB, free: 1.668 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001888/0.03527, allocations: 341.1 kB / 363.7 MB, free: 1.332 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001887/0.03546, allocations: 180.2 kB / 363.9 MB, free: 1.148 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.0356, allocations: 0.5199 MB / 364.4 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000163/0.03576, allocations: 109.9 kB / 364.5 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002659/0.03603, allocations: 368.1 kB / 364.9 MB, free: 68 kB / 282.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.0007046/0.03673, allocations: 0.7207 MB / 365.6 MB, free: 15.26 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.03674, allocations: 4 kB / 365.6 MB, free: 15.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.00113/0.03787, allocations: 0.8736 MB / 366.5 MB, free: 14.36 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.03788, allocations: 11.12 kB / 366.5 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.03789, allocations: 4.594 kB / 366.5 MB, free: 14.35 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007496/0.03864, allocations: 365.8 kB / 366.9 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003248/0.03897, allocations: 155.7 kB / 367 MB, free: 13.83 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004264/0.04323, allocations: 6.623 MB / 373.6 MB, free: 6.867 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003577/0.04359, allocations: 35.88 kB / 373.7 MB, free: 6.832 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.01e-05/0.04363, allocations: 27.98 kB / 373.7 MB, free: 6.805 MB / 298.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: 21 * 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 (87): * Single equations (assignments): 84 * 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 {(4,15,81.2%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003768/0.04401, allocations: 212.5 kB / 373.9 MB, free: 6.586 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001315/0.04414, allocations: 127.4 kB / 374 MB, free: 6.461 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001081/0.04522, allocations: 0.7911 MB / 374.8 MB, free: 5.645 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.279e-06/0.04522, allocations: 8 kB / 374.8 MB, free: 5.637 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.04523, allocations: 4 kB / 374.8 MB, free: 5.633 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.916e-06/0.04524, allocations: 7.984 kB / 374.8 MB, free: 5.625 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002835/0.04807, allocations: 2.136 MB / 377 MB, free: 3.418 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.04808, allocations: 0 / 377 MB, free: 3.418 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002919/0.04837, allocations: 115.9 kB / 377.1 MB, free: 3.305 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007283/0.0491, allocations: 334.6 kB / 377.4 MB, free: 2.965 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.116e-05/0.04916, allocations: 19.98 kB / 377.4 MB, free: 2.945 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003953/0.05311, allocations: 6.326 MB / 383.8 MB, free: 12.28 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.05312, allocations: 11.94 kB / 383.8 MB, free: 12.27 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001629/0.05474, allocations: 1.108 MB / 384.9 MB, free: 11.12 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003852/0.05513, allocations: 171.2 kB / 385.1 MB, free: 10.95 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.897e-05/0.05521, allocations: 23.98 kB / 385.1 MB, free: 10.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002623/0.05547, allocations: 43.92 kB / 385.1 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001698/0.05564, allocations: 72.86 kB / 385.2 MB, free: 10.81 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.364e-05/0.05567, allocations: 15.98 kB / 385.2 MB, free: 10.79 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003371/0.05601, allocations: 426.8 kB / 385.6 MB, free: 10.38 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.1e-07/0.05601, allocations: 0 / 385.6 MB, free: 10.38 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009161/0.05693, allocations: 328 kB / 385.9 MB, free: 10.06 MB / 314.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 (69): * Single equations (assignments): 66 * 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 {(4,15,81.2%), (1,2,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.0001785/0.05711, allocations: 133.9 kB / 386.1 MB, free: 9.922 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001562/0.05867, allocations: 1.176 MB / 387.2 MB, free: 8.691 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.05868, allocations: 0 / 387.2 MB, free: 8.691 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008406/0.05952, allocations: 0.9301 MB / 388.2 MB, free: 7.707 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007069/0.06022, allocations: 279 kB / 388.5 MB, free: 7.434 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003494/0.06372, allocations: 2.672 MB / 391.1 MB, free: 4.703 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/0.06405, allocations: 448.1 kB / 391.6 MB, free: 4.238 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003005/0.06436, allocations: 108.1 kB / 391.7 MB, free: 4.129 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000451/0.06481, allocations: 330 kB / 392 MB, free: 3.805 MB / 314.7 MB Notification: Performance of SimCode: time 2.395e-06/0.06481, allocations: 0 / 392 MB, free: 3.805 MB / 314.7 MB Notification: Performance of Templates: time 0.02417/0.08898, allocations: 19.3 MB / 411.3 MB, free: 0.8008 MB / 330.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: 3.5212917430326343]