Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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) 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) Running command: translateModel(OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B") translateModel(OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003855/0.003855, allocations: 182.9 kB / 7.455 MB, free: 2.18 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 221.4 MB / 229.3 MB, free: 3.055 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 104.4 kB / 280.1 MB, free: 1.281 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4141/0.4141, allocations: 78.06 MB / 408.9 MB, free: 15.56 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.304e-06/7.324e-06, allocations: 0 / 484.3 MB, free: 4.461 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2756/0.2756, allocations: 69.34 MB / 0.5407 GB, free: 21.48 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1247/0.4003, allocations: 114.8 MB / 0.6528 GB, free: 5.945 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002471/0.4006, allocations: 87.95 kB / 0.6529 GB, free: 5.859 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.3672/0.7678, allocations: 67.69 MB / 0.719 GB, free: 91.25 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002088/0.768, allocations: 59.88 kB / 0.719 GB, free: 91.19 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 375 * Number of variables: 375 Notification: Performance of Generate backend data structure: time 0.01251/0.7806, allocations: 2.953 MB / 0.7219 GB, free: 88.2 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/0.7806, allocations: 8.031 kB / 0.7219 GB, free: 88.19 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00634/0.787, allocations: 0.6989 MB / 0.7226 GB, free: 87.48 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005336/0.7923, allocations: 1.751 MB / 0.7243 GB, free: 85.71 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001027/0.7934, allocations: 0.7113 MB / 0.725 GB, free: 84.87 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005714/0.794, allocations: 103.9 kB / 0.7251 GB, free: 84.77 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005378/0.7994, allocations: 1.705 MB / 0.7268 GB, free: 83.06 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004771/0.8042, allocations: 1.641 MB / 0.7284 GB, free: 81.37 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.627e-05/0.8042, allocations: 3.984 kB / 0.7284 GB, free: 81.37 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003134/0.8046, allocations: 0 / 0.7284 GB, free: 81.37 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.329e-05/0.8046, allocations: 39.91 kB / 0.7284 GB, free: 81.33 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01929/0.8239, allocations: 7.157 MB / 0.7354 GB, free: 74.05 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003157/0.8271, allocations: 1.927 MB / 0.7373 GB, free: 72.12 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001292/0.8284, allocations: 0.9614 MB / 0.7382 GB, free: 71.15 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001826/0.8286, allocations: 45.95 kB / 0.7383 GB, free: 71.12 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001672/0.8303, allocations: 1.185 MB / 0.7394 GB, free: 69.91 MB / 490.7 MB Notification: Performance of pre-optimization done (n=182): time 3.236e-06/0.8303, allocations: 0 / 0.7394 GB, free: 69.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=182): time 0.01813/0.8484, allocations: 6.075 MB / 0.7454 GB, free: 63.83 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.513e-05/0.8485, allocations: 253.4 kB / 0.7456 GB, free: 63.53 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002343/0.8508, allocations: 1.825 MB / 0.7474 GB, free: 61.69 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002022/0.8511, allocations: 25.7 kB / 0.7474 GB, free: 61.66 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002578/0.8513, allocations: 0.5544 MB / 0.748 GB, free: 61.09 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007491/0.8521, allocations: 0.6175 MB / 0.7486 GB, free: 60.46 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001535/0.8522, allocations: 0 / 0.7486 GB, free: 60.46 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.487e-05/0.8523, allocations: 377.9 kB / 0.7489 GB, free: 60.09 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001406/0.8537, allocations: 0.8671 MB / 0.7498 GB, free: 59.22 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001527/0.8553, allocations: 1.104 MB / 0.7509 GB, free: 58.06 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001704/0.857, allocations: 0.9664 MB / 0.7518 GB, free: 57.09 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.451e-06/0.857, allocations: 0 / 0.7518 GB, free: 57.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=247) (initialization): time 0.005239/0.8623, allocations: 2.982 MB / 0.7547 GB, free: 54.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001809/0.8625, allocations: 1.417 MB / 0.7561 GB, free: 52.56 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.8625, allocations: 4 kB / 0.7561 GB, free: 52.56 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009967/0.8724, allocations: 2.936 MB / 0.759 GB, free: 49.62 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00154/0.874, allocations: 311.6 kB / 0.7593 GB, free: 49.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006653/0.8807, allocations: 3.58 MB / 0.7628 GB, free: 45.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003445/0.8841, allocations: 406.2 kB / 0.7631 GB, free: 45.31 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002108/0.8844, allocations: 71.97 kB / 0.7632 GB, free: 45.24 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.484e-06/0.8844, allocations: 8 kB / 0.7632 GB, free: 45.23 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004465/0.8888, allocations: 2.601 MB / 0.7658 GB, free: 42.63 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.8889, allocations: 4 kB / 0.7658 GB, free: 42.63 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00941/0.8983, allocations: 2.86 MB / 0.7686 GB, free: 39.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001514/0.8998, allocations: 303.6 kB / 0.7688 GB, free: 39.47 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006137/0.906, allocations: 3.344 MB / 0.7721 GB, free: 36.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00331/0.9093, allocations: 362.3 kB / 0.7725 GB, free: 35.74 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001968/0.9095, allocations: 67.98 kB / 0.7725 GB, free: 35.68 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (140): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {35 73} Notification: Performance of prepare postOptimizeDAE: time 0.0003941/0.9099, allocations: 124.7 kB / 0.7726 GB, free: 35.55 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004093/0.9103, allocations: 248.9 kB / 0.7729 GB, free: 35.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01736/0.9277, allocations: 6.159 MB / 0.7789 GB, free: 29.14 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.196e-05/0.9278, allocations: 16 kB / 0.7789 GB, free: 29.12 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.9278, allocations: 0 / 0.7789 GB, free: 29.12 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.603e-05/0.9278, allocations: 15.95 kB / 0.7789 GB, free: 29.11 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02178/0.9496, allocations: 9.079 MB / 0.7878 GB, free: 19.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-05/0.9496, allocations: 3.938 kB / 0.7878 GB, free: 19.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001863/0.9515, allocations: 271.7 kB / 0.7881 GB, free: 19.71 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007086/0.9586, allocations: 2.221 MB / 0.7902 GB, free: 17.48 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003748/0.959, allocations: 27.97 kB / 0.7903 GB, free: 17.46 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02017/0.9792, allocations: 9.277 MB / 0.7993 GB, free: 7.941 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.9792, allocations: 0 / 0.7993 GB, free: 7.941 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01991/0.9991, allocations: 7.618 MB / 0.8067 GB, free: 296 kB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009053/1, allocations: 401.6 kB / 0.8071 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006607/1.001, allocations: 12 kB / 0.8071 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003196/1.004, allocations: 319.7 kB / 0.8074 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004919/1.004, allocations: 185.7 kB / 0.8076 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001924/1.005, allocations: 51.98 kB / 0.8077 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.002125/1.007, allocations: 1.371 MB / 0.809 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00255/1.009, allocations: 0.9626 MB / 0.81 GB, free: 12.96 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 23 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,eSST1A.imDerivativeLag.x,eSST1A.imLeadLag.TF.x_scaled[1],eSST1A.imLeadLag1.TF.x_scaled[1],eSST1A.simpleLagLim.state,eSST1A.TransducerDelay.state,pSS2B.Leadlag1.TF.x_scaled[1],pSS2B.Leadlag2.TF.x_scaled[1],pSS2B.SimpleLag1.state,pSS2B.SimpleLag2.state,pSS2B.Leadlag3.TF.x_scaled[1],pSS2B.derivativeLag.TF.x_scaled[1],pSS2B.derivativeLag1.TF.x_scaled[1],pSS2B.derivativeLag2.TF.x_scaled[1],pSS2B.derivativeLag3.TF.x_scaled[1]) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (130): * Single equations (assignments): 128 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 9,26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004097/1.01, allocations: 180.1 kB / 0.8101 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01669/1.026, allocations: 5.447 MB / 0.8154 GB, free: 7.34 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.503e-06/1.027, allocations: 4 kB / 0.8154 GB, free: 7.336 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.006959/1.033, allocations: 2.274 MB / 0.8177 GB, free: 5.039 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001625/1.035, allocations: 218 kB / 0.8179 GB, free: 4.828 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01017/1.045, allocations: 4.116 MB / 0.8219 GB, free: 0.6523 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002139/1.047, allocations: 1.809 MB / 0.8237 GB, free: 14.81 MB / 0.5105 GB Notification: Performance of SimCode: time 6.41e-07/1.047, allocations: 0 / 0.8237 GB, free: 14.81 MB / 0.5105 GB Notification: Performance of Templates: time 0.08195/1.129, allocations: 51.58 MB / 0.874 GB, free: 11.39 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.pipe 2>&1)