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.007936/0.007936, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001343/0.001343, allocations: 193.8 kB / 16.67 MB, free: 5.969 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04288/0.04288, allocations: 8.326 MB / 298.8 MB, free: 6.496 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 59.91 kB / 413.5 MB, free: 21.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1229, allocations: 51.25 MB / 464.7 MB, free: 2.602 MB / 334.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.SupportModels.MapBasedRelated.EffiPlot2): time 0.001596/0.1245, allocations: 498.6 kB / 465.2 MB, free: 2.117 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003129/0.1248, allocations: 95.58 kB / 465.3 MB, free: 2.023 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.76e-05/0.1249, allocations: 4 kB / 465.3 MB, free: 2.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.887e-05/0.1249, allocations: 3.938 kB / 465.3 MB, free: 2.016 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.443e-05/0.125, allocations: 3.984 kB / 465.3 MB, free: 2.012 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002455/0.1252, allocations: 23.86 kB / 465.3 MB, free: 1.988 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000114/0.1254, allocations: 39.95 kB / 465.4 MB, free: 1.949 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.568e-05/0.1254, allocations: 4 kB / 465.4 MB, free: 1.945 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.577e-05/0.1254, allocations: 11.98 kB / 465.4 MB, free: 1.934 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.033e-05/0.1255, allocations: 15.94 kB / 465.4 MB, free: 1.918 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.1255, allocations: 4 kB / 465.4 MB, free: 1.914 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.1256, allocations: 31.97 kB / 465.5 MB, free: 1.883 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.125e-05/0.1257, allocations: 23.97 kB / 465.5 MB, free: 1.859 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.643e-05/0.1257, allocations: 11.88 kB / 465.5 MB, free: 1.848 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001313/0.1259, allocations: 55.81 kB / 465.5 MB, free: 1.793 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.1259, allocations: 4 kB / 465.5 MB, free: 1.789 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1259, allocations: 0 / 465.5 MB, free: 1.789 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.225e-05/0.1259, allocations: 0 / 465.5 MB, free: 1.789 MB / 334.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.0003371/0.1262, allocations: 355.2 kB / 465.9 MB, free: 1.391 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.1263, allocations: 8.031 kB / 465.9 MB, free: 1.383 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.523e-05/0.1263, allocations: 8.891 kB / 465.9 MB, free: 1.375 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.705e-05/0.1264, allocations: 180.2 kB / 466.1 MB, free: 1.16 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.1264, allocations: 4.375 kB / 466.1 MB, free: 1.156 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.374e-05/0.1265, allocations: 384 / 466.1 MB, free: 1.156 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/0.1267, allocations: 98.45 kB / 466.2 MB, free: 1.051 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.1267, allocations: 4.125 kB / 466.2 MB, free: 1.047 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.1267, allocations: 3.938 kB / 466.2 MB, free: 1.043 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.037e-05/0.1267, allocations: 11.98 kB / 466.2 MB, free: 1.031 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.425e-05/0.1268, allocations: 43.97 kB / 466.3 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004487/0.1273, allocations: 401 kB / 466.6 MB, free: 0.543 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.62e-05/0.1273, allocations: 49.42 kB / 466.7 MB, free: 488 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.325e-05/0.1274, allocations: 29.89 kB / 466.7 MB, free: 452 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003869/0.1278, allocations: 202.2 kB / 466.9 MB, free: 212 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/0.1278, allocations: 34.55 kB / 467 MB, free: 168 kB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.1278, allocations: 3.938 kB / 467 MB, free: 164 kB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002676/0.1281, allocations: 89.98 kB / 467 MB, free: 68 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.287e-05/0.1282, allocations: 89.16 kB / 467.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.1283, allocations: 117.8 kB / 467.2 MB, free: 15.83 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.1283, allocations: 25.7 kB / 467.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.15e-05/0.1284, allocations: 107.9 kB / 467.4 MB, free: 15.69 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.515e-05/0.1284, allocations: 27.75 kB / 467.4 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.111e-05/0.1285, allocations: 37.7 kB / 467.4 MB, free: 15.62 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.1286, allocations: 322.8 kB / 467.8 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.186e-05/0.1286, allocations: 23.98 kB / 467.8 MB, free: 15.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.1288, allocations: 117.7 kB / 467.9 MB, free: 15.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001835/0.1289, allocations: 173.4 kB / 468.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.129, allocations: 4 kB / 468.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002343/0.1292, allocations: 161.3 kB / 468.2 MB, free: 14.72 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.1292, allocations: 10.5 kB / 468.2 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.1292, allocations: 4.5 kB / 468.2 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/0.1293, allocations: 8 kB / 468.2 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002329/0.1316, allocations: 439.5 kB / 468.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002151/0.1338, allocations: 4.685 MB / 473.4 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.431e-05/0.1339, allocations: 23.66 kB / 473.4 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.1339, allocations: 12 kB / 473.4 MB, free: 9.371 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.0001149/0.134, allocations: 129.8 kB / 473.5 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.122e-05/0.134, allocations: 4 kB / 473.5 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002363/0.1343, allocations: 121.8 kB / 473.6 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.1343, allocations: 4 kB / 473.6 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.1343, allocations: 0 / 473.6 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.405e-06/0.1343, allocations: 7.922 kB / 473.7 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002034/0.1345, allocations: 169.7 kB / 473.8 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1345, allocations: 0 / 473.8 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002127/0.1367, allocations: 431.5 kB / 474.2 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.1367, allocations: 4 kB / 474.2 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.1367, allocations: 0 / 474.2 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002323/0.139, allocations: 4.681 MB / 478.9 MB, free: 3.574 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.139, allocations: 0 / 478.9 MB, free: 3.574 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002081/0.1393, allocations: 255.1 kB / 479.2 MB, free: 3.309 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.335e-05/0.1393, allocations: 85 kB / 479.3 MB, free: 3.207 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.1393, allocations: 4 kB / 479.3 MB, free: 3.203 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.583e-05/0.1394, allocations: 0 / 479.3 MB, free: 3.203 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.378e-05/0.1395, allocations: 15.92 kB / 479.3 MB, free: 3.188 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.1395, allocations: 7.938 kB / 479.3 MB, free: 3.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.528e-05/0.1395, allocations: 95.25 kB / 479.4 MB, free: 3.086 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1396, allocations: 4 kB / 479.4 MB, free: 3.082 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003446/0.1399, allocations: 16 kB / 479.4 MB, free: 3.066 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.0001877/0.1401, allocations: 111.6 kB / 479.5 MB, free: 2.949 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00279/0.1429, allocations: 0.5432 MB / 480.1 MB, free: 2.406 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.1429, allocations: 4.062 kB / 480.1 MB, free: 2.402 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002491/0.1454, allocations: 0.4956 MB / 480.6 MB, free: 1.906 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.1457, allocations: 8 kB / 480.6 MB, free: 1.898 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006023/0.1463, allocations: 226.2 kB / 480.8 MB, free: 1.645 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.1466, allocations: 0.6928 MB / 481.5 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.257e-05/0.1467, allocations: 16.53 kB / 481.5 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.88e-05/0.1467, allocations: 11.44 kB / 481.5 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1467, allocations: 7.875 kB / 481.5 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of Templates: time 0.004448/0.1512, allocations: 1.759 MB / 483.3 MB, free: 15.13 MB / 366.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)