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.006239/0.006239, allocations: 101.6 kB / 15.73 MB, free: 5.996 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.001353/0.001353, allocations: 190.3 kB / 16.67 MB, free: 5.93 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.47/1.47, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.2274/0.2274, allocations: 8.035 MB / 298.6 MB, free: 2.34 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 59.89 kB / 413 MB, free: 9.891 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3406, allocations: 51.2 MB / 464.3 MB, free: 18.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.SupportModels.MapBasedRelated.EffiPlot2): time 0.001712/0.3424, allocations: 483 kB / 464.7 MB, free: 18.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003437/0.3428, allocations: 91.7 kB / 464.8 MB, free: 17.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.29e-05/0.3428, allocations: 0 / 464.8 MB, free: 17.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.413e-05/0.3429, allocations: 8.766 kB / 464.8 MB, free: 17.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.537e-05/0.3429, allocations: 2.094 kB / 464.8 MB, free: 17.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002522/0.3432, allocations: 26.53 kB / 464.9 MB, free: 17.94 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001223/0.3433, allocations: 35.33 kB / 464.9 MB, free: 17.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.155e-05/0.3434, allocations: 7.047 kB / 464.9 MB, free: 17.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.073e-05/0.3434, allocations: 17.03 kB / 464.9 MB, free: 17.92 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.684e-05/0.3435, allocations: 17.14 kB / 464.9 MB, free: 17.92 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.008e-05/0.3435, allocations: 2.031 kB / 464.9 MB, free: 17.92 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001318/0.3436, allocations: 32.75 kB / 465 MB, free: 17.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.654e-05/0.3437, allocations: 15.02 kB / 465 MB, free: 17.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.187e-05/0.3437, allocations: 17.88 kB / 465 MB, free: 17.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001483/0.3439, allocations: 61.38 kB / 465.1 MB, free: 17.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3439, allocations: 0 / 465.1 MB, free: 17.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3439, allocations: 0 / 465.1 MB, free: 17.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.3439, allocations: 1.156 kB / 465.1 MB, free: 17.88 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.0003221/0.3442, allocations: 356.7 kB / 465.4 MB, free: 17.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.3443, allocations: 9.75 kB / 465.4 MB, free: 17.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.829e-05/0.3443, allocations: 11.61 kB / 465.4 MB, free: 17.49 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.632e-05/0.3444, allocations: 165.7 kB / 465.6 MB, free: 17.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.3444, allocations: 7.156 kB / 465.6 MB, free: 17.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.3444, allocations: 2.594 kB / 465.6 MB, free: 17.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002065/0.3447, allocations: 96.5 kB / 465.7 MB, free: 17.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.525e-06/0.3447, allocations: 192 / 465.7 MB, free: 17.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.3447, allocations: 17.17 kB / 465.7 MB, free: 17.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.838e-05/0.3447, allocations: 9.141 kB / 465.7 MB, free: 17.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001164/0.3449, allocations: 49.08 kB / 465.8 MB, free: 17.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004345/0.3453, allocations: 393.5 kB / 466.1 MB, free: 16.83 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.991e-05/0.3454, allocations: 51.92 kB / 466.2 MB, free: 16.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.578e-05/0.3454, allocations: 30.08 kB / 466.2 MB, free: 16.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003883/0.3458, allocations: 198.8 kB / 466.4 MB, free: 16.56 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.3459, allocations: 44.3 kB / 466.5 MB, free: 16.51 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.3459, allocations: 0 / 466.5 MB, free: 16.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002893/0.3462, allocations: 90 kB / 466.6 MB, free: 16.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.866e-05/0.3462, allocations: 82.3 kB / 466.6 MB, free: 16.37 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.3464, allocations: 118.6 kB / 466.7 MB, free: 16.26 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.3464, allocations: 25.7 kB / 466.8 MB, free: 16.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.962e-05/0.3464, allocations: 114 kB / 466.9 MB, free: 16.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.893e-05/0.3465, allocations: 29.67 kB / 466.9 MB, free: 16.1 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.944e-05/0.3465, allocations: 39.47 kB / 467 MB, free: 16.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.001e-05/0.3466, allocations: 317.7 kB / 467.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.057e-05/0.3467, allocations: 27.67 kB / 467.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.3468, allocations: 122.5 kB / 467.4 MB, free: 15.61 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000211/0.347, allocations: 169.1 kB / 467.6 MB, free: 15.44 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.347, allocations: 1.812 kB / 467.6 MB, free: 15.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002925/0.3473, allocations: 161.1 kB / 467.7 MB, free: 15.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/0.3473, allocations: 7.969 kB / 467.7 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.3474, allocations: 3.625 kB / 467.7 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.503e-05/0.3474, allocations: 4.875 kB / 467.7 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002665/0.3501, allocations: 436.4 kB / 468.2 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001363/0.3514, allocations: 4.684 MB / 472.9 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.841e-05/0.3515, allocations: 22.7 kB / 472.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.068e-05/0.3515, allocations: 13.33 kB / 472.9 MB, free: 10.58 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.0001021/0.3517, allocations: 127.7 kB / 473 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.944e-05/0.3517, allocations: 3.719 kB / 473 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002578/0.352, allocations: 125.5 kB / 473.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.352, allocations: 1.406 kB / 473.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.352, allocations: 0 / 473.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.352, allocations: 6.594 kB / 473.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002063/0.3522, allocations: 176.8 kB / 473.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.3522, allocations: 0 / 473.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002552/0.3548, allocations: 430.3 kB / 473.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.3548, allocations: 1.031 kB / 473.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.3548, allocations: 2.734 kB / 473.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001294/0.3561, allocations: 4.684 MB / 478.4 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/0.3561, allocations: 2.828 kB / 478.4 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001639/0.3563, allocations: 247.1 kB / 478.7 MB, free: 5.184 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.188e-05/0.3564, allocations: 88.19 kB / 478.8 MB, free: 5.082 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.3564, allocations: 2.047 kB / 478.8 MB, free: 5.082 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.109e-05/0.3565, allocations: 1.375 kB / 478.8 MB, free: 5.082 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.545e-05/0.3565, allocations: 18.47 kB / 478.8 MB, free: 5.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.3565, allocations: 3.594 kB / 478.8 MB, free: 5.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.227e-05/0.3566, allocations: 95.91 kB / 478.9 MB, free: 4.988 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3566, allocations: 3.938 kB / 478.9 MB, free: 4.984 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003544/0.3569, allocations: 21.86 kB / 478.9 MB, free: 4.977 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.0001577/0.3571, allocations: 114.1 kB / 479 MB, free: 4.879 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003193/0.3603, allocations: 0.5445 MB / 479.6 MB, free: 4.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.3603, allocations: 0 / 479.6 MB, free: 4.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002899/0.3632, allocations: 0.497 MB / 480.1 MB, free: 4.773 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003131/0.3635, allocations: 4.969 kB / 480.1 MB, free: 4.773 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006263/0.3642, allocations: 228.8 kB / 480.3 MB, free: 4.621 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001809/0.3644, allocations: 0.6904 MB / 481 MB, free: 3.926 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.894e-05/0.3644, allocations: 22.09 kB / 481 MB, free: 3.918 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.84e-05/0.3644, allocations: 11.31 kB / 481 MB, free: 3.91 MB / 350.1 MB Notification: Performance of SimCode: time 1.162e-06/0.3645, allocations: 7.938 kB / 481 MB, free: 3.902 MB / 350.1 MB Notification: Performance of Templates: time 0.005081/0.3695, allocations: 1.763 MB / 482.8 MB, free: 3.754 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)