Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.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.SupportModels.MapBasedRelated.EffiPlot2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2") translateModel(EHPTlib.SupportModels.MapBasedRelated.EffiPlot2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001104, allocations: 104 kB / 15.61 MB, free: 148 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.001832/0.001832, allocations: 196.5 kB / 16.54 MB, free: 6.684 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.373/1.373, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1549/0.1549, allocations: 8.024 MB / 298.4 MB, free: 2.316 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 63.91 kB / 360.6 MB, free: 14.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1138, allocations: 51.19 MB / 411.8 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.SupportModels.MapBasedRelated.EffiPlot2): time 0.002203/0.1161, allocations: 480.2 kB / 412.3 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003296/0.1165, allocations: 103.6 kB / 412.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.793e-05/0.1165, allocations: 0 / 412.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.356e-05/0.1166, allocations: 0 / 412.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.177e-05/0.1166, allocations: 0 / 412.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002541/0.1169, allocations: 27.91 kB / 412.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000104/0.117, allocations: 43.89 kB / 412.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.858e-05/0.1171, allocations: 3.938 kB / 412.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.795e-05/0.1171, allocations: 8 kB / 412.5 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.339e-05/0.1172, allocations: 19.98 kB / 412.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.2e-05/0.1172, allocations: 4 kB / 412.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001224/0.1173, allocations: 35.91 kB / 412.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.224e-05/0.1174, allocations: 19.92 kB / 412.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.005e-05/0.1174, allocations: 15.92 kB / 412.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.1175, allocations: 59.81 kB / 412.6 MB, free: 10.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1176, allocations: 0 / 412.6 MB, free: 10.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1176, allocations: 0 / 412.6 MB, free: 10.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.1176, allocations: 0 / 412.6 MB, free: 10.25 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0003736/0.118, allocations: 351.7 kB / 413 MB, free: 9.852 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.118, allocations: 12.03 kB / 413 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.047e-05/0.118, allocations: 8.844 kB / 413 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.1182, allocations: 164.4 kB / 413.1 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.1182, allocations: 8.375 kB / 413.2 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.1182, allocations: 4.375 kB / 413.2 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.1184, allocations: 99.84 kB / 413.3 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.1184, allocations: 4.188 kB / 413.3 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.1184, allocations: 3.938 kB / 413.3 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.244e-05/0.1185, allocations: 4 kB / 413.3 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.1186, allocations: 55.95 kB / 413.3 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004745/0.1191, allocations: 400.8 kB / 413.7 MB, free: 9 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.953e-05/0.1192, allocations: 45.23 kB / 413.8 MB, free: 8.938 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.329e-05/0.1192, allocations: 29.75 kB / 413.8 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004224/0.1196, allocations: 198.2 kB / 414 MB, free: 8.672 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.1197, allocations: 34.56 kB / 414 MB, free: 8.629 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/0.1197, allocations: 3.938 kB / 414 MB, free: 8.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002694/0.12, allocations: 97.59 kB / 414.1 MB, free: 8.523 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.12, allocations: 77.11 kB / 414.2 MB, free: 8.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.1201, allocations: 125.7 kB / 414.3 MB, free: 8.297 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.1201, allocations: 25.7 kB / 414.3 MB, free: 8.266 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.565e-05/0.1202, allocations: 99.8 kB / 414.4 MB, free: 8.164 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.803e-05/0.1203, allocations: 31.55 kB / 414.5 MB, free: 8.133 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.619e-05/0.1203, allocations: 37.7 kB / 414.5 MB, free: 8.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.1204, allocations: 318.8 kB / 414.8 MB, free: 7.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.331e-05/0.1205, allocations: 23.98 kB / 414.8 MB, free: 7.746 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.928e-05/0.1206, allocations: 121.7 kB / 415 MB, free: 7.578 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000199/0.1208, allocations: 169.5 kB / 415.1 MB, free: 7.363 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.231e-06/0.1208, allocations: 4 kB / 415.1 MB, free: 7.359 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002346/0.1211, allocations: 161.6 kB / 415.3 MB, free: 7.195 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.1211, allocations: 8 kB / 415.3 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.1211, allocations: 12.34 kB / 415.3 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.955e-05/0.1211, allocations: 4 kB / 415.3 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002616/0.1238, allocations: 435.6 kB / 415.7 MB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003333/0.1271, allocations: 4.685 MB / 420.4 MB, free: 1.875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.767e-05/0.1272, allocations: 19.78 kB / 420.4 MB, free: 1.855 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.165e-05/0.1273, allocations: 8 kB / 420.4 MB, free: 1.848 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 8 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 8 systems {1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001607/0.1274, allocations: 133.7 kB / 420.6 MB, free: 1.707 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.45e-05/0.1275, allocations: 11.89 kB / 420.6 MB, free: 1.695 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002682/0.1278, allocations: 125.9 kB / 420.7 MB, free: 1.559 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.1278, allocations: 0 / 420.7 MB, free: 1.559 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1278, allocations: 0 / 420.7 MB, free: 1.559 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.1278, allocations: 3.938 kB / 420.7 MB, free: 1.555 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002569/0.1281, allocations: 169.7 kB / 420.9 MB, free: 1.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1281, allocations: 4 kB / 420.9 MB, free: 1.336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002297/0.1304, allocations: 427.6 kB / 421.3 MB, free: 0.918 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.1304, allocations: 0 / 421.3 MB, free: 0.918 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/0.1304, allocations: 7.984 kB / 421.3 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002692/0.1331, allocations: 4.677 MB / 426 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1331, allocations: 288 / 426 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001864/0.1333, allocations: 258.6 kB / 426.2 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.049e-05/0.1334, allocations: 81.11 kB / 426.3 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.1334, allocations: 3.938 kB / 426.3 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.435e-05/0.1335, allocations: 0 / 426.3 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.354e-05/0.1335, allocations: 11.92 kB / 426.3 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.1335, allocations: 8 kB / 426.3 MB, free: 11.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.435e-05/0.1336, allocations: 95.25 kB / 426.4 MB, free: 11.56 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1336, allocations: 0 / 426.4 MB, free: 11.56 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000368/0.134, allocations: 24 kB / 426.5 MB, free: 11.54 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 8 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 8 systems {1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001631/0.1341, allocations: 103.7 kB / 426.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003013/0.1371, allocations: 0.5549 MB / 427.1 MB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.1372, allocations: 0 / 427.1 MB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002677/0.1399, allocations: 0.4956 MB / 427.6 MB, free: 10.38 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002976/0.1402, allocations: 6.188 kB / 427.6 MB, free: 10.38 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000611/0.1408, allocations: 242.2 kB / 427.8 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/0.1411, allocations: 0.6927 MB / 428.5 MB, free: 9.387 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.264e-05/0.1411, allocations: 16.53 kB / 428.6 MB, free: 9.367 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.669e-05/0.1411, allocations: 11.44 kB / 428.6 MB, free: 9.355 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1411, allocations: 4 kB / 428.6 MB, free: 9.352 MB / 366.1 MB Notification: Performance of Templates: time 0.004252/0.1454, allocations: 1.69 MB / 430.3 MB, free: 7.664 MB / 366.1 MB make -j1 -f EHPTlib_latest_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.makefile (rm -f EHPTlib_latest_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.pipe ; mkfifo EHPTlib_latest_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.pipe >> ../files/EHPTlib_latest_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.sim & ./EHPTlib_latest_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.pipe 2>&1)