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/package.mo", uses=false) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4/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.00144/0.001441, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 197.8 kB / 16.54 MB, free: 6.672 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.452/1.452, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4/package.mo): time 0.1518/0.1518, allocations: 8.026 MB / 298.4 MB, free: 2.387 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 63.89 kB / 360.6 MB, free: 14.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1221, allocations: 51.19 MB / 411.8 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.SupportModels.MapBasedRelated.EffiPlot2): time 0.001974/0.1241, allocations: 483.1 kB / 412.3 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000354/0.1245, allocations: 87.64 kB / 412.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.496e-05/0.1245, allocations: 0 / 412.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.672e-05/0.1246, allocations: 11.94 kB / 412.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.264e-05/0.1247, allocations: 3.984 kB / 412.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002629/0.1249, allocations: 23.92 kB / 412.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.1251, allocations: 35.97 kB / 412.4 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.114e-05/0.1251, allocations: 3.984 kB / 412.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.904e-05/0.1252, allocations: 15.94 kB / 412.5 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.538e-05/0.1252, allocations: 15.98 kB / 412.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.164e-05/0.1252, allocations: 4 kB / 412.5 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001314/0.1254, allocations: 31.97 kB / 412.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.119e-05/0.1254, allocations: 19.91 kB / 412.5 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.532e-05/0.1255, allocations: 15.94 kB / 412.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001436/0.1256, allocations: 59.81 kB / 412.6 MB, free: 10.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1256, allocations: 0 / 412.6 MB, free: 10.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1257, allocations: 0 / 412.6 MB, free: 10.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.1257, allocations: 0 / 412.6 MB, free: 10.23 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.0004247/0.1261, allocations: 355.7 kB / 413 MB, free: 9.828 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.1261, allocations: 8.031 kB / 413 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.165e-05/0.1262, allocations: 4.844 kB / 413 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.1263, allocations: 172.3 kB / 413.1 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.1263, allocations: 384 / 413.1 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.482e-05/0.1264, allocations: 12.38 kB / 413.2 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002145/0.1266, allocations: 91.92 kB / 413.2 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.1266, allocations: 4.125 kB / 413.2 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/0.1266, allocations: 11.92 kB / 413.3 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.03e-05/0.1267, allocations: 11.98 kB / 413.3 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.668e-05/0.1268, allocations: 51.89 kB / 413.3 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005807/0.1273, allocations: 396.8 kB / 413.7 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.963e-05/0.1274, allocations: 53.08 kB / 413.8 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.651e-05/0.1275, allocations: 25.89 kB / 413.8 MB, free: 8.875 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004104/0.1279, allocations: 198.3 kB / 414 MB, free: 8.645 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/0.128, allocations: 42.55 kB / 414 MB, free: 8.594 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.128, allocations: 3.938 kB / 414 MB, free: 8.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002665/0.1282, allocations: 82 kB / 414.1 MB, free: 8.504 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.469e-05/0.1283, allocations: 88.97 kB / 414.2 MB, free: 8.398 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.1284, allocations: 125.8 kB / 414.3 MB, free: 8.266 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.1285, allocations: 25.7 kB / 414.3 MB, free: 8.234 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.333e-05/0.1285, allocations: 107.8 kB / 414.4 MB, free: 8.125 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.466e-05/0.1286, allocations: 27.56 kB / 414.5 MB, free: 8.098 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-05/0.1286, allocations: 33.7 kB / 414.5 MB, free: 8.059 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.1288, allocations: 318.8 kB / 414.8 MB, free: 7.738 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.309e-05/0.1288, allocations: 23.97 kB / 414.8 MB, free: 7.715 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.129, allocations: 119.8 kB / 415 MB, free: 7.551 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002019/0.1292, allocations: 173.5 kB / 415.1 MB, free: 7.332 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1292, allocations: 0 / 415.1 MB, free: 7.332 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002663/0.1294, allocations: 161.2 kB / 415.3 MB, free: 7.168 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.1295, allocations: 4 kB / 415.3 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.1295, allocations: 4.047 kB / 415.3 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.1295, allocations: 12.48 kB / 415.3 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002499/0.132, allocations: 439.5 kB / 415.7 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002777/0.1348, allocations: 4.677 MB / 420.4 MB, free: 1.855 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.765e-05/0.1349, allocations: 20.06 kB / 420.4 MB, free: 1.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.1349, allocations: 12 kB / 420.4 MB, free: 1.824 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.0001365/0.1351, allocations: 133.7 kB / 420.6 MB, free: 1.684 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.531e-05/0.1351, allocations: 3.906 kB / 420.6 MB, free: 1.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002764/0.1354, allocations: 121.8 kB / 420.7 MB, free: 1.547 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.1354, allocations: 4 kB / 420.7 MB, free: 1.543 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/0.1354, allocations: 8 kB / 420.7 MB, free: 1.535 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.1354, allocations: 3.938 kB / 420.7 MB, free: 1.531 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002484/0.1357, allocations: 173.6 kB / 420.9 MB, free: 1.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.1357, allocations: 0 / 420.9 MB, free: 1.312 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002352/0.1381, allocations: 431.5 kB / 421.3 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.1381, allocations: 4 kB / 421.3 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.1381, allocations: 4 kB / 421.3 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002505/0.1406, allocations: 4.677 MB / 426 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.1406, allocations: 0 / 426 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002174/0.1408, allocations: 254.9 kB / 426.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.774e-05/0.1409, allocations: 81.11 kB / 426.3 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.1409, allocations: 3.938 kB / 426.3 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.09e-05/0.141, allocations: 4 kB / 426.3 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.477e-05/0.141, allocations: 19.8 kB / 426.3 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-06/0.1411, allocations: 0 / 426.3 MB, free: 11.63 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.944e-05/0.1411, allocations: 95.27 kB / 426.4 MB, free: 11.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1411, allocations: 0 / 426.4 MB, free: 11.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003597/0.1415, allocations: 20 kB / 426.5 MB, free: 11.52 MB / 366.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.0001678/0.1417, allocations: 115.7 kB / 426.6 MB, free: 11.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003004/0.1447, allocations: 0.5432 MB / 427.1 MB, free: 10.85 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.1447, allocations: 0 / 427.1 MB, free: 10.85 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002844/0.1475, allocations: 0.4996 MB / 427.6 MB, free: 10.35 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003103/0.1479, allocations: 8 kB / 427.6 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006017/0.1485, allocations: 238.2 kB / 427.8 MB, free: 10.08 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/0.1488, allocations: 0.6927 MB / 428.5 MB, free: 9.359 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.31e-05/0.1489, allocations: 20.53 kB / 428.6 MB, free: 9.336 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.538e-05/0.1489, allocations: 7.438 kB / 428.6 MB, free: 9.328 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1489, allocations: 0 / 428.6 MB, free: 9.328 MB / 366.1 MB Notification: Performance of Templates: time 0.004686/0.1536, allocations: 1.698 MB / 430.3 MB, free: 7.633 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)