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.002272/0.002272, allocations: 105.5 kB / 18.95 MB, free: 1.18 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.002575/0.002575, allocations: 216.6 kB / 22.25 MB, free: 3.574 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.646/1.646, allocations: 230.6 MB / 256 MB, free: 9.598 MB / 202.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.00962/0.00962, allocations: 1.593 MB / 314 MB, free: 368 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.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: 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.003558/0.003558, allocations: 74.05 kB / 437.1 MB, free: 46.12 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07719/0.08075, allocations: 53.76 MB / 490.9 MB, free: 10.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Translational.SMPMBraking): time 0.008231/0.08898, allocations: 5.459 MB / 496.3 MB, free: 4.531 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003851/0.09283, allocations: 1.9 MB / 498.2 MB, free: 2.625 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004924/0.09333, allocations: 43.69 kB / 498.3 MB, free: 2.582 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009719/0.0943, allocations: 369.4 kB / 498.6 MB, free: 2.219 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001329/0.09563, allocations: 473.2 kB / 499.1 MB, free: 1.754 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004418/0.09607, allocations: 227.7 kB / 499.3 MB, free: 1.531 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002101/0.09817, allocations: 1.859 MB / 0.4894 GB, free: 15.66 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001246/0.09941, allocations: 0.8607 MB / 0.4903 GB, free: 14.75 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001144/0.1006, allocations: 0.8645 MB / 0.4911 GB, free: 13.88 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001491/0.102, allocations: 1 MB / 0.4921 GB, free: 12.88 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003239/0.1024, allocations: 220 kB / 0.4923 GB, free: 12.66 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004862/0.1029, allocations: 252 kB / 0.4926 GB, free: 12.42 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006103/0.1035, allocations: 0.5725 MB / 0.4931 GB, free: 11.84 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009593/0.1044, allocations: 0.8052 MB / 0.4939 GB, free: 11.04 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00344/0.1079, allocations: 2.744 MB / 0.4966 GB, free: 8.281 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1079, allocations: 0 / 0.4966 GB, free: 8.281 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.1079, allocations: 0 / 0.4966 GB, free: 8.281 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.376e-05/0.1079, allocations: 0 / 0.4966 GB, free: 8.281 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: 394 * Number of variables: 394 Notification: Performance of Generate backend data structure: time 0.004066/0.112, allocations: 2.088 MB / 0.4986 GB, free: 6.152 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.112, allocations: 8.031 kB / 0.4986 GB, free: 6.145 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005457/0.1126, allocations: 207.8 kB / 0.4988 GB, free: 5.941 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001942/0.1145, allocations: 1.059 MB / 0.4999 GB, free: 4.855 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001111/0.1146, allocations: 111.4 kB / 0.5 GB, free: 4.746 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002668/0.1149, allocations: 163.8 kB / 0.5001 GB, free: 4.586 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003971/0.1189, allocations: 2.211 MB / 0.5023 GB, free: 2.293 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.42e-05/0.1189, allocations: 4 kB / 0.5023 GB, free: 2.289 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001472/0.1191, allocations: 60 kB / 0.5023 GB, free: 2.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9e-05/0.1191, allocations: 70.98 kB / 0.5024 GB, free: 2.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002943/0.1221, allocations: 1.679 MB / 0.504 GB, free: 488 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009205/0.1313, allocations: 4.751 MB / 0.5087 GB, free: 11.63 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001885/0.1332, allocations: 1.068 MB / 0.5097 GB, free: 10.56 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009848/0.1342, allocations: 0.582 MB / 0.5103 GB, free: 9.969 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.85e-05/0.1342, allocations: 16.92 kB / 0.5103 GB, free: 9.953 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.393e-05/0.1343, allocations: 39.56 kB / 0.5104 GB, free: 9.906 MB / 378.7 MB Notification: Performance of pre-optimization done (n=84): time 2.695e-06/0.1343, allocations: 0 / 0.5104 GB, free: 9.906 MB / 378.7 MB Notification: Performance of matching and sorting (n=96): time 0.01147/0.1457, allocations: 5.167 MB / 0.5154 GB, free: 4.688 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.398e-05/0.1458, allocations: 60.41 kB / 0.5155 GB, free: 4.617 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001214/0.147, allocations: 0.7974 MB / 0.5162 GB, free: 3.809 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.88e-05/0.1471, allocations: 45.7 kB / 0.5163 GB, free: 3.758 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000585/0.1477, allocations: 0.6722 MB / 0.5169 GB, free: 3.074 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003364/0.148, allocations: 353 kB / 0.5173 GB, free: 2.727 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002937/0.1483, allocations: 162.6 kB / 0.5174 GB, free: 2.559 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001904/0.1485, allocations: 342 kB / 0.5178 GB, free: 2.219 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008287/0.1493, allocations: 0.4938 MB / 0.5182 GB, free: 1.727 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009755/0.1503, allocations: 0.6562 MB / 0.5189 GB, free: 1.02 MB / 378.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.006546/0.1568, allocations: 2.552 MB / 0.5214 GB, free: 14.41 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.1568, allocations: 3.984 kB / 0.5214 GB, free: 14.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003889/0.1607, allocations: 1.834 MB / 0.5232 GB, free: 12.55 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/0.1608, allocations: 8 kB / 0.5232 GB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.1608, allocations: 4 kB / 0.5232 GB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00192/0.1627, allocations: 0.631 MB / 0.5238 GB, free: 11.9 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000654/0.1633, allocations: 163.7 kB / 0.5239 GB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01123/0.1746, allocations: 7.96 MB / 0.5317 GB, free: 3.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006861/0.1753, allocations: 40.03 kB / 0.5318 GB, free: 3.441 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001134/0.1754, allocations: 35.98 kB / 0.5318 GB, free: 3.406 MB / 394.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.001047/0.1764, allocations: 0.5435 MB / 0.5323 GB, free: 2.855 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000271/0.1767, allocations: 103.3 kB / 0.5324 GB, free: 2.754 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003666/0.1804, allocations: 1.755 MB / 0.5341 GB, free: 0.9766 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.46e-05/0.1804, allocations: 20.02 kB / 0.5342 GB, free: 0.957 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.51e-05/0.1804, allocations: 7.938 kB / 0.5342 GB, free: 0.9492 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/0.1804, allocations: 3.984 kB / 0.5342 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006997/0.1874, allocations: 3.207 MB / 0.5373 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.1874, allocations: 0 / 0.5373 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006105/0.188, allocations: 131.8 kB / 0.5374 GB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001818/0.1898, allocations: 0.5683 MB / 0.538 GB, free: 12.97 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.526e-05/0.1899, allocations: 20.12 kB / 0.538 GB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009551/0.1995, allocations: 7.051 MB / 0.5449 GB, free: 5.594 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.1995, allocations: 3.938 kB / 0.5449 GB, free: 5.59 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004619/0.2041, allocations: 2.481 MB / 0.5473 GB, free: 3.074 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006141/0.2047, allocations: 215.4 kB / 0.5475 GB, free: 2.863 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002017/0.2049, allocations: 20.25 kB / 0.5475 GB, free: 2.844 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006296/0.2055, allocations: 55.95 kB / 0.5476 GB, free: 2.789 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002298/0.2058, allocations: 88.77 kB / 0.5477 GB, free: 2.703 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.458e-05/0.2058, allocations: 31.98 kB / 0.5477 GB, free: 2.672 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009372/0.2068, allocations: 0.5537 MB / 0.5482 GB, free: 2.125 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2068, allocations: 0 / 0.5482 GB, free: 2.125 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001281/0.208, allocations: 351.9 kB / 0.5486 GB, free: 1.781 MB / 410.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.0002135/0.2083, allocations: 119.2 kB / 0.5487 GB, free: 1.656 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.1716/0.3799, allocations: 1.793 MB / 0.5504 GB, free: 65.89 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/0.3799, allocations: 3.844 kB / 0.5504 GB, free: 65.89 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002072/0.382, allocations: 1.171 MB / 0.5516 GB, free: 65.54 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001257/0.3832, allocations: 259.2 kB / 0.5518 GB, free: 65.54 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00444/0.3877, allocations: 3.352 MB / 0.5551 GB, free: 64.42 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009899/0.3887, allocations: 0.9376 MB / 0.556 GB, free: 64.2 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005476/0.3892, allocations: 219.2 kB / 0.5562 GB, free: 64.17 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001919/0.3894, allocations: 69.09 kB / 0.5563 GB, free: 64.16 MB / 410.7 MB Notification: Performance of SimCode: time 9.42e-07/0.3894, allocations: 0 / 0.5563 GB, free: 64.16 MB / 410.7 MB Notification: Performance of Templates: time 0.02646/0.4159, allocations: 21.22 MB / 0.577 GB, free: 53.32 MB / 410.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.633403938729316]