Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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 2.1.4-main/package.mo", uses=false) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-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_EHPTlib.MapBased.TestingModels.TestLimTorque") translateModel(EHPTlib.MapBased.TestingModels.TestLimTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="EHPTlib_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.0008934/0.0008934, allocations: 98.27 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005125/0.005125, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.449/1.449, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.2016/0.2016, allocations: 8.92 MB / 300.4 MB, free: 2.973 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002933/0.0002933, allocations: 8 kB / 363.6 MB, free: 12.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1077, allocations: 52.48 MB / 416 MB, free: 8.234 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestLimTorque): time 0.002328/0.1101, allocations: 1.564 MB / 417.6 MB, free: 6.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002311/0.1124, allocations: 1.448 MB / 419.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.579e-05/0.1125, allocations: 4 kB / 419.1 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002816/0.1128, allocations: 103.7 kB / 419.2 MB, free: 5.098 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002348/0.113, allocations: 99.66 kB / 419.3 MB, free: 5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003779/0.1134, allocations: 163.5 kB / 419.4 MB, free: 4.844 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003194/0.1137, allocations: 243.3 kB / 419.7 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.1139, allocations: 32.22 kB / 419.7 MB, free: 4.574 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001633/0.114, allocations: 95.61 kB / 419.8 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002339/0.1143, allocations: 119.5 kB / 419.9 MB, free: 4.363 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.084e-05/0.1143, allocations: 8 kB / 419.9 MB, free: 4.355 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001259/0.1144, allocations: 59.98 kB / 420 MB, free: 4.297 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.662e-05/0.1145, allocations: 47.77 kB / 420 MB, free: 4.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001266/0.1147, allocations: 121 kB / 420.1 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000315/0.115, allocations: 255.2 kB / 420.4 MB, free: 3.875 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.115, allocations: 0 / 420.4 MB, free: 3.875 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.115, allocations: 0 / 420.4 MB, free: 3.875 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.115, allocations: 4 kB / 420.4 MB, free: 3.871 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.0007665/0.1158, allocations: 0.5663 MB / 420.9 MB, free: 3.246 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.1158, allocations: 8.031 kB / 421 MB, free: 3.238 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.771e-05/0.1159, allocations: 28.66 kB / 421 MB, free: 3.211 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003342/0.1162, allocations: 279.5 kB / 421.3 MB, free: 2.898 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/0.1163, allocations: 16.38 kB / 421.3 MB, free: 2.883 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.547e-05/0.1163, allocations: 12.12 kB / 421.3 MB, free: 2.871 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003577/0.1167, allocations: 165.2 kB / 421.4 MB, free: 2.699 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.1167, allocations: 0 / 421.4 MB, free: 2.699 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.998e-05/0.1167, allocations: 4 kB / 421.5 MB, free: 2.695 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.1167, allocations: 4 kB / 421.5 MB, free: 2.691 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003126/0.117, allocations: 111.9 kB / 421.6 MB, free: 2.582 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.1181, allocations: 0.5198 MB / 422.1 MB, free: 2.012 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002452/0.1183, allocations: 106.5 kB / 422.2 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002119/0.1186, allocations: 88.77 kB / 422.3 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.1186, allocations: 8.047 kB / 422.3 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.1186, allocations: 42.59 kB / 422.3 MB, free: 1.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.213e-06/0.1186, allocations: 0 / 422.3 MB, free: 1.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007126/0.1194, allocations: 312.7 kB / 422.6 MB, free: 1.426 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.932e-05/0.1195, allocations: 136.5 kB / 422.8 MB, free: 1.262 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004508/0.1199, allocations: 366.9 kB / 423.1 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.063e-05/0.12, allocations: 37.64 kB / 423.2 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.1201, allocations: 152 kB / 423.3 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.28e-05/0.1202, allocations: 31.55 kB / 423.3 MB, free: 0.668 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.842e-05/0.1202, allocations: 17.72 kB / 423.4 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.1204, allocations: 334.8 kB / 423.7 MB, free: 316 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001666/0.1205, allocations: 59.97 kB / 423.7 MB, free: 256 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001799/0.1207, allocations: 73.67 kB / 423.8 MB, free: 176 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1769/0.2976, allocations: 238.8 kB / 424 MB, free: 40.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/0.2977, allocations: 0 / 424 MB, free: 40.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005104/0.2982, allocations: 252.3 kB / 424.3 MB, free: 40.72 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.414e-05/0.2983, allocations: 66.39 kB / 424.4 MB, free: 40.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.2983, allocations: 0 / 424.4 MB, free: 40.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.2983, allocations: 2.781 kB / 424.4 MB, free: 40.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.2984, allocations: 19.95 kB / 424.4 MB, free: 40.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.2984, allocations: 1.219 kB / 424.4 MB, free: 40.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002477/0.2987, allocations: 46.08 kB / 424.4 MB, free: 40.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/0.2987, allocations: 6.344 kB / 424.4 MB, free: 40.66 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.0001753/0.2989, allocations: 216.8 kB / 424.6 MB, free: 40.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.589e-05/0.299, allocations: 29.19 kB / 424.7 MB, free: 40.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000488/0.2995, allocations: 277.6 kB / 424.9 MB, free: 40.38 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.2995, allocations: 2.469 kB / 424.9 MB, free: 40.38 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.2995, allocations: 0 / 424.9 MB, free: 40.38 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.2995, allocations: 1.031 kB / 424.9 MB, free: 40.38 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002445/0.2997, allocations: 283.6 kB / 425.2 MB, free: 40.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.2998, allocations: 0 / 425.2 MB, free: 40.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.967e-05/0.2998, allocations: 17.8 kB / 425.2 MB, free: 40.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.2998, allocations: 0 / 425.2 MB, free: 40.19 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.2999, allocations: 9.953 kB / 425.3 MB, free: 40.19 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.2999, allocations: 3.562 kB / 425.3 MB, free: 40.19 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.2999, allocations: 0 / 425.3 MB, free: 40.19 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004261/0.3003, allocations: 369.9 kB / 425.6 MB, free: 40 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.595e-05/0.3004, allocations: 123.9 kB / 425.7 MB, free: 39.9 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.702e-05/0.3005, allocations: 9.734 kB / 425.7 MB, free: 39.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002395/0.3007, allocations: 37.36 kB / 425.8 MB, free: 39.9 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.255e-05/0.3008, allocations: 22.94 kB / 425.8 MB, free: 39.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.3008, allocations: 5.406 kB / 425.8 MB, free: 39.9 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002034/0.301, allocations: 270.9 kB / 426.1 MB, free: 39.82 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.301, allocations: 0 / 426.1 MB, free: 39.82 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002925/0.3013, allocations: 53.75 kB / 426.1 MB, free: 39.82 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.00135/0.3027, allocations: 395 kB / 426.5 MB, free: 39.72 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004095/0.3031, allocations: 272.2 kB / 426.8 MB, free: 39.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.3031, allocations: 2.469 kB / 426.8 MB, free: 39.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002078/0.3033, allocations: 205.7 kB / 427 MB, free: 39.47 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004283/0.3037, allocations: 42.59 kB / 427 MB, free: 39.46 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006809/0.3044, allocations: 0.532 MB / 427.6 MB, free: 39.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001682/0.3046, allocations: 0.7484 MB / 428.3 MB, free: 38.48 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.814e-05/0.3047, allocations: 25.41 kB / 428.3 MB, free: 38.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.921e-05/0.3047, allocations: 18.66 kB / 428.3 MB, free: 38.48 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3047, allocations: 0 / 428.3 MB, free: 38.48 MB / 350.1 MB Notification: Performance of Templates: time 0.006022/0.3108, allocations: 2.907 MB / 431.3 MB, free: 38.16 MB / 350.1 MB make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestLimTorque.makefile (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestLimTorque.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestLimTorque -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe 2>&1)