Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo", uses=false) Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(EHPTlib.MapBased.TestingModels.TestLimTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque") translateModel(EHPTlib.MapBased.TestingModels.TestLimTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001793/0.001793, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002451/0.002451, allocations: 192.9 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.551/1.551, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo): time 0.183/0.183, allocations: 8.402 MB / 298.8 MB, free: 2.168 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 63.89 kB / 361.2 MB, free: 13.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1438, allocations: 51.37 MB / 412.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestLimTorque): time 0.003846/0.1476, allocations: 1.846 MB / 414.4 MB, free: 8.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002438/0.1501, allocations: 1.476 MB / 415.9 MB, free: 6.945 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.736e-05/0.1503, allocations: 0 / 415.9 MB, free: 6.945 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000333/0.1506, allocations: 111.5 kB / 416 MB, free: 6.836 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003242/0.1509, allocations: 107.5 kB / 416.1 MB, free: 6.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004698/0.1514, allocations: 187.2 kB / 416.3 MB, free: 6.551 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003655/0.1518, allocations: 267.4 kB / 416.5 MB, free: 6.289 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.1519, allocations: 44.22 kB / 416.6 MB, free: 6.246 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001788/0.1521, allocations: 111.6 kB / 416.7 MB, free: 6.137 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002599/0.1524, allocations: 127.5 kB / 416.8 MB, free: 6.012 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.21e-05/0.1524, allocations: 16 kB / 416.8 MB, free: 5.996 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000165/0.1526, allocations: 79.91 kB / 416.9 MB, free: 5.918 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.856e-05/0.1527, allocations: 43.84 kB / 416.9 MB, free: 5.875 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001224/0.1528, allocations: 103.3 kB / 417 MB, free: 5.773 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003751/0.1532, allocations: 267.2 kB / 417.3 MB, free: 5.512 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.1532, allocations: 4 kB / 417.3 MB, free: 5.508 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.497e-06/0.1533, allocations: 0 / 417.3 MB, free: 5.508 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.1533, allocations: 7.938 kB / 417.3 MB, free: 5.5 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009228/0.1542, allocations: 0.6029 MB / 417.9 MB, free: 4.836 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.1542, allocations: 11.89 kB / 417.9 MB, free: 4.824 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.985e-05/0.1543, allocations: 28.66 kB / 418 MB, free: 4.797 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003881/0.1547, allocations: 275.5 kB / 418.2 MB, free: 4.488 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.1547, allocations: 16.38 kB / 418.2 MB, free: 4.473 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.947e-05/0.1548, allocations: 12.12 kB / 418.3 MB, free: 4.461 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003505/0.1551, allocations: 155.2 kB / 418.4 MB, free: 4.297 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.1552, allocations: 0 / 418.4 MB, free: 4.297 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.122e-05/0.1552, allocations: 4 kB / 418.4 MB, free: 4.293 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.1552, allocations: 0 / 418.4 MB, free: 4.293 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000298/0.1555, allocations: 99.88 kB / 418.5 MB, free: 4.195 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/0.1566, allocations: 0.5004 MB / 419 MB, free: 3.645 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002417/0.1568, allocations: 114.5 kB / 419.1 MB, free: 3.523 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001717/0.157, allocations: 80.84 kB / 419.2 MB, free: 3.441 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.157, allocations: 4 kB / 419.2 MB, free: 3.438 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.1571, allocations: 38.5 kB / 419.2 MB, free: 3.391 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 2.896e-06/0.1571, allocations: 0 / 419.2 MB, free: 3.391 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.00072/0.1578, allocations: 304.5 kB / 419.5 MB, free: 3.074 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.22e-05/0.1579, allocations: 136.5 kB / 419.7 MB, free: 2.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004375/0.1583, allocations: 370.8 kB / 420 MB, free: 2.535 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/0.1584, allocations: 29.7 kB / 420.1 MB, free: 2.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.1585, allocations: 148 kB / 420.2 MB, free: 2.352 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.228e-05/0.1586, allocations: 31.56 kB / 420.2 MB, free: 2.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.857e-05/0.1586, allocations: 37.7 kB / 420.3 MB, free: 2.277 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.1588, allocations: 334.8 kB / 420.6 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000161/0.159, allocations: 51.97 kB / 420.7 MB, free: 1.891 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001663/0.1592, allocations: 73.67 kB / 420.7 MB, free: 1.812 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003811/0.1595, allocations: 235.5 kB / 421 MB, free: 1.555 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1596, allocations: 0 / 421 MB, free: 1.555 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004576/0.16, allocations: 244.9 kB / 421.2 MB, free: 1.297 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.372e-05/0.1601, allocations: 63.77 kB / 421.3 MB, free: 1.223 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.1601, allocations: 0 / 421.3 MB, free: 1.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.1601, allocations: 3.938 kB / 421.3 MB, free: 1.219 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.1602, allocations: 19.98 kB / 421.3 MB, free: 1.199 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.1603, allocations: 7.875 kB / 421.3 MB, free: 1.191 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002079/0.1605, allocations: 35.91 kB / 421.3 MB, free: 1.156 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/0.1605, allocations: 8 kB / 421.3 MB, free: 1.148 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (fileTxtLimits.state,fixedLimits.state) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001895/0.1607, allocations: 209.8 kB / 421.5 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.283e-05/0.1608, allocations: 27.72 kB / 421.6 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005635/0.1613, allocations: 270.6 kB / 421.8 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.1613, allocations: 3.938 kB / 421.8 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.1614, allocations: 4 kB / 421.8 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.1614, allocations: 4 kB / 421.8 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003109/0.1617, allocations: 269.5 kB / 422.1 MB, free: 292 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.1617, allocations: 3.984 kB / 422.1 MB, free: 288 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.543e-05/0.1618, allocations: 12 kB / 422.1 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.1618, allocations: 3.984 kB / 422.1 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.1618, allocations: 8 kB / 422.1 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.125e-06/0.1618, allocations: 3.938 kB / 422.1 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1618, allocations: 0 / 422.1 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1974/0.3592, allocations: 353.8 kB / 422.5 MB, free: 44.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.089e-05/0.3593, allocations: 119.6 kB / 422.6 MB, free: 44.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.934e-05/0.3594, allocations: 6.781 kB / 422.6 MB, free: 44.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002418/0.3596, allocations: 32.72 kB / 422.6 MB, free: 44.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.687e-05/0.3597, allocations: 14.84 kB / 422.6 MB, free: 44.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.3597, allocations: 10.72 kB / 422.7 MB, free: 44.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002384/0.36, allocations: 267.7 kB / 422.9 MB, free: 43.99 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.36, allocations: 1.625 kB / 422.9 MB, free: 43.99 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003709/0.3604, allocations: 46.42 kB / 423 MB, free: 43.99 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (fixedLimits.state,fileTxtLimits.state) * Number of discrete states: 2 (fileTxtLimits.state,fixedLimits.state) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001227/0.3616, allocations: 392.1 kB / 423.3 MB, free: 43.9 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004073/0.362, allocations: 269.5 kB / 423.6 MB, free: 43.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.362, allocations: 0 / 423.6 MB, free: 43.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001889/0.3622, allocations: 201.6 kB / 423.8 MB, free: 43.65 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004196/0.3626, allocations: 47.97 kB / 423.9 MB, free: 43.64 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000607/0.3633, allocations: 469.4 kB / 424.3 MB, free: 43.45 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001479/0.3634, allocations: 0.7477 MB / 425.1 MB, free: 42.76 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.738e-05/0.3635, allocations: 27.69 kB / 425.1 MB, free: 42.76 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.539e-05/0.3635, allocations: 19.78 kB / 425.1 MB, free: 42.75 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3635, allocations: 0 / 425.1 MB, free: 42.75 MB / 350.1 MB Notification: Performance of Templates: time 0.005888/0.3694, allocations: 3.305 MB / 428.4 MB, free: 42.43 MB / 350.1 MB make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque.makefile (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe 2>&1)