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.000959/0.0009591, allocations: 101.1 kB / 16.23 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.00103/0.00103, allocations: 187.6 kB / 17.16 MB, free: 5.938 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.322/1.322, allocations: 222.9 MB / 240.8 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04171/0.04171, allocations: 8.604 MB / 299.6 MB, free: 6.309 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001208, allocations: 63.89 kB / 361.9 MB, free: 7.945 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2314, allocations: 51.32 MB / 413.2 MB, free: 25.4 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.SupportModels.MapBasedRelated.EffiPlot2): time 0.001912/0.2334, allocations: 489.6 kB / 413.7 MB, free: 24.93 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002635/0.2336, allocations: 87.66 kB / 413.8 MB, free: 24.85 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.316e-05/0.2337, allocations: 0 / 413.8 MB, free: 24.85 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.648e-05/0.2338, allocations: 0 / 413.8 MB, free: 24.85 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.122e-05/0.2338, allocations: 11.98 kB / 413.8 MB, free: 24.84 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002363/0.2341, allocations: 27.84 kB / 413.8 MB, free: 24.81 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.849e-05/0.2341, allocations: 35.97 kB / 413.9 MB, free: 24.77 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.073e-05/0.2342, allocations: 0 / 413.9 MB, free: 24.77 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.645e-05/0.2342, allocations: 15.94 kB / 413.9 MB, free: 24.76 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.874e-05/0.2343, allocations: 23.97 kB / 413.9 MB, free: 24.73 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.2343, allocations: 0 / 413.9 MB, free: 24.73 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.2344, allocations: 31.97 kB / 413.9 MB, free: 24.7 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.593e-05/0.2345, allocations: 19.92 kB / 414 MB, free: 24.68 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.515e-05/0.2345, allocations: 11.94 kB / 414 MB, free: 24.67 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000114/0.2346, allocations: 55.81 kB / 414 MB, free: 24.62 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.2346, allocations: 4 kB / 414 MB, free: 24.61 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2346, allocations: 0 / 414 MB, free: 24.61 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.2347, allocations: 0 / 414 MB, free: 24.61 MB / 302.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.0003256/0.235, allocations: 357.4 kB / 414.4 MB, free: 24.21 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.235, allocations: 12.03 kB / 414.4 MB, free: 24.2 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.332e-05/0.2351, allocations: 0.9375 kB / 414.4 MB, free: 24.2 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.858e-05/0.2352, allocations: 172.3 kB / 414.6 MB, free: 24 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.2352, allocations: 384 / 414.6 MB, free: 24 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.2352, allocations: 4.375 kB / 414.6 MB, free: 23.99 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/0.2354, allocations: 99.92 kB / 414.7 MB, free: 23.88 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.2354, allocations: 192 / 414.7 MB, free: 23.88 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.2354, allocations: 3.938 kB / 414.7 MB, free: 23.88 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.455e-05/0.2355, allocations: 15.98 kB / 414.7 MB, free: 23.86 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.339e-05/0.2356, allocations: 43.91 kB / 414.7 MB, free: 23.82 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003876/0.236, allocations: 404.8 kB / 415.1 MB, free: 23.37 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.273e-05/0.236, allocations: 53.02 kB / 415.2 MB, free: 23.3 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.021e-05/0.2361, allocations: 33.05 kB / 415.2 MB, free: 23.27 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004057/0.2365, allocations: 194.2 kB / 415.4 MB, free: 23.04 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.832e-05/0.2365, allocations: 38.55 kB / 415.4 MB, free: 22.99 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.313e-06/0.2365, allocations: 0 / 415.4 MB, free: 22.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002461/0.2368, allocations: 89.61 kB / 415.5 MB, free: 22.9 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.846e-05/0.2368, allocations: 81.09 kB / 415.6 MB, free: 22.8 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.372e-05/0.2369, allocations: 121.7 kB / 415.7 MB, free: 22.67 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.007e-06/0.2369, allocations: 33.7 kB / 415.8 MB, free: 22.63 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.499e-05/0.2369, allocations: 107.9 kB / 415.9 MB, free: 22.52 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.481e-05/0.237, allocations: 27.56 kB / 415.9 MB, free: 22.5 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.052e-05/0.237, allocations: 33.7 kB / 415.9 MB, free: 22.46 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.372e-05/0.2371, allocations: 322.8 kB / 416.2 MB, free: 22.13 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.837e-05/0.2371, allocations: 27.91 kB / 416.3 MB, free: 22.11 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.389e-05/0.2372, allocations: 123.8 kB / 416.4 MB, free: 21.94 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/0.2373, allocations: 169.5 kB / 416.5 MB, free: 21.72 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.2373, allocations: 4 kB / 416.6 MB, free: 21.72 MB / 302.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001945/0.2375, allocations: 161.2 kB / 416.7 MB, free: 21.55 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.2375, allocations: 4 kB / 416.7 MB, free: 21.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.2376, allocations: 4 kB / 416.7 MB, free: 21.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.2376, allocations: 8 kB / 416.7 MB, free: 21.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002507/0.2401, allocations: 448 kB / 417.2 MB, free: 21.1 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001197/0.2413, allocations: 4.673 MB / 421.8 MB, free: 16.24 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.134e-05/0.2414, allocations: 23.81 kB / 421.9 MB, free: 16.22 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.2414, allocations: 8 kB / 421.9 MB, free: 16.21 MB / 302.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 7.111e-05/0.2415, allocations: 130 kB / 422 MB, free: 16.07 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.157e-05/0.2415, allocations: 7.906 kB / 422 MB, free: 16.07 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001996/0.2417, allocations: 126.1 kB / 422.1 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.2417, allocations: 0 / 422.1 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.2417, allocations: 4 kB / 422.1 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.2418, allocations: 7.938 kB / 422.1 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/0.2419, allocations: 169.7 kB / 422.3 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.2419, allocations: 0 / 422.3 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002254/0.2442, allocations: 419.6 kB / 422.7 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.2442, allocations: 0 / 422.7 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.2442, allocations: 8 kB / 422.7 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001166/0.2454, allocations: 4.681 MB / 427.4 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.2454, allocations: 3.938 kB / 427.4 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001352/0.2456, allocations: 250.9 kB / 427.6 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.537e-05/0.2456, allocations: 89.05 kB / 427.7 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/0.2456, allocations: 4 kB / 427.7 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.027e-05/0.2457, allocations: 0 / 427.7 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.802e-05/0.2457, allocations: 15.86 kB / 427.8 MB, free: 10.03 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.2457, allocations: 4 kB / 427.8 MB, free: 10.03 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.179e-05/0.2458, allocations: 91.27 kB / 427.8 MB, free: 9.938 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2458, allocations: 3.938 kB / 427.9 MB, free: 9.934 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00032/0.2461, allocations: 24 kB / 427.9 MB, free: 9.91 MB / 302.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.0001344/0.2462, allocations: 115.6 kB / 428 MB, free: 9.789 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00296/0.2492, allocations: 0.5433 MB / 428.5 MB, free: 9.246 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.2492, allocations: 0 / 428.5 MB, free: 9.246 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002664/0.2519, allocations: 0.4956 MB / 429 MB, free: 8.75 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002968/0.2522, allocations: 12 kB / 429 MB, free: 8.738 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005165/0.2527, allocations: 225.5 kB / 429.3 MB, free: 8.488 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001371/0.2529, allocations: 0.7006 MB / 430 MB, free: 7.762 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.375e-05/0.2529, allocations: 20.39 kB / 430 MB, free: 7.742 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.594e-05/0.253, allocations: 11.44 kB / 430 MB, free: 7.73 MB / 302.1 MB Notification: Performance of SimCode: time 9.72e-07/0.253, allocations: 3.938 kB / 430 MB, free: 7.727 MB / 302.1 MB Notification: Performance of Templates: time 0.003727/0.2567, allocations: 1.697 MB / 431.7 MB, free: 6.031 MB / 302.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 -s cvode -lv LOG_STATS > EHPTlib_main_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.pipe 2>&1)