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.001139/0.00114, allocations: 92 kB / 16.02 MB, free: 80 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.001173/0.001173, allocations: 185.9 kB / 16.92 MB, free: 6.922 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.375/1.375, allocations: 223.3 MB / 241 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1656/0.1656, allocations: 8.019 MB / 300.1 MB, free: 3.449 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003332/0.0003334, allocations: 15.94 kB / 363.1 MB, free: 13.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09825/0.0986, allocations: 52.18 MB / 415.2 MB, free: 9.754 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.SupportModels.MapBasedRelated.EffiPlot2): time 0.0005645/0.09921, allocations: 212.7 kB / 415.4 MB, free: 9.551 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003152/0.09955, allocations: 91.72 kB / 415.5 MB, free: 9.461 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.975e-05/0.09958, allocations: 0 / 415.5 MB, free: 9.461 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.037e-05/0.09964, allocations: 3.938 kB / 415.5 MB, free: 9.457 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.652e-05/0.09967, allocations: 4 kB / 415.5 MB, free: 9.453 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001876/0.09987, allocations: 15.97 kB / 415.6 MB, free: 9.438 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.725e-05/0.09997, allocations: 39.97 kB / 415.6 MB, free: 9.398 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.14e-05/0.1, allocations: 0 / 415.6 MB, free: 9.398 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.733e-05/0.1, allocations: 11.94 kB / 415.6 MB, free: 9.387 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.241e-05/0.1001, allocations: 23.97 kB / 415.6 MB, free: 9.363 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.1001, allocations: 4 kB / 415.6 MB, free: 9.359 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.1002, allocations: 31.97 kB / 415.7 MB, free: 9.328 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.648e-05/0.1003, allocations: 19.92 kB / 415.7 MB, free: 9.309 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.68e-05/0.1003, allocations: 41.64 kB / 415.7 MB, free: 9.262 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.974e-05/0.1004, allocations: 35.94 kB / 415.8 MB, free: 9.227 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1004, allocations: 3.938 kB / 415.8 MB, free: 9.223 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.046e-06/0.1005, allocations: 0 / 415.8 MB, free: 9.223 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.117e-06/0.1005, allocations: 3.938 kB / 415.8 MB, free: 9.219 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.0003028/0.1008, allocations: 343.7 kB / 416.1 MB, free: 8.832 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.1008, allocations: 12.03 kB / 416.1 MB, free: 8.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.574e-05/0.1009, allocations: 12.78 kB / 416.1 MB, free: 8.809 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.447e-05/0.101, allocations: 164.4 kB / 416.3 MB, free: 8.609 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.101, allocations: 4.359 kB / 416.3 MB, free: 8.605 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.616e-05/0.101, allocations: 8.375 kB / 416.3 MB, free: 8.598 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.1012, allocations: 95.86 kB / 416.4 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.1012, allocations: 192 / 416.4 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.1012, allocations: 7.938 kB / 416.4 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.863e-05/0.1012, allocations: 15.98 kB / 416.4 MB, free: 8.469 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.474e-05/0.1013, allocations: 43.97 kB / 416.5 MB, free: 8.426 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004345/0.1018, allocations: 400.8 kB / 416.9 MB, free: 7.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.89e-05/0.1019, allocations: 49.14 kB / 416.9 MB, free: 7.914 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.166e-05/0.1019, allocations: 29.89 kB / 416.9 MB, free: 7.879 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003538/0.1023, allocations: 202.2 kB / 417.1 MB, free: 7.645 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.1023, allocations: 38.5 kB / 417.2 MB, free: 7.598 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.453e-06/0.1023, allocations: 4 kB / 417.2 MB, free: 7.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002352/0.1026, allocations: 89.59 kB / 417.3 MB, free: 7.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.1026, allocations: 81.11 kB / 417.3 MB, free: 7.402 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.017e-05/0.1027, allocations: 117.8 kB / 417.5 MB, free: 7.277 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.1027, allocations: 29.7 kB / 417.5 MB, free: 7.242 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.764e-05/0.1028, allocations: 103.8 kB / 417.6 MB, free: 7.137 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.463e-05/0.1028, allocations: 27.56 kB / 417.6 MB, free: 7.109 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.019e-05/0.1028, allocations: 21.7 kB / 417.6 MB, free: 7.082 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.483e-05/0.1029, allocations: 322.8 kB / 417.9 MB, free: 6.758 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.36e-05/0.103, allocations: 23.97 kB / 418 MB, free: 6.734 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.412e-05/0.1031, allocations: 117.7 kB / 418.1 MB, free: 6.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001685/0.1033, allocations: 173.5 kB / 418.3 MB, free: 6.352 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.1033, allocations: 0 / 418.3 MB, free: 6.352 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002229/0.1035, allocations: 153.8 kB / 418.4 MB, free: 6.195 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.1035, allocations: 12.06 kB / 418.4 MB, free: 6.184 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.1035, allocations: 3.938 kB / 418.4 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.1036, allocations: 8 kB / 418.4 MB, free: 6.172 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002354/0.1059, allocations: 403.6 kB / 418.8 MB, free: 5.777 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001995/0.1079, allocations: 4.692 MB / 423.5 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.627e-05/0.108, allocations: 15.78 kB / 423.5 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.108, allocations: 12 kB / 423.5 MB, free: 0.8711 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 9.42e-05/0.1081, allocations: 129.8 kB / 423.7 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.238e-05/0.1082, allocations: 8.094 kB / 423.7 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002514/0.1084, allocations: 125.8 kB / 423.8 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.1085, allocations: 0 / 423.8 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.1085, allocations: 4.469 kB / 423.8 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1085, allocations: 7.875 kB / 423.8 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001998/0.1087, allocations: 173.6 kB / 424 MB, free: 368 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1087, allocations: 4 kB / 424 MB, free: 364 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.1838/0.2925, allocations: 386 kB / 424.4 MB, free: 42.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.295e-06/0.2925, allocations: 0 / 424.4 MB, free: 42.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.067e-05/0.2926, allocations: 2.312 kB / 424.4 MB, free: 42.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0013/0.2939, allocations: 4.679 MB / 429 MB, free: 37.79 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.2939, allocations: 3.266 kB / 429 MB, free: 37.79 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000151/0.294, allocations: 254.6 kB / 429.3 MB, free: 37.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.899e-05/0.2941, allocations: 83 kB / 429.4 MB, free: 37.49 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.2941, allocations: 3.938 kB / 429.4 MB, free: 37.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.867e-05/0.2942, allocations: 1.828 kB / 429.4 MB, free: 37.49 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.762e-05/0.2942, allocations: 6.562 kB / 429.4 MB, free: 37.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.2943, allocations: 5.953 kB / 429.4 MB, free: 37.49 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.079e-05/0.2943, allocations: 90.5 kB / 429.5 MB, free: 37.42 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2943, allocations: 0 / 429.5 MB, free: 37.42 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003326/0.2946, allocations: 23.03 kB / 429.5 MB, free: 37.42 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.0001417/0.2948, allocations: 112.4 kB / 429.6 MB, free: 37.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002752/0.2976, allocations: 0.506 MB / 430.1 MB, free: 37.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2976, allocations: 0 / 430.1 MB, free: 37.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002535/0.3001, allocations: 471.6 kB / 430.6 MB, free: 37.31 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002909/0.3004, allocations: 7.609 kB / 430.6 MB, free: 37.31 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005064/0.3009, allocations: 267.9 kB / 430.9 MB, free: 37.14 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001178/0.3011, allocations: 0.6932 MB / 431.5 MB, free: 36.45 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.421e-05/0.3011, allocations: 12.94 kB / 431.6 MB, free: 36.44 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3011, allocations: 0 / 431.6 MB, free: 36.44 MB / 350.1 MB Notification: Performance of Templates: time 0.004666/0.3058, allocations: 3.078 MB / 434.6 MB, free: 36.27 MB / 350.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)