Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_main_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_main_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2") translateModel(EHPTlib.SupportModels.MapBasedRelated.EffiPlot2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_main_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.0008574/0.0008575, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.005625/0.005625, allocations: 173.3 kB / 16.26 MB, free: 6.613 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.236/1.236, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1565/0.1565, allocations: 8.024 MB / 299.5 MB, free: 3.355 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002769/0.0002769, allocations: 8 kB / 362.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09487/0.09516, allocations: 52.18 MB / 414.6 MB, free: 9.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.SupportModels.MapBasedRelated.EffiPlot2): time 0.0004663/0.09565, allocations: 207 kB / 414.8 MB, free: 9.531 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002571/0.09592, allocations: 97.34 kB / 414.9 MB, free: 9.438 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.779e-05/0.09595, allocations: 0 / 414.9 MB, free: 9.438 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.377e-05/0.09599, allocations: 3.938 kB / 414.9 MB, free: 9.434 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.333e-05/0.09602, allocations: 8 kB / 414.9 MB, free: 9.426 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001352/0.09616, allocations: 11.98 kB / 414.9 MB, free: 9.414 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.348e-05/0.09625, allocations: 43.95 kB / 414.9 MB, free: 9.371 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.418e-05/0.09629, allocations: 0 / 414.9 MB, free: 9.371 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.152e-05/0.09632, allocations: 15.94 kB / 415 MB, free: 9.355 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.489e-05/0.09636, allocations: 15.98 kB / 415 MB, free: 9.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.09638, allocations: 0 / 415 MB, free: 9.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.783e-05/0.09647, allocations: 31.97 kB / 415 MB, free: 9.309 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.199e-05/0.09651, allocations: 23.91 kB / 415 MB, free: 9.285 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.932e-05/0.09655, allocations: 41.64 kB / 415.1 MB, free: 9.238 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.596e-05/0.09665, allocations: 55.81 kB / 415.1 MB, free: 9.184 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.09667, allocations: 4 kB / 415.1 MB, free: 9.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.09667, allocations: 3.938 kB / 415.1 MB, free: 9.176 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.975e-06/0.09668, allocations: 0 / 415.1 MB, free: 9.176 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.0002697/0.09695, allocations: 343.7 kB / 415.5 MB, free: 8.789 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.09699, allocations: 8.031 kB / 415.5 MB, free: 8.781 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.945e-05/0.09703, allocations: 8.844 kB / 415.5 MB, free: 8.773 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.174e-05/0.0971, allocations: 160.4 kB / 415.6 MB, free: 8.578 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.09712, allocations: 4.375 kB / 415.6 MB, free: 8.574 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.171e-05/0.09714, allocations: 4.375 kB / 415.7 MB, free: 8.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.0973, allocations: 103.8 kB / 415.8 MB, free: 8.457 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.09732, allocations: 192 / 415.8 MB, free: 8.457 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.09733, allocations: 11.94 kB / 415.8 MB, free: 8.445 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.233e-05/0.09736, allocations: 4 kB / 415.8 MB, free: 8.441 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.266e-05/0.09745, allocations: 47.95 kB / 415.8 MB, free: 8.395 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003767/0.09783, allocations: 400.8 kB / 416.2 MB, free: 7.949 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.257e-05/0.09791, allocations: 49.23 kB / 416.3 MB, free: 7.883 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.919e-05/0.09795, allocations: 29.8 kB / 416.3 MB, free: 7.848 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003135/0.09827, allocations: 198.2 kB / 416.5 MB, free: 7.617 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.0983, allocations: 42.5 kB / 416.5 MB, free: 7.566 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.09831, allocations: 0 / 416.5 MB, free: 7.566 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002057/0.09852, allocations: 89.59 kB / 416.6 MB, free: 7.473 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.09856, allocations: 81.05 kB / 416.7 MB, free: 7.375 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.567e-05/0.09864, allocations: 133.7 kB / 416.8 MB, free: 7.234 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.09866, allocations: 25.7 kB / 416.8 MB, free: 7.203 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.135e-05/0.09871, allocations: 103.8 kB / 416.9 MB, free: 7.098 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.085e-05/0.09874, allocations: 31.55 kB / 417 MB, free: 7.066 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.603e-05/0.09877, allocations: 17.72 kB / 417 MB, free: 7.043 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.161e-05/0.09885, allocations: 322.8 kB / 417.3 MB, free: 6.719 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.691e-05/0.09889, allocations: 23.98 kB / 417.3 MB, free: 6.695 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.205e-05/0.09898, allocations: 121.7 kB / 417.5 MB, free: 6.527 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.09913, allocations: 165.5 kB / 417.6 MB, free: 6.316 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.09914, allocations: 0 / 417.6 MB, free: 6.316 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002021/0.09935, allocations: 157.7 kB / 417.8 MB, free: 6.156 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.09937, allocations: 8 kB / 417.8 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.82e-06/0.09938, allocations: 4 kB / 417.8 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.09939, allocations: 4 kB / 417.8 MB, free: 6.141 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002257/0.1017, allocations: 412 kB / 418.2 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001783/0.1034, allocations: 4.685 MB / 422.9 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.992e-05/0.1035, allocations: 19.88 kB / 422.9 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.1035, allocations: 16 kB / 422.9 MB, free: 0.832 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 8.439e-05/0.1036, allocations: 125.8 kB / 423 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.141e-05/0.1037, allocations: 15.83 kB / 423 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002464/0.1039, allocations: 117.8 kB / 423.2 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.1039, allocations: 4 kB / 423.2 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.104, allocations: 0 / 423.2 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.104, allocations: 11.86 kB / 423.2 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001904/0.1042, allocations: 165.7 kB / 423.3 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1042, allocations: 0 / 423.3 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.1674/0.2716, allocations: 394.1 kB / 423.7 MB, free: 42.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.929e-06/0.2717, allocations: 0.9375 kB / 423.7 MB, free: 42.36 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.268e-05/0.2717, allocations: 3.906 kB / 423.7 MB, free: 42.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001257/0.2729, allocations: 4.679 MB / 428.4 MB, free: 37.7 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.273, allocations: 0 / 428.4 MB, free: 37.7 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000151/0.2731, allocations: 254.9 kB / 428.7 MB, free: 37.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.652e-05/0.2731, allocations: 80.12 kB / 428.7 MB, free: 37.4 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/0.2732, allocations: 5.578 kB / 428.7 MB, free: 37.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.543e-05/0.2733, allocations: 1.375 kB / 428.7 MB, free: 37.4 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.074e-05/0.2733, allocations: 6.219 kB / 428.7 MB, free: 37.4 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.2733, allocations: 7.984 kB / 428.8 MB, free: 37.4 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.646e-05/0.2733, allocations: 90.45 kB / 428.8 MB, free: 37.33 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2733, allocations: 0 / 428.8 MB, free: 37.33 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003326/0.2737, allocations: 23.12 kB / 428.9 MB, free: 37.33 MB / 350.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.0001356/0.2738, allocations: 112.6 kB / 429 MB, free: 37.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002715/0.2766, allocations: 0.5086 MB / 429.5 MB, free: 37.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2766, allocations: 0 / 429.5 MB, free: 37.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002489/0.2791, allocations: 472.6 kB / 429.9 MB, free: 37.21 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002769/0.2794, allocations: 7.812 kB / 429.9 MB, free: 37.21 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004645/0.2798, allocations: 242.5 kB / 430.2 MB, free: 37.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001043/0.2799, allocations: 0.6946 MB / 430.9 MB, free: 36.38 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.207e-05/0.28, allocations: 19.66 kB / 430.9 MB, free: 36.38 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.101e-05/0.28, allocations: 13.28 kB / 430.9 MB, free: 36.37 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.28, allocations: 0 / 430.9 MB, free: 36.37 MB / 350.1 MB Notification: Performance of Templates: time 0.003287/0.2833, allocations: 1.609 MB / 432.5 MB, free: 36.26 MB / 350.1 MB make -j1 -f EHPTlib_main_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.makefile (rm -f EHPTlib_main_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.pipe ; mkfifo EHPTlib_main_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.pipe ; head -c 1048576 < EHPTlib_main_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.pipe >> ../files/EHPTlib_main_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.sim & ./EHPTlib_main_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_main_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.pipe 2>&1)