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.00988/0.00988, allocations: 100.7 kB / 15.73 MB, free: 6.039 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.001197/0.001198, allocations: 188.9 kB / 16.67 MB, free: 5.973 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.538/1.538, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1652/0.1652, allocations: 8.016 MB / 298.6 MB, free: 2.434 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002147/0.002147, allocations: 59.91 kB / 413 MB, free: 9.844 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.3, allocations: 51.19 MB / 464.2 MB, free: 18.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.SupportModels.MapBasedRelated.EffiPlot2): time 0.001572/0.3016, allocations: 496.7 kB / 464.7 MB, free: 18.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002812/0.3019, allocations: 100.1 kB / 464.8 MB, free: 18.13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.88e-05/0.302, allocations: 0 / 464.8 MB, free: 18.13 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.798e-05/0.302, allocations: 0.6562 kB / 464.8 MB, free: 18.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.275e-05/0.3021, allocations: 1.859 kB / 464.8 MB, free: 18.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002306/0.3023, allocations: 22.78 kB / 464.8 MB, free: 18.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001067/0.3024, allocations: 36.27 kB / 464.9 MB, free: 18.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.818e-05/0.3025, allocations: 6.125 kB / 464.9 MB, free: 18.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.514e-05/0.3025, allocations: 14.28 kB / 464.9 MB, free: 18.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.839e-05/0.3026, allocations: 24 kB / 464.9 MB, free: 18.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.3026, allocations: 2.25 kB / 464.9 MB, free: 18.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001145/0.3027, allocations: 32.67 kB / 465 MB, free: 18.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.542e-05/0.3027, allocations: 14.17 kB / 465 MB, free: 18.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.941e-05/0.3028, allocations: 19.31 kB / 465 MB, free: 18.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001275/0.3029, allocations: 60.55 kB / 465.1 MB, free: 18.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3029, allocations: 1.219 kB / 465.1 MB, free: 18.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3029, allocations: 0 / 465.1 MB, free: 18.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.3029, allocations: 0 / 465.1 MB, free: 18.05 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.0003207/0.3033, allocations: 348.6 kB / 465.4 MB, free: 17.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.3033, allocations: 14.28 kB / 465.4 MB, free: 17.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.196e-05/0.3034, allocations: 2.219 kB / 465.4 MB, free: 17.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.388e-05/0.3034, allocations: 167 kB / 465.6 MB, free: 17.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.3035, allocations: 6.594 kB / 465.6 MB, free: 17.47 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.3035, allocations: 3.906 kB / 465.6 MB, free: 17.47 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002105/0.3037, allocations: 101.9 kB / 465.7 MB, free: 17.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.3037, allocations: 4.188 kB / 465.7 MB, free: 17.4 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.3037, allocations: 9.203 kB / 465.7 MB, free: 17.39 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.509e-05/0.3038, allocations: 12.94 kB / 465.7 MB, free: 17.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.3039, allocations: 48.53 kB / 465.8 MB, free: 17.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004353/0.3043, allocations: 397.8 kB / 466.1 MB, free: 17 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.965e-05/0.3044, allocations: 43.66 kB / 466.2 MB, free: 16.95 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.689e-05/0.3045, allocations: 30 kB / 466.2 MB, free: 16.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000374/0.3048, allocations: 202.6 kB / 466.4 MB, free: 16.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.3049, allocations: 36.78 kB / 466.5 MB, free: 16.69 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.253e-06/0.3049, allocations: 4 kB / 466.5 MB, free: 16.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002738/0.3052, allocations: 94.56 kB / 466.5 MB, free: 16.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.598e-05/0.3052, allocations: 78.27 kB / 466.6 MB, free: 16.55 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.579e-05/0.3053, allocations: 125.7 kB / 466.7 MB, free: 16.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.3053, allocations: 26.27 kB / 466.8 MB, free: 16.4 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.188e-05/0.3054, allocations: 101 kB / 466.9 MB, free: 16.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.498e-05/0.3054, allocations: 30.62 kB / 466.9 MB, free: 16.28 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.435e-05/0.3055, allocations: 34.62 kB / 466.9 MB, free: 16.26 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.278e-05/0.3056, allocations: 323.2 kB / 467.3 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.31e-05/0.3056, allocations: 26.67 kB / 467.3 MB, free: 15.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.3057, allocations: 131.2 kB / 467.4 MB, free: 15.78 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001715/0.3059, allocations: 165.7 kB / 467.6 MB, free: 15.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3059, allocations: 1.406 kB / 467.6 MB, free: 15.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002497/0.3062, allocations: 165.5 kB / 467.7 MB, free: 15.54 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.3062, allocations: 7.75 kB / 467.7 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.637e-06/0.3062, allocations: 3.25 kB / 467.7 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.3062, allocations: 6.094 kB / 467.7 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002675/0.3089, allocations: 431.6 kB / 468.2 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001354/0.3103, allocations: 4.689 MB / 472.9 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.716e-05/0.3104, allocations: 17.91 kB / 472.9 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.673e-05/0.3104, allocations: 8.188 kB / 472.9 MB, free: 10.77 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 9.222e-05/0.3105, allocations: 126.4 kB / 473 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.772e-05/0.3106, allocations: 11.19 kB / 473 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002489/0.3108, allocations: 121.4 kB / 473.1 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.3108, allocations: 1.188 kB / 473.1 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.3108, allocations: 1.219 kB / 473.1 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.3109, allocations: 4.594 kB / 473.1 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001986/0.3111, allocations: 173.5 kB / 473.3 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.3111, allocations: 0 / 473.3 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002339/0.3134, allocations: 427 kB / 473.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.3134, allocations: 1.781 kB / 473.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.3134, allocations: 2.125 kB / 473.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001277/0.3147, allocations: 4.684 MB / 478.4 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.3147, allocations: 0.7031 kB / 478.4 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001551/0.3149, allocations: 257 kB / 478.7 MB, free: 5.363 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.699e-05/0.3149, allocations: 83.91 kB / 478.7 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.027e-05/0.315, allocations: 5.953 kB / 478.8 MB, free: 5.262 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.731e-05/0.3151, allocations: 1.844 kB / 478.8 MB, free: 5.262 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.428e-05/0.3151, allocations: 9.688 kB / 478.8 MB, free: 5.258 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.3151, allocations: 11.55 kB / 478.8 MB, free: 5.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.631e-05/0.3151, allocations: 91.95 kB / 478.9 MB, free: 5.172 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3151, allocations: 0 / 478.9 MB, free: 5.172 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003436/0.3155, allocations: 18.58 kB / 478.9 MB, free: 5.168 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.0001495/0.3156, allocations: 123.9 kB / 479 MB, free: 5.062 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003223/0.3189, allocations: 0.5477 MB / 479.6 MB, free: 5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3189, allocations: 0 / 479.6 MB, free: 5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002863/0.3218, allocations: 0.4978 MB / 480.1 MB, free: 4.953 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002988/0.3221, allocations: 9.359 kB / 480.1 MB, free: 4.949 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006346/0.3227, allocations: 229.5 kB / 480.3 MB, free: 4.797 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001412/0.3229, allocations: 0.6907 MB / 481 MB, free: 4.102 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.906e-05/0.3229, allocations: 14.17 kB / 481 MB, free: 4.102 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.594e-05/0.323, allocations: 11.31 kB / 481 MB, free: 4.094 MB / 350.1 MB Notification: Performance of SimCode: time 6.42e-07/0.323, allocations: 0 / 481 MB, free: 4.094 MB / 350.1 MB Notification: Performance of Templates: time 0.005283/0.3283, allocations: 1.767 MB / 482.8 MB, free: 3.941 MB / 350.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)