Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_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_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2") translateModel(EHPTlib.SupportModels.MapBasedRelated.EffiPlot2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_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.01236/0.01236, allocations: 103 kB / 15.88 MB, free: 6.328 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.002393/0.002394, allocations: 198.5 kB / 16.79 MB, free: 6.254 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.756/1.756, allocations: 222.9 MB / 240.5 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.2728/0.2728, allocations: 8.019 MB / 298.6 MB, free: 2.41 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001752/0.001753, allocations: 71.89 kB / 360.6 MB, free: 14.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1957/0.1975, allocations: 51.19 MB / 411.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.SupportModels.MapBasedRelated.EffiPlot2): time 0.002627/0.2002, allocations: 0.5427 MB / 412.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005103/0.2007, allocations: 95.66 kB / 412.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.589e-05/0.2008, allocations: 3.938 kB / 412.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.895e-05/0.2009, allocations: 3.984 kB / 412.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.637e-05/0.201, allocations: 0 / 412.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002977/0.2013, allocations: 19.97 kB / 412.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001434/0.2014, allocations: 35.97 kB / 412.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.246e-05/0.2015, allocations: 4 kB / 412.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.537e-05/0.2015, allocations: 16 kB / 412.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.436e-05/0.2016, allocations: 15.97 kB / 412.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.995e-05/0.2016, allocations: 4 kB / 412.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001473/0.2018, allocations: 31.97 kB / 412.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.588e-05/0.2019, allocations: 23.86 kB / 412.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.839e-05/0.2019, allocations: 15.88 kB / 412.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001355/0.2021, allocations: 39.94 kB / 412.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.2021, allocations: 0 / 412.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2021, allocations: 3.938 kB / 412.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.2021, allocations: 0 / 412.6 MB, free: 10.67 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.0005926/0.2027, allocations: 355.7 kB / 413 MB, free: 10.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.331e-05/0.2028, allocations: 12.03 kB / 413 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.936e-05/0.2028, allocations: 4.844 kB / 413 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001697/0.203, allocations: 168.4 kB / 413.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.203, allocations: 384 / 413.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/0.2031, allocations: 8.359 kB / 413.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003176/0.2034, allocations: 98.27 kB / 413.3 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.2034, allocations: 192 / 413.3 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.2034, allocations: 7.938 kB / 413.3 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.246e-05/0.2035, allocations: 11.98 kB / 413.3 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001107/0.2036, allocations: 43.97 kB / 413.3 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006832/0.2043, allocations: 404.8 kB / 413.7 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002492/0.2045, allocations: 53.12 kB / 413.8 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.581e-05/0.2046, allocations: 33.89 kB / 413.8 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005443/0.2052, allocations: 198.1 kB / 414 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.256e-05/0.2052, allocations: 38.56 kB / 414.1 MB, free: 9.043 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.332e-06/0.2052, allocations: 0 / 414.1 MB, free: 9.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003385/0.2056, allocations: 93.59 kB / 414.1 MB, free: 8.945 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001645/0.2058, allocations: 77.11 kB / 414.2 MB, free: 8.852 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.2059, allocations: 117.8 kB / 414.3 MB, free: 8.727 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.2059, allocations: 29.64 kB / 414.4 MB, free: 8.691 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001766/0.2061, allocations: 107.8 kB / 414.5 MB, free: 8.582 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.535e-05/0.2062, allocations: 31.62 kB / 414.5 MB, free: 8.551 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.469e-05/0.2062, allocations: 37.7 kB / 414.5 MB, free: 8.508 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0003223/0.2066, allocations: 326.8 kB / 414.9 MB, free: 8.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000126/0.2067, allocations: 19.98 kB / 414.9 MB, free: 8.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001484/0.2069, allocations: 125.7 kB / 415 MB, free: 7.988 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002576/0.2071, allocations: 161.5 kB / 415.2 MB, free: 7.781 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.2071, allocations: 4 kB / 415.2 MB, free: 7.777 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002893/0.2074, allocations: 157.6 kB / 415.3 MB, free: 7.617 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.2075, allocations: 4 kB / 415.3 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/0.2075, allocations: 4 kB / 415.3 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.502e-05/0.2075, allocations: 7.938 kB / 415.3 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002703/0.2102, allocations: 439.8 kB / 415.8 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004073/0.2143, allocations: 4.685 MB / 420.4 MB, free: 2.301 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.48e-05/0.2144, allocations: 15.78 kB / 420.5 MB, free: 2.285 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.661e-05/0.2145, allocations: 12 kB / 420.5 MB, free: 2.273 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.0001856/0.2147, allocations: 133.7 kB / 420.6 MB, free: 2.133 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.301e-05/0.2147, allocations: 7.844 kB / 420.6 MB, free: 2.125 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003237/0.2151, allocations: 126 kB / 420.7 MB, free: 1.988 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.2151, allocations: 3.984 kB / 420.7 MB, free: 1.984 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.2151, allocations: 0 / 420.7 MB, free: 1.984 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.356e-05/0.2151, allocations: 7.938 kB / 420.7 MB, free: 1.977 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003228/0.2154, allocations: 165.7 kB / 420.9 MB, free: 1.766 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.2155, allocations: 0 / 420.9 MB, free: 1.766 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002509/0.218, allocations: 427.6 kB / 421.3 MB, free: 1.348 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.179e-06/0.218, allocations: 0 / 421.3 MB, free: 1.348 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.218, allocations: 4 kB / 421.3 MB, free: 1.344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003494/0.2215, allocations: 4.685 MB / 426 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.2215, allocations: 0 / 426 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003406/0.2219, allocations: 258.6 kB / 426.3 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.041e-05/0.222, allocations: 81.11 kB / 426.3 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.626e-05/0.222, allocations: 3.984 kB / 426.3 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.35e-05/0.2221, allocations: 0 / 426.3 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.2222, allocations: 16.5 kB / 426.4 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.2222, allocations: 4 kB / 426.4 MB, free: 12.08 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.855e-05/0.2223, allocations: 95.2 kB / 426.5 MB, free: 11.99 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2223, allocations: 4 kB / 426.5 MB, free: 11.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003988/0.2227, allocations: 12 kB / 426.5 MB, free: 11.97 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.000279/0.223, allocations: 115.2 kB / 426.6 MB, free: 11.85 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003269/0.2262, allocations: 0.5393 MB / 427.1 MB, free: 11.31 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.2263, allocations: 0 / 427.1 MB, free: 11.31 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002939/0.2292, allocations: 0.4957 MB / 427.6 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000368/0.2296, allocations: 8 kB / 427.6 MB, free: 10.81 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008499/0.2304, allocations: 275.7 kB / 427.9 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005194/0.231, allocations: 0.6928 MB / 428.6 MB, free: 9.781 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.993e-05/0.231, allocations: 11.44 kB / 428.6 MB, free: 9.77 MB / 366.1 MB Notification: Performance of SimCode: time 1.373e-06/0.231, allocations: 0 / 428.6 MB, free: 9.77 MB / 366.1 MB Notification: Performance of Templates: time 0.007531/0.2386, allocations: 3.086 MB / 431.7 MB, free: 6.68 MB / 366.1 MB make -j1 -f EHPTlib_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.makefile (rm -f EHPTlib_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.pipe ; mkfifo EHPTlib_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.pipe ; head -c 1048576 < EHPTlib_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.pipe >> ../files/EHPTlib_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.sim & ./EHPTlib_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.pipe 2>&1)