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 main/package.mo", uses=false) Using package EHPTlib with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 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.001062/0.001062, allocations: 99.16 kB / 15.05 MB, free: 1.105 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.001187/0.001187, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 223.2 MB / 239.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.2007/0.2007, allocations: 8.606 MB / 299.6 MB, free: 3.273 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003341/0.0003342, allocations: 4 kB / 362.4 MB, free: 13.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1047, allocations: 52.32 MB / 414.7 MB, free: 9.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.SupportModels.MapBasedRelated.EffiPlot2): time 0.001226/0.106, allocations: 0.9182 MB / 415.7 MB, free: 8.254 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000228/0.1063, allocations: 75.83 kB / 415.7 MB, free: 8.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.626e-05/0.1063, allocations: 0 / 415.7 MB, free: 8.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.691e-05/0.1064, allocations: 15.86 kB / 415.7 MB, free: 8.164 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.07e-05/0.1064, allocations: 11.98 kB / 415.8 MB, free: 8.152 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001622/0.1066, allocations: 15.98 kB / 415.8 MB, free: 8.137 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.97e-05/0.1067, allocations: 23.97 kB / 415.8 MB, free: 8.113 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.727e-05/0.1067, allocations: 7.984 kB / 415.8 MB, free: 8.105 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.817e-05/0.1068, allocations: 19.92 kB / 415.8 MB, free: 8.086 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.012e-05/0.1068, allocations: 19.98 kB / 415.8 MB, free: 8.066 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.1068, allocations: 4 kB / 415.8 MB, free: 8.062 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.245e-05/0.1069, allocations: 23.97 kB / 415.9 MB, free: 8.039 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.085e-05/0.107, allocations: 15.94 kB / 415.9 MB, free: 8.023 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.172e-05/0.107, allocations: 29.7 kB / 415.9 MB, free: 7.988 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.871e-05/0.1071, allocations: 47.94 kB / 416 MB, free: 7.941 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1071, allocations: 0 / 416 MB, free: 7.941 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1071, allocations: 0 / 416 MB, free: 7.941 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.668e-06/0.1071, allocations: 0 / 416 MB, free: 7.941 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.0003115/0.1074, allocations: 349.9 kB / 416.3 MB, free: 7.555 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.1075, allocations: 12.02 kB / 416.3 MB, free: 7.543 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.243e-05/0.1075, allocations: 7.906 kB / 416.3 MB, free: 7.535 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.1076, allocations: 167 kB / 416.5 MB, free: 7.332 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.1077, allocations: 4 kB / 416.5 MB, free: 7.328 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.1077, allocations: 7.984 kB / 416.5 MB, free: 7.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.1079, allocations: 100.4 kB / 416.6 MB, free: 7.211 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.1079, allocations: 7.875 kB / 416.6 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.1079, allocations: 0 / 416.6 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.626e-05/0.1079, allocations: 11.95 kB / 416.6 MB, free: 7.191 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.566e-05/0.108, allocations: 43.97 kB / 416.7 MB, free: 7.148 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004506/0.1085, allocations: 404.9 kB / 417.1 MB, free: 6.699 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.086e-05/0.1085, allocations: 53.17 kB / 417.1 MB, free: 6.629 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003872/0.1089, allocations: 194.3 kB / 417.3 MB, free: 6.402 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.109, allocations: 38.56 kB / 417.3 MB, free: 6.355 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.273e-06/0.109, allocations: 0 / 417.3 MB, free: 6.355 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002363/0.1092, allocations: 97.48 kB / 417.4 MB, free: 6.254 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/0.1093, allocations: 77.11 kB / 417.5 MB, free: 6.16 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/SupportModels/MapBasedRelated/EffiPlot2.mo:9:3-10:35:writable] Warning: Parameter wMax has no value, and is fixed during initialization (fixed=true), using available start value (start=650.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/SupportModels/MapBasedRelated/EffiPlot2.mo:7:3-8:26:writable] Warning: Parameter powMax has no value, and is fixed during initialization (fixed=true), using available start value (start=22000.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/SupportModels/MapBasedRelated/EffiPlot2.mo:5:3-6:33:writable] Warning: Parameter tauMax has no value, and is fixed during initialization (fixed=true), using available start value (start=400.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.1094, allocations: 143.6 kB / 417.6 MB, free: 6.012 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.1095, allocations: 29.7 kB / 417.7 MB, free: 5.977 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.598e-05/0.1095, allocations: 111.7 kB / 417.8 MB, free: 5.863 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.298e-05/0.1096, allocations: 27.61 kB / 417.8 MB, free: 5.836 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.741e-06/0.1096, allocations: 4 kB / 417.8 MB, free: 5.832 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.1097, allocations: 318.8 kB / 418.1 MB, free: 5.512 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.121e-05/0.1097, allocations: 19.98 kB / 418.1 MB, free: 5.492 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.888e-05/0.1098, allocations: 123.2 kB / 418.3 MB, free: 5.324 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.522e-05/0.1099, allocations: 51.91 kB / 418.3 MB, free: 5.273 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.1099, allocations: 0 / 418.3 MB, free: 5.273 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002083/0.1101, allocations: 157.2 kB / 418.5 MB, free: 5.113 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.1102, allocations: 8 kB / 418.5 MB, free: 5.105 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.1102, allocations: 4 kB / 418.5 MB, free: 5.102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.1102, allocations: 4 kB / 418.5 MB, free: 5.098 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002332/0.1125, allocations: 420.1 kB / 418.9 MB, free: 4.688 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1906/0.3031, allocations: 4.673 MB / 423.6 MB, free: 41.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001212/0.3033, allocations: 15.55 kB / 423.6 MB, free: 41.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.819e-05/0.3033, allocations: 12.8 kB / 423.6 MB, free: 41.9 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 (linear and non-linear blocks): 8 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 8 {1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001024/0.3034, allocations: 125.1 kB / 423.7 MB, free: 41.79 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.399e-05/0.3035, allocations: 5.531 kB / 423.7 MB, free: 41.79 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002895/0.3038, allocations: 124.1 kB / 423.8 MB, free: 41.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.3038, allocations: 3.875 kB / 423.8 MB, free: 41.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.3038, allocations: 2.281 kB / 423.8 MB, free: 41.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.3038, allocations: 2.531 kB / 423.9 MB, free: 41.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002219/0.3041, allocations: 179.7 kB / 424 MB, free: 41.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.3041, allocations: 0.7812 kB / 424 MB, free: 41.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002229/0.3063, allocations: 392.5 kB / 424.4 MB, free: 41.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.3063, allocations: 0 / 424.4 MB, free: 41.56 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.3063, allocations: 4.953 kB / 424.4 MB, free: 41.56 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001305/0.3077, allocations: 4.679 MB / 429.1 MB, free: 36.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.3077, allocations: 0 / 429.1 MB, free: 36.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001609/0.3078, allocations: 269 kB / 429.4 MB, free: 36.69 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.971e-05/0.3079, allocations: 84.23 kB / 429.4 MB, free: 36.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.167e-05/0.3079, allocations: 8.016 kB / 429.4 MB, free: 36.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.636e-05/0.308, allocations: 1.906 kB / 429.4 MB, free: 36.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.46e-05/0.308, allocations: 8.703 kB / 429.5 MB, free: 36.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.308, allocations: 3.594 kB / 429.5 MB, free: 36.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.35e-05/0.3081, allocations: 94.86 kB / 429.6 MB, free: 36.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3081, allocations: 0 / 429.6 MB, free: 36.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003546/0.3085, allocations: 19.8 kB / 429.6 MB, free: 36.52 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 (linear and non-linear blocks): 8 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 8 {1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001551/0.3086, allocations: 107.9 kB / 429.7 MB, free: 36.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002731/0.3114, allocations: 0.5079 MB / 430.2 MB, free: 36.4 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.3114, allocations: 2.906 kB / 430.2 MB, free: 36.4 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002416/0.3138, allocations: 465.1 kB / 430.6 MB, free: 36.37 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001982/0.314, allocations: 15.03 kB / 430.7 MB, free: 36.37 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006389/0.3147, allocations: 267.3 kB / 430.9 MB, free: 36.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001587/0.3148, allocations: 0.6973 MB / 431.6 MB, free: 35.54 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.432e-05/0.3149, allocations: 16.75 kB / 431.6 MB, free: 35.53 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.967e-05/0.3149, allocations: 10.22 kB / 431.6 MB, free: 35.52 MB / 350.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3149, allocations: 0 / 431.6 MB, free: 35.52 MB / 350.1 MB Notification: Performance of Templates: time 0.00384/0.3188, allocations: 1.571 MB / 433.2 MB, free: 35.41 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)