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.0009114/0.0009114, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.000979/0.000979, allocations: 177 kB / 23.36 MB, free: 1.129 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.9575/0.9575, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.004968/0.004968, allocations: 1.201 MB / 261.5 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.172e-06/1.172e-06, allocations: 0 / 278.4 MB, free: 10.86 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.122e-05/1.239e-05, allocations: 2.312 kB / 278.4 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Translational.SMPMBraking): time 0.005177/0.005189, allocations: 5.944 MB / 284.3 MB, free: 4.879 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003345/0.008534, allocations: 2.044 MB / 286.4 MB, free: 2.828 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004396/0.008973, allocations: 51.62 kB / 286.4 MB, free: 2.777 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007794/0.009753, allocations: 397.1 kB / 286.8 MB, free: 2.387 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008417/0.01059, allocations: 496.6 kB / 287.3 MB, free: 1.898 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003388/0.01093, allocations: 215.7 kB / 287.5 MB, free: 1.688 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1135/0.1244, allocations: 1.936 MB / 289.4 MB, free: 19.24 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001134/0.1255, allocations: 0.8944 MB / 290.3 MB, free: 19.07 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001729/0.1273, allocations: 1.343 MB / 291.7 MB, free: 19.07 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001261/0.1285, allocations: 0.9374 MB / 292.6 MB, free: 19.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004452/0.129, allocations: 215.6 kB / 292.8 MB, free: 19.07 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004584/0.1294, allocations: 243 kB / 293 MB, free: 19.07 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004391/0.1299, allocations: 0.5822 MB / 293.6 MB, free: 19.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009147/0.1308, allocations: 0.6938 MB / 294.3 MB, free: 19.05 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001693/0.1325, allocations: 1.616 MB / 295.9 MB, free: 18.84 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.1325, allocations: 0.75 kB / 295.9 MB, free: 18.84 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1325, allocations: 0.5625 kB / 295.9 MB, free: 18.84 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.619e-05/0.1325, allocations: 0.75 kB / 295.9 MB, free: 18.84 MB / 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.002626/0.1352, allocations: 1.928 MB / 297.9 MB, free: 17.84 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.1352, allocations: 8.906 kB / 297.9 MB, free: 17.84 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005561/0.1358, allocations: 269.4 kB / 298.1 MB, free: 17.8 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009599/0.1367, allocations: 0.705 MB / 298.8 MB, free: 17.43 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.81e-05/0.1368, allocations: 113.4 kB / 299 MB, free: 17.38 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001655/0.1369, allocations: 163.1 kB / 299.1 MB, free: 17.33 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001385/0.1383, allocations: 1.269 MB / 300.4 MB, free: 16.8 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.53e-05/0.1384, allocations: 4.516 kB / 300.4 MB, free: 16.8 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.893e-05/0.1385, allocations: 70.42 kB / 300.5 MB, free: 16.75 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-05/0.1385, allocations: 63.56 kB / 300.5 MB, free: 16.74 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007533/0.1393, allocations: 467 kB / 301 MB, free: 16.66 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003473/0.1427, allocations: 3.262 MB / 304.2 MB, free: 15.06 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005055/0.1432, allocations: 0.4936 MB / 304.7 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001987/0.1434, allocations: 175.6 kB / 304.9 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.621e-05/0.1435, allocations: 19.16 kB / 304.9 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.1435, allocations: 53.34 kB / 305 MB, free: 14.83 MB / 266.7 MB Notification: Performance of pre-optimization done (n=80): time 1.893e-06/0.1435, allocations: 0 / 305 MB, free: 14.83 MB / 266.7 MB Notification: Performance of matching and sorting (n=90): time 0.003397/0.1469, allocations: 2.279 MB / 307.2 MB, free: 13.77 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.805e-05/0.1469, allocations: 68.16 kB / 307.3 MB, free: 13.69 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003129/0.1472, allocations: 0.5827 MB / 307.9 MB, free: 13.2 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.113e-05/0.1473, allocations: 41.7 kB / 307.9 MB, free: 13.15 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.1474, allocations: 0.5931 MB / 308.5 MB, free: 12.59 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/0.1475, allocations: 317.3 kB / 308.8 MB, free: 12.29 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001442/0.1477, allocations: 159.4 kB / 309 MB, free: 12.15 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.005e-05/0.1477, allocations: 345.5 kB / 309.3 MB, free: 11.83 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.1478, allocations: 112.8 kB / 309.4 MB, free: 11.71 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001743/0.148, allocations: 270.8 kB / 309.7 MB, free: 11.41 MB / 266.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.0005743/0.1486, allocations: 0.6646 MB / 310.4 MB, free: 10.71 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.1486, allocations: 0 / 310.4 MB, free: 10.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.0009242/0.1495, allocations: 0.7153 MB / 311.1 MB, free: 10.04 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.1495, allocations: 11.98 kB / 311.1 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.1495, allocations: 7.938 kB / 311.1 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006941/0.1502, allocations: 336.8 kB / 311.4 MB, free: 9.684 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003816/0.1506, allocations: 176.6 kB / 311.6 MB, free: 9.523 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002881/0.1535, allocations: 4.927 MB / 316.5 MB, free: 4.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002521/0.1538, allocations: 28 kB / 316.6 MB, free: 4.383 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.675e-05/0.1538, allocations: 28 kB / 316.6 MB, free: 4.355 MB / 266.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.0002546/0.154, allocations: 176.3 kB / 316.8 MB, free: 4.184 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.922e-05/0.1541, allocations: 87.91 kB / 316.9 MB, free: 4.098 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008787/0.155, allocations: 0.6827 MB / 317.5 MB, free: 3.41 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.155, allocations: 15.94 kB / 317.5 MB, free: 3.395 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.155, allocations: 8 kB / 317.6 MB, free: 3.387 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.155, allocations: 3.984 kB / 317.6 MB, free: 3.383 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002082/0.1571, allocations: 1.73 MB / 319.3 MB, free: 1.832 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.1571, allocations: 0 / 319.3 MB, free: 1.832 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003673/0.1575, allocations: 160.7 kB / 319.4 MB, free: 1.684 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006225/0.1581, allocations: 329.1 kB / 319.8 MB, free: 1.363 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.362e-05/0.1582, allocations: 19.98 kB / 319.8 MB, free: 1.344 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002663/0.1608, allocations: 4.644 MB / 324.4 MB, free: 12.49 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.1608, allocations: 0 / 324.4 MB, free: 12.49 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001135/0.162, allocations: 0.931 MB / 325.4 MB, free: 11.56 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001881/0.1622, allocations: 123.3 kB / 325.5 MB, free: 11.44 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.622e-05/0.1622, allocations: 24 kB / 325.5 MB, free: 11.42 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002581/0.1625, allocations: 39.98 kB / 325.5 MB, free: 11.38 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/0.1626, allocations: 72.8 kB / 325.6 MB, free: 11.31 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.593e-05/0.1626, allocations: 19.98 kB / 325.6 MB, free: 11.29 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002165/0.1629, allocations: 280.9 kB / 325.9 MB, free: 11.05 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1629, allocations: 0 / 325.9 MB, free: 11.05 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006579/0.1635, allocations: 328 kB / 326.2 MB, free: 10.73 MB / 282.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.0001306/0.1637, allocations: 110.6 kB / 326.3 MB, free: 10.62 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001079/0.1647, allocations: 0.9616 MB / 327.3 MB, free: 9.66 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.366e-05/0.1647, allocations: 8.75 kB / 327.3 MB, free: 9.652 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007495/0.1655, allocations: 0.7327 MB / 328 MB, free: 8.91 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006463/0.1661, allocations: 282.2 kB / 328.3 MB, free: 8.652 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003166/0.1693, allocations: 2.614 MB / 330.9 MB, free: 6.035 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/0.1696, allocations: 376.2 kB / 331.3 MB, free: 5.633 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002952/0.1699, allocations: 112.1 kB / 331.4 MB, free: 5.52 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004726/0.1704, allocations: 289.1 kB / 331.7 MB, free: 5.238 MB / 282.7 MB Notification: Performance of SimCode: time 8.11e-07/0.1704, allocations: 4 kB / 331.7 MB, free: 5.234 MB / 282.7 MB Notification: Performance of Templates: time 0.02431/0.1947, allocations: 19.29 MB / 351 MB, free: 2.324 MB / 298.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ElectricBraking_ElectricBraking.Examples.Translational.SMPMBraking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1306706429459155]