Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B") translateModel(OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_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 3.2.3+maint.om/package.mo): time 0.003067/0.003067, allocations: 180.7 kB / 7.454 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.297/1.297, allocations: 205.2 MB / 213.1 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009021/0.0009023, allocations: 87.08 kB / 261.1 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.0798/0.0798, allocations: 12.58 MB / 321.6 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3444/0.3444, allocations: 78.04 MB / 450.4 MB, free: 3.223 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.832e-06/6.852e-06, allocations: 0 / 0.5141 GB, free: 29.97 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1191, allocations: 69.32 MB / 0.5818 GB, free: 8.754 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3858/0.505, allocations: 116.3 MB / 0.6954 GB, free: 8.039 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002659/0.5053, allocations: 91.22 kB / 0.6955 GB, free: 7.988 MB / 442.7 MB Notification: Performance of FrontEnd: time 0.1958/0.7011, allocations: 66.53 MB / 0.7605 GB, free: 364 kB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003558/0.7015, allocations: 63.88 kB / 0.7606 GB, free: 300 kB / 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.009497/0.711, allocations: 2.949 MB / 0.7634 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.7111, allocations: 11.97 kB / 0.7635 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004807/0.7159, allocations: 0.7028 MB / 0.7641 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005239/0.7212, allocations: 1.78 MB / 0.7659 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008229/0.722, allocations: 0.7152 MB / 0.7666 GB, free: 9.871 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006005/0.7226, allocations: 95.91 kB / 0.7667 GB, free: 9.777 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003851/0.7265, allocations: 1.701 MB / 0.7683 GB, free: 8.074 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003539/0.73, allocations: 1.645 MB / 0.7699 GB, free: 6.383 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.816e-05/0.7301, allocations: 0 / 0.7699 GB, free: 6.383 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002211/0.7303, allocations: 0 / 0.7699 GB, free: 6.383 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.374e-05/0.7304, allocations: 36 kB / 0.77 GB, free: 6.348 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01573/0.7461, allocations: 7.174 MB / 0.777 GB, free: 14.98 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003492/0.7496, allocations: 1.924 MB / 0.7789 GB, free: 13.04 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001558/0.7512, allocations: 0.9653 MB / 0.7798 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001768/0.7514, allocations: 37.95 kB / 0.7798 GB, free: 12.03 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001921/0.7533, allocations: 1.181 MB / 0.781 GB, free: 10.83 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=182): time 4.459e-06/0.7533, allocations: 4 kB / 0.781 GB, free: 10.82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=182): time 0.01949/0.7728, allocations: 6.084 MB / 0.7869 GB, free: 4.715 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001759/0.7731, allocations: 253.3 kB / 0.7872 GB, free: 4.414 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004888/0.778, allocations: 1.823 MB / 0.789 GB, free: 2.574 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005402/0.7785, allocations: 29.77 kB / 0.789 GB, free: 2.539 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005508/0.7791, allocations: 0.5623 MB / 0.7895 GB, free: 1.965 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001452/0.7806, allocations: 0.6119 MB / 0.7901 GB, free: 1.344 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003409/0.7809, allocations: 0 / 0.7901 GB, free: 1.344 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002042/0.7811, allocations: 377.9 kB / 0.7905 GB, free: 0.9688 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001829/0.783, allocations: 0.871 MB / 0.7913 GB, free: 100 kB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00194/0.7849, allocations: 1.097 MB / 0.7924 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002003/0.7869, allocations: 0.9664 MB / 0.7934 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.656e-06/0.787, allocations: 0 / 0.7934 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.006635/0.7936, allocations: 2.978 MB / 0.7963 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004876/0.7941, allocations: 1.427 MB / 0.7977 GB, free: 9.438 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.7941, allocations: 4 kB / 0.7977 GB, free: 9.434 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009863/0.804, allocations: 2.946 MB / 0.8005 GB, free: 6.48 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001941/0.806, allocations: 307.6 kB / 0.8008 GB, free: 6.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008187/0.8142, allocations: 3.575 MB / 0.8043 GB, free: 2.578 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00455/0.8188, allocations: 410.2 kB / 0.8047 GB, free: 2.176 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000514/0.8193, allocations: 67.98 kB / 0.8048 GB, free: 2.109 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.8194, allocations: 4 kB / 0.8048 GB, free: 2.105 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006104/0.8255, allocations: 2.612 MB / 0.8073 GB, free: 15.49 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.008e-05/0.8255, allocations: 4 kB / 0.8073 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009956/0.8355, allocations: 2.86 MB / 0.8101 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001847/0.8374, allocations: 303.6 kB / 0.8104 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007673/0.8451, allocations: 3.336 MB / 0.8137 GB, free: 8.957 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004077/0.8492, allocations: 358.4 kB / 0.814 GB, free: 8.605 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004417/0.8496, allocations: 75.92 kB / 0.8141 GB, free: 8.531 MB / 0.5417 GB 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.0007367/0.8504, allocations: 124.7 kB / 0.8142 GB, free: 8.402 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00109/0.8515, allocations: 256.8 kB / 0.8145 GB, free: 8.148 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01987/0.8714, allocations: 6.16 MB / 0.8205 GB, free: 1.969 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.032e-05/0.8715, allocations: 20 kB / 0.8205 GB, free: 1.949 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.237e-05/0.8715, allocations: 0 / 0.8205 GB, free: 1.949 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.179e-05/0.8716, allocations: 11.95 kB / 0.8205 GB, free: 1.938 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02864/0.9002, allocations: 9.075 MB / 0.8294 GB, free: 8.758 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.251e-05/0.9003, allocations: 0 / 0.8294 GB, free: 8.758 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00212/0.9024, allocations: 267.7 kB / 0.8296 GB, free: 8.496 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007945/0.9104, allocations: 2.209 MB / 0.8318 GB, free: 6.273 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00071/0.9112, allocations: 31.97 kB / 0.8318 GB, free: 6.242 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02313/0.9343, allocations: 9.283 MB / 0.8409 GB, free: 12.72 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.564e-06/0.9344, allocations: 8 kB / 0.8409 GB, free: 12.71 MB / 0.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02362/0.958, allocations: 7.622 MB / 0.8483 GB, free: 5.035 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001332/0.9594, allocations: 401.3 kB / 0.8487 GB, free: 4.621 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001391/0.9608, allocations: 23.98 kB / 0.8487 GB, free: 4.598 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004051/0.9649, allocations: 319.7 kB / 0.849 GB, free: 4.285 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008636/0.9657, allocations: 185.7 kB / 0.8492 GB, free: 4.105 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004617/0.9662, allocations: 51.98 kB / 0.8493 GB, free: 4.055 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.003223/0.9695, allocations: 1.376 MB / 0.8506 GB, free: 2.668 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.00654/0.976, allocations: 0.9587 MB / 0.8515 GB, free: 1.707 MB / 0.573 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.001064/0.9771, allocations: 173.6 kB / 0.8517 GB, free: 1.531 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.2465/1.224, allocations: 5.45 MB / 0.857 GB, free: 228.6 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.263e-05/1.224, allocations: 7.938 kB / 0.857 GB, free: 228.6 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.006974/1.231, allocations: 2.27 MB / 0.8593 GB, free: 228.3 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002235/1.233, allocations: 219 kB / 0.8595 GB, free: 228.3 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009911/1.243, allocations: 4.126 MB / 0.8635 GB, free: 227.4 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001572/1.244, allocations: 1.822 MB / 0.8653 GB, free: 226.7 MB / 0.573 GB Notification: Performance of SimCode: time 6.31e-07/1.244, allocations: 0 / 0.8653 GB, free: 226.7 MB / 0.573 GB Notification: Performance of Templates: time 0.08726/1.332, allocations: 51.64 MB / 0.9157 GB, free: 209.4 MB / 0.573 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.pipe 2>&1)