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.001262/0.001262, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00128/0.00128, allocations: 189.8 kB / 16.14 MB, free: 6.707 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.24/1.24, allocations: 222.9 MB / 239.8 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1385/0.1385, allocations: 8.019 MB / 298 MB, free: 2.48 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001126/0.001126, allocations: 59.91 kB / 359.9 MB, free: 14.8 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09619/0.09733, allocations: 51.19 MB / 411.1 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.SupportModels.MapBasedRelated.EffiPlot2): time 0.001667/0.09903, allocations: 0.5427 MB / 411.7 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002694/0.09932, allocations: 103.5 kB / 411.8 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.765e-05/0.09934, allocations: 0 / 411.8 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.511e-05/0.0994, allocations: 0 / 411.8 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.625e-05/0.09943, allocations: 7.938 kB / 411.8 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001593/0.0996, allocations: 19.98 kB / 411.8 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.463e-05/0.09969, allocations: 35.97 kB / 411.8 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.169e-05/0.09973, allocations: 0 / 411.8 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.284e-05/0.09975, allocations: 19.97 kB / 411.9 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.954e-05/0.0998, allocations: 23.92 kB / 411.9 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.09982, allocations: 0 / 411.9 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.717e-05/0.09991, allocations: 27.97 kB / 411.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.004e-05/0.09994, allocations: 12 kB / 411.9 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.54e-05/0.09999, allocations: 27.84 kB / 411.9 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001091/0.1001, allocations: 51.88 kB / 412 MB, free: 10.71 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1001, allocations: 0 / 412 MB, free: 10.71 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.1001, allocations: 4 kB / 412 MB, free: 10.71 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.1001, allocations: 0 / 412 MB, free: 10.71 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.0003598/0.1005, allocations: 359.7 kB / 412.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.1005, allocations: 8.031 kB / 412.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.964e-05/0.1006, allocations: 12.78 kB / 412.4 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.763e-05/0.1007, allocations: 160.4 kB / 412.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.1007, allocations: 4.375 kB / 412.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.446e-05/0.1007, allocations: 384 / 412.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/0.1009, allocations: 107.1 kB / 412.6 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.1009, allocations: 192 / 412.6 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.101, allocations: 7.938 kB / 412.6 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.768e-05/0.101, allocations: 7.984 kB / 412.7 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.843e-05/0.1011, allocations: 47.95 kB / 412.7 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004428/0.1015, allocations: 400.8 kB / 413.1 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.446e-05/0.1016, allocations: 57.17 kB / 413.1 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.943e-05/0.1017, allocations: 21.72 kB / 413.2 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000356/0.102, allocations: 206.4 kB / 413.4 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.1021, allocations: 38.5 kB / 413.4 MB, free: 9.078 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.1021, allocations: 0 / 413.4 MB, free: 9.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002341/0.1023, allocations: 89.66 kB / 413.5 MB, free: 8.984 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.1024, allocations: 85.05 kB / 413.6 MB, free: 8.883 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.436e-05/0.1024, allocations: 113.8 kB / 413.7 MB, free: 8.762 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.1025, allocations: 33.69 kB / 413.7 MB, free: 8.723 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.763e-05/0.1025, allocations: 107.7 kB / 413.8 MB, free: 8.613 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.349e-05/0.1026, allocations: 31.55 kB / 413.9 MB, free: 8.582 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-05/0.1026, allocations: 33.72 kB / 413.9 MB, free: 8.543 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.1027, allocations: 322.8 kB / 414.2 MB, free: 8.219 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.062e-05/0.1028, allocations: 23.98 kB / 414.2 MB, free: 8.195 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.636e-05/0.1029, allocations: 117.7 kB / 414.3 MB, free: 8.031 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001883/0.1031, allocations: 169.5 kB / 414.5 MB, free: 7.816 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1031, allocations: 0 / 414.5 MB, free: 7.816 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002167/0.1033, allocations: 157.2 kB / 414.7 MB, free: 7.656 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.1033, allocations: 8 kB / 414.7 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.1033, allocations: 4 kB / 414.7 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.1033, allocations: 4 kB / 414.7 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002577/0.1059, allocations: 444 kB / 415.1 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002134/0.1081, allocations: 4.684 MB / 419.8 MB, free: 2.336 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.574e-05/0.1081, allocations: 23.72 kB / 419.8 MB, free: 2.312 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.1082, allocations: 12 kB / 419.8 MB, free: 2.301 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.0001014/0.1083, allocations: 130 kB / 420 MB, free: 2.164 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.444e-05/0.1083, allocations: 7.906 kB / 420 MB, free: 2.156 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002552/0.1086, allocations: 117.8 kB / 420.1 MB, free: 2.027 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.1086, allocations: 4 kB / 420.1 MB, free: 2.023 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1086, allocations: 0 / 420.1 MB, free: 2.023 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1086, allocations: 3.938 kB / 420.1 MB, free: 2.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000192/0.1088, allocations: 177.6 kB / 420.3 MB, free: 1.797 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1088, allocations: 0 / 420.3 MB, free: 1.797 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002388/0.1112, allocations: 427.5 kB / 420.7 MB, free: 1.379 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.1112, allocations: 0 / 420.7 MB, free: 1.379 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.1112, allocations: 3.984 kB / 420.7 MB, free: 1.375 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1632/0.2744, allocations: 4.679 MB / 425.4 MB, free: 41.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.2745, allocations: 2.438 kB / 425.4 MB, free: 41.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001813/0.2747, allocations: 252.7 kB / 425.6 MB, free: 41.56 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.109e-05/0.2747, allocations: 84.73 kB / 425.7 MB, free: 41.47 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.972e-05/0.2747, allocations: 0 / 425.7 MB, free: 41.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.2748, allocations: 4.75 kB / 425.7 MB, free: 41.47 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.459e-05/0.2749, allocations: 7.234 kB / 425.7 MB, free: 41.47 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.858e-06/0.2749, allocations: 4.016 kB / 425.7 MB, free: 41.47 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.571e-05/0.275, allocations: 93.69 kB / 425.8 MB, free: 41.39 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.275, allocations: 2.5 kB / 425.8 MB, free: 41.39 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004583/0.2754, allocations: 19.45 kB / 425.8 MB, free: 41.39 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.0001632/0.2756, allocations: 112 kB / 425.9 MB, free: 41.3 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003536/0.2792, allocations: 0.546 MB / 426.5 MB, free: 41.3 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2792, allocations: 1.312 kB / 426.5 MB, free: 41.3 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003162/0.2823, allocations: 0.4944 MB / 427 MB, free: 41.29 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003895/0.2827, allocations: 9.594 kB / 427 MB, free: 41.29 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006147/0.2834, allocations: 244.6 kB / 427.2 MB, free: 41.15 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001206/0.2835, allocations: 0.6908 MB / 427.9 MB, free: 40.45 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.808e-05/0.2836, allocations: 17.12 kB / 427.9 MB, free: 40.45 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.227e-05/0.2836, allocations: 10.59 kB / 427.9 MB, free: 40.44 MB / 350.1 MB Notification: Performance of SimCode: time 8.41e-07/0.2836, allocations: 0 / 427.9 MB, free: 40.44 MB / 350.1 MB Notification: Performance of Templates: time 0.004279/0.2879, allocations: 1.629 MB / 429.6 MB, free: 40.33 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)