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.000878/0.000878, allocations: 77.14 kB / 20.67 MB, free: 3.836 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.0009473/0.0009473, allocations: 165 kB / 24.06 MB, free: 456 kB / 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.964/0.964, allocations: 177.1 MB / 204.5 MB, free: 5.535 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.004792/0.004792, allocations: 1.188 MB / 262.2 MB, free: 11.77 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.272e-06/1.272e-06, allocations: 0 / 332.4 MB, free: 3.098 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.366e-05/1.493e-05, allocations: 6.25 kB / 332.4 MB, free: 3.09 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Translational.SMPMBraking): time 0.005342/0.005357, allocations: 5.897 MB / 338.3 MB, free: 13.16 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003066/0.008422, allocations: 1.974 MB / 340.2 MB, free: 11.18 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004587/0.008881, allocations: 51.62 kB / 340.3 MB, free: 11.12 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000733/0.009614, allocations: 377.6 kB / 340.7 MB, free: 10.75 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00088/0.01049, allocations: 496.6 kB / 341.1 MB, free: 10.27 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003332/0.01083, allocations: 223.7 kB / 341.4 MB, free: 10.05 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001413/0.01224, allocations: 1.924 MB / 343.3 MB, free: 8.113 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007567/0.013, allocations: 0.8646 MB / 344.2 MB, free: 7.203 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001221/0.01422, allocations: 1.365 MB / 345.5 MB, free: 5.836 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009641/0.01518, allocations: 0.9392 MB / 346.5 MB, free: 4.895 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002086/0.01539, allocations: 212 kB / 346.7 MB, free: 4.688 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002579/0.01565, allocations: 248 kB / 346.9 MB, free: 4.445 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003079/0.01596, allocations: 0.5803 MB / 347.5 MB, free: 3.863 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004992/0.01646, allocations: 0.6899 MB / 348.2 MB, free: 3.172 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001096/0.01755, allocations: 1.612 MB / 349.8 MB, free: 1.555 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.01755, allocations: 0 / 349.8 MB, free: 1.555 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.01755, allocations: 4 kB / 349.8 MB, free: 1.551 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.497e-05/0.01758, allocations: 0 / 349.8 MB, free: 1.551 MB / 314.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.002097/0.01968, allocations: 2.153 MB / 351.9 MB, free: 15.35 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.132e-05/0.01971, allocations: 12.02 kB / 352 MB, free: 15.34 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003995/0.02011, allocations: 327.8 kB / 352.3 MB, free: 15.02 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008589/0.02097, allocations: 0.9367 MB / 353.2 MB, free: 14.04 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.818e-05/0.02102, allocations: 119.4 kB / 353.3 MB, free: 13.93 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003563/0.02138, allocations: 152.3 kB / 353.5 MB, free: 13.78 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/0.02251, allocations: 1.25 MB / 354.7 MB, free: 12.44 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.255e-05/0.02254, allocations: 11.98 kB / 354.7 MB, free: 12.43 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.429e-05/0.02263, allocations: 67.92 kB / 354.8 MB, free: 12.36 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.621e-05/0.02267, allocations: 59.06 kB / 354.9 MB, free: 12.3 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005953/0.02327, allocations: 453.2 kB / 355.3 MB, free: 11.85 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003828/0.0271, allocations: 4.147 MB / 359.5 MB, free: 7.602 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000597/0.02769, allocations: 0.5403 MB / 360 MB, free: 7.051 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002325/0.02793, allocations: 216.7 kB / 360.2 MB, free: 6.84 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.024e-05/0.02797, allocations: 16.66 kB / 360.2 MB, free: 6.824 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.02799, allocations: 46.05 kB / 360.3 MB, free: 6.766 MB / 330.7 MB Notification: Performance of pre-optimization done (n=80): time 1.984e-06/0.028, allocations: 0 / 360.3 MB, free: 6.766 MB / 330.7 MB Notification: Performance of matching and sorting (n=90): time 0.003593/0.03159, allocations: 2.336 MB / 362.6 MB, free: 4.359 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.101e-05/0.03161, allocations: 64.34 kB / 362.7 MB, free: 4.285 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004601/0.03207, allocations: 0.7216 MB / 363.4 MB, free: 3.547 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.39e-05/0.03211, allocations: 41.7 kB / 363.4 MB, free: 3.5 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003157/0.03243, allocations: 0.7606 MB / 364.2 MB, free: 2.73 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001643/0.03259, allocations: 341.1 kB / 364.5 MB, free: 2.395 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000169/0.03276, allocations: 184.1 kB / 364.7 MB, free: 2.207 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.03288, allocations: 0.5237 MB / 365.2 MB, free: 1.676 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001536/0.03304, allocations: 113.9 kB / 365.3 MB, free: 1.562 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002642/0.0333, allocations: 367.4 kB / 365.7 MB, free: 1.121 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.0006333/0.03393, allocations: 0.7206 MB / 366.4 MB, free: 324 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.03394, allocations: 0 / 366.4 MB, free: 324 kB / 330.7 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.001082/0.03502, allocations: 0.878 MB / 367.3 MB, free: 15.42 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.03504, allocations: 8.094 kB / 367.3 MB, free: 15.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.03504, allocations: 8 kB / 367.3 MB, free: 15.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001045/0.03609, allocations: 349.4 kB / 367.7 MB, free: 15.05 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003088/0.0364, allocations: 151.7 kB / 367.8 MB, free: 14.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00388/0.04028, allocations: 6.632 MB / 374.4 MB, free: 7.926 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002279/0.04051, allocations: 27.94 kB / 374.5 MB, free: 7.898 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.651e-05/0.04054, allocations: 31.98 kB / 374.5 MB, free: 7.867 MB / 346.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.000243/0.04079, allocations: 209 kB / 374.7 MB, free: 7.652 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000383/0.04117, allocations: 127.4 kB / 374.8 MB, free: 7.527 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001028/0.0422, allocations: 0.795 MB / 375.6 MB, free: 6.711 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.04221, allocations: 7.984 kB / 375.6 MB, free: 6.703 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.04221, allocations: 0 / 375.6 MB, free: 6.703 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002087/0.04242, allocations: 179.2 kB / 375.8 MB, free: 6.527 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.026e-05/0.04249, allocations: 16 kB / 375.8 MB, free: 6.512 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002309/0.04272, allocations: 35.98 kB / 375.9 MB, free: 6.477 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.04282, allocations: 84.81 kB / 375.9 MB, free: 6.395 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001219/0.04404, allocations: 0.8517 MB / 376.8 MB, free: 5.52 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00086/0.0449, allocations: 1.001 MB / 377.8 MB, free: 4.5 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002079/0.04511, allocations: 197.5 kB / 378 MB, free: 4.305 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000276/0.04538, allocations: 426.8 kB / 378.4 MB, free: 3.891 MB / 346.7 MB Notification: Performance of Backend: time 2.81e-07/0.04538, allocations: 0 / 378.4 MB, free: 3.891 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001351/0.04673, allocations: 1.17 MB / 379.6 MB, free: 2.656 MB / 346.7 MB Notification: Performance of SimCode: time 0.003725/0.05046, allocations: 3.779 MB / 383.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of Templates: time 0.02185/0.07231, allocations: 20.13 MB / 403.5 MB, free: 10.97 MB / 378.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 os._exit(0), Time elapsed: 2.8710609329864383]