Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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_latest_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2") translateModel(EHPTlib.SupportModels.MapBasedRelated.EffiPlot2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_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.001996/0.001997, allocations: 108.7 kB / 16.37 MB, free: 6.465 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.001979/0.001979, allocations: 193.1 kB / 17.31 MB, free: 5.816 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.351/1.351, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04133/0.04133, allocations: 8.044 MB / 299.2 MB, free: 6.832 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 59.89 kB / 362.1 MB, free: 7.914 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2156/0.2169, allocations: 51.2 MB / 413.3 MB, free: 26.03 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.SupportModels.MapBasedRelated.EffiPlot2): time 0.002309/0.2192, allocations: 489.6 kB / 413.7 MB, free: 25.55 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003219/0.2196, allocations: 91.64 kB / 413.8 MB, free: 25.46 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.261e-05/0.2196, allocations: 0 / 413.8 MB, free: 25.46 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.151e-05/0.2197, allocations: 3.984 kB / 413.8 MB, free: 25.46 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.463e-05/0.2198, allocations: 4 kB / 413.8 MB, free: 25.46 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000288/0.2201, allocations: 31.86 kB / 413.9 MB, free: 25.43 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001191/0.2202, allocations: 35.95 kB / 413.9 MB, free: 25.39 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.57e-05/0.2203, allocations: 4 kB / 413.9 MB, free: 25.39 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.968e-05/0.2203, allocations: 15.92 kB / 413.9 MB, free: 25.37 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.363e-05/0.2204, allocations: 16 kB / 413.9 MB, free: 25.36 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.2204, allocations: 3.984 kB / 413.9 MB, free: 25.35 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001433/0.2205, allocations: 27.97 kB / 414 MB, free: 25.32 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.391e-05/0.2206, allocations: 23.92 kB / 414 MB, free: 25.3 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.456e-05/0.2206, allocations: 15.88 kB / 414 MB, free: 25.29 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001434/0.2208, allocations: 55.88 kB / 414.1 MB, free: 25.23 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.2208, allocations: 3.984 kB / 414.1 MB, free: 25.23 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2208, allocations: 4 kB / 414.1 MB, free: 25.22 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.2208, allocations: 0 / 414.1 MB, free: 25.22 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.0003136/0.2212, allocations: 345.3 kB / 414.4 MB, free: 24.84 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.2212, allocations: 12.03 kB / 414.4 MB, free: 24.82 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.145e-05/0.2213, allocations: 0.9375 kB / 414.4 MB, free: 24.82 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.977e-05/0.2213, allocations: 172.2 kB / 414.6 MB, free: 24.62 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.2214, allocations: 384 / 414.6 MB, free: 24.62 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.664e-05/0.2214, allocations: 12.36 kB / 414.6 MB, free: 24.61 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002019/0.2216, allocations: 95.88 kB / 414.7 MB, free: 24.5 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.2216, allocations: 192 / 414.7 MB, free: 24.5 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.2216, allocations: 7.938 kB / 414.7 MB, free: 24.5 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.141e-05/0.2217, allocations: 11.98 kB / 414.7 MB, free: 24.48 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001158/0.2218, allocations: 47.91 kB / 414.8 MB, free: 24.44 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004401/0.2223, allocations: 400.8 kB / 415.2 MB, free: 23.99 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.422e-05/0.2223, allocations: 49.14 kB / 415.2 MB, free: 23.93 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.905e-05/0.2224, allocations: 37 kB / 415.2 MB, free: 23.89 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004127/0.2228, allocations: 202.1 kB / 415.4 MB, free: 23.65 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.2229, allocations: 38.56 kB / 415.5 MB, free: 23.61 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.533e-06/0.2229, allocations: 0 / 415.5 MB, free: 23.61 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003139/0.2232, allocations: 89.59 kB / 415.6 MB, free: 23.51 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.76e-05/0.2232, allocations: 77.11 kB / 415.6 MB, free: 23.42 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.424e-05/0.2233, allocations: 125.7 kB / 415.8 MB, free: 23.29 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.2233, allocations: 25.7 kB / 415.8 MB, free: 23.25 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.82e-05/0.2234, allocations: 103.8 kB / 415.9 MB, free: 23.15 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.113e-05/0.2234, allocations: 27.56 kB / 415.9 MB, free: 23.12 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.334e-05/0.2235, allocations: 37.7 kB / 416 MB, free: 23.08 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.246e-05/0.2236, allocations: 322.8 kB / 416.3 MB, free: 22.75 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.492e-05/0.2236, allocations: 19.98 kB / 416.3 MB, free: 22.73 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.909e-05/0.2237, allocations: 130.6 kB / 416.4 MB, free: 22.56 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000187/0.2239, allocations: 165.5 kB / 416.6 MB, free: 22.35 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.2239, allocations: 4 kB / 416.6 MB, free: 22.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003092/0.2243, allocations: 165.2 kB / 416.7 MB, free: 22.18 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.2243, allocations: 4 kB / 416.7 MB, free: 22.17 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.2243, allocations: 4 kB / 416.8 MB, free: 22.17 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/0.2243, allocations: 4.375 kB / 416.8 MB, free: 22.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002638/0.227, allocations: 444.2 kB / 417.2 MB, free: 21.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001494/0.2285, allocations: 4.681 MB / 421.9 MB, free: 16.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/0.2286, allocations: 19.78 kB / 421.9 MB, free: 16.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/0.2286, allocations: 8 kB / 421.9 MB, free: 16.84 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 8.578e-05/0.2287, allocations: 134 kB / 422 MB, free: 16.7 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.22e-05/0.2288, allocations: 3.906 kB / 422 MB, free: 16.69 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002829/0.2291, allocations: 125.8 kB / 422.2 MB, free: 16.56 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.2291, allocations: 0 / 422.2 MB, free: 16.56 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.371e-06/0.2291, allocations: 0 / 422.2 MB, free: 16.56 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.2291, allocations: 15.92 kB / 422.2 MB, free: 16.54 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000268/0.2294, allocations: 165.7 kB / 422.3 MB, free: 16.33 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.2294, allocations: 0 / 422.3 MB, free: 16.33 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003089/0.2325, allocations: 423.6 kB / 422.7 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.2326, allocations: 0 / 422.7 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.2326, allocations: 11.94 kB / 422.8 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001531/0.2341, allocations: 4.681 MB / 427.4 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.2341, allocations: 0 / 427.4 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000177/0.2343, allocations: 254.6 kB / 427.7 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.499e-05/0.2344, allocations: 89.23 kB / 427.8 MB, free: 10.67 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/0.2344, allocations: 4 kB / 427.8 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001406/0.2345, allocations: 0 / 427.8 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.786e-05/0.2346, allocations: 11.92 kB / 427.8 MB, free: 10.65 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.006e-06/0.2346, allocations: 4 kB / 427.8 MB, free: 10.65 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.47e-05/0.2347, allocations: 103.3 kB / 427.9 MB, free: 10.55 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2347, allocations: 0 / 427.9 MB, free: 10.55 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000587/0.2353, allocations: 20 kB / 427.9 MB, free: 10.53 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.000138/0.2354, allocations: 111.7 kB / 428 MB, free: 10.41 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.004401/0.2398, allocations: 0.5471 MB / 428.6 MB, free: 9.863 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.2399, allocations: 0 / 428.6 MB, free: 9.863 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00279/0.2427, allocations: 0.4956 MB / 429.1 MB, free: 9.367 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002921/0.243, allocations: 4 kB / 429.1 MB, free: 9.363 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004837/0.2435, allocations: 230.4 kB / 429.3 MB, free: 9.105 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001194/0.2436, allocations: 0.6927 MB / 430 MB, free: 8.387 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.109e-05/0.2436, allocations: 24.39 kB / 430 MB, free: 8.363 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.196e-05/0.2437, allocations: 11.44 kB / 430 MB, free: 8.352 MB / 302.1 MB Notification: Performance of SimCode: time 4.2e-07/0.2437, allocations: 0 / 430 MB, free: 8.352 MB / 302.1 MB Notification: Performance of Templates: time 0.004142/0.2478, allocations: 1.736 MB / 431.8 MB, free: 6.617 MB / 302.1 MB make -j1 -f EHPTlib_latest_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.makefile (rm -f EHPTlib_latest_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.pipe ; mkfifo EHPTlib_latest_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.pipe >> ../files/EHPTlib_latest_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.sim & ./EHPTlib_latest_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > EHPTlib_latest_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.pipe 2>&1)