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.000977/0.0009769, allocations: 108 kB / 15.58 MB, free: 184 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.001178/0.001179, allocations: 196.2 kB / 16.5 MB, free: 6.699 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.199/1.199, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1349/0.1349, allocations: 8.025 MB / 298.4 MB, free: 2.418 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001183, allocations: 60.14 kB / 360.6 MB, free: 14.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08883/0.09004, allocations: 51.19 MB / 411.7 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.SupportModels.MapBasedRelated.EffiPlot2): time 0.001655/0.09174, allocations: 493.4 kB / 412.2 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002641/0.09202, allocations: 87.62 kB / 412.3 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.457e-05/0.09206, allocations: 3.938 kB / 412.3 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.806e-05/0.09213, allocations: 0 / 412.3 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.847e-05/0.09216, allocations: 7.938 kB / 412.3 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002258/0.09239, allocations: 23.91 kB / 412.3 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.971e-05/0.0925, allocations: 35.98 kB / 412.4 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.214e-05/0.09255, allocations: 3.984 kB / 412.4 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.048e-05/0.09259, allocations: 19.98 kB / 412.4 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.645e-05/0.09263, allocations: 11.98 kB / 412.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.09265, allocations: 0 / 412.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.09276, allocations: 35.97 kB / 412.5 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.363e-05/0.0928, allocations: 15.94 kB / 412.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.07e-05/0.09284, allocations: 23.84 kB / 412.5 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001115/0.09296, allocations: 51.88 kB / 412.5 MB, free: 10.28 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.09297, allocations: 0 / 412.5 MB, free: 10.28 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.09298, allocations: 0 / 412.5 MB, free: 10.28 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.09299, allocations: 4 kB / 412.5 MB, free: 10.28 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.0003218/0.09332, allocations: 355.7 kB / 412.9 MB, free: 9.879 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.09335, allocations: 12.03 kB / 412.9 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.257e-05/0.09339, allocations: 8.828 kB / 412.9 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.963e-05/0.09348, allocations: 172.3 kB / 413.1 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.09349, allocations: 384 / 413.1 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.09351, allocations: 4.375 kB / 413.1 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.09367, allocations: 102 kB / 413.2 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.09369, allocations: 192 / 413.2 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.09371, allocations: 7.875 kB / 413.2 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.872e-05/0.09374, allocations: 11.94 kB / 413.2 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.507e-05/0.09383, allocations: 47.95 kB / 413.3 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003804/0.09422, allocations: 400.8 kB / 413.6 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.132e-05/0.0943, allocations: 53.17 kB / 413.7 MB, free: 8.957 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.521e-05/0.09434, allocations: 21.72 kB / 413.7 MB, free: 8.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000353/0.0947, allocations: 202.4 kB / 413.9 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.09473, allocations: 38.5 kB / 414 MB, free: 8.648 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.09474, allocations: 0 / 414 MB, free: 8.648 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002258/0.09497, allocations: 89.59 kB / 414 MB, free: 8.555 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.09501, allocations: 77.11 kB / 414.1 MB, free: 8.461 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.628e-05/0.0951, allocations: 129.7 kB / 414.2 MB, free: 8.324 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.09512, allocations: 29.64 kB / 414.3 MB, free: 8.289 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.524e-05/0.09517, allocations: 107.8 kB / 414.4 MB, free: 8.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.017e-05/0.0952, allocations: 31.55 kB / 414.4 MB, free: 8.148 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.293e-05/0.09524, allocations: 29.72 kB / 414.4 MB, free: 8.113 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.92e-05/0.09534, allocations: 326.8 kB / 414.8 MB, free: 7.785 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.932e-05/0.09538, allocations: 19.98 kB / 414.8 MB, free: 7.766 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.665e-05/0.09548, allocations: 121.7 kB / 414.9 MB, free: 7.598 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.09564, allocations: 165.5 kB / 415.1 MB, free: 7.387 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.09565, allocations: 4 kB / 415.1 MB, free: 7.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002195/0.09587, allocations: 157.3 kB / 415.2 MB, free: 7.223 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.09589, allocations: 4 kB / 415.2 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.0959, allocations: 7.984 kB / 415.2 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.09592, allocations: 4 kB / 415.2 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002376/0.0983, allocations: 444 kB / 415.7 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001841/0.1002, allocations: 4.681 MB / 420.3 MB, free: 1.906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.117e-05/0.1002, allocations: 15.78 kB / 420.4 MB, free: 1.891 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.1002, allocations: 12 kB / 420.4 MB, free: 1.879 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 8.817e-05/0.1003, allocations: 137.9 kB / 420.5 MB, free: 1.734 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.128e-05/0.1004, allocations: 3.906 kB / 420.5 MB, free: 1.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00022/0.1006, allocations: 122.2 kB / 420.6 MB, free: 1.598 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1006, allocations: 0 / 420.6 MB, free: 1.598 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.1006, allocations: 4 kB / 420.6 MB, free: 1.594 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.1006, allocations: 7.938 kB / 420.6 MB, free: 1.586 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001918/0.1008, allocations: 177.7 kB / 420.8 MB, free: 1.363 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.1008, allocations: 7.922 kB / 420.8 MB, free: 1.355 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002291/0.1031, allocations: 419.6 kB / 421.2 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.1032, allocations: 0 / 421.2 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.1032, allocations: 7.938 kB / 421.2 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001794/0.105, allocations: 4.681 MB / 425.9 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.105, allocations: 0 / 425.9 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001587/0.1051, allocations: 254.7 kB / 426.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.176e-05/0.1052, allocations: 81.11 kB / 426.2 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.1052, allocations: 96 / 426.2 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.263e-05/0.1053, allocations: 8 kB / 426.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.922e-05/0.1053, allocations: 7.938 kB / 426.3 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.1053, allocations: 7.984 kB / 426.3 MB, free: 11.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.21e-05/0.1054, allocations: 87.28 kB / 426.4 MB, free: 11.6 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1054, allocations: 7.938 kB / 426.4 MB, free: 11.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000303/0.1057, allocations: 19.98 kB / 426.4 MB, free: 11.57 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.0001287/0.1058, allocations: 115.6 kB / 426.5 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00291/0.1087, allocations: 0.5472 MB / 427 MB, free: 10.9 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1088, allocations: 0 / 427 MB, free: 10.9 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002688/0.1115, allocations: 0.4917 MB / 427.5 MB, free: 10.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.1117, allocations: 11.98 kB / 427.5 MB, free: 10.4 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004781/0.1122, allocations: 237.5 kB / 427.8 MB, free: 10.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002075/0.1125, allocations: 0.6927 MB / 428.5 MB, free: 9.418 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.179e-05/0.1125, allocations: 16.55 kB / 428.5 MB, free: 9.398 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.334e-05/0.1125, allocations: 11.44 kB / 428.5 MB, free: 9.387 MB / 366.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1125, allocations: 0 / 428.5 MB, free: 9.387 MB / 366.1 MB Notification: Performance of Templates: time 0.003711/0.1162, allocations: 1.691 MB / 430.2 MB, free: 7.695 MB / 366.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 -lv LOG_STATS > EHPTlib_main_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.pipe 2>&1)