Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.PSS.IEEEST.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.IEEEST,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.PSS.IEEEST") translateModel(OpenIPSL.Tests.Controls.PSSE.PSS.IEEEST,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.PSS.IEEEST") [: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.003631/0.003631, allocations: 183.1 kB / 7.455 MB, free: 2.512 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.418/1.418, 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.0009924/0.0009921, allocations: 100.2 kB / 261.1 MB, free: 13.55 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.07342/0.07343, allocations: 12.59 MB / 321.6 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2827/0.2827, allocations: 78.05 MB / 450.4 MB, free: 3.219 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.12e-06/5.15e-06, allocations: 0 / 0.5141 GB, free: 29.98 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.113, allocations: 69.31 MB / 0.5818 GB, free: 8.766 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4338/0.5468, allocations: 116.6 MB / 0.6957 GB, free: 7.762 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002595/0.5472, allocations: 94.73 kB / 0.6958 GB, free: 7.707 MB / 442.7 MB Notification: Performance of FrontEnd: time 0.1766/0.7237, allocations: 57.78 MB / 0.7522 GB, free: 8.113 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002886/0.7241, allocations: 59.88 kB / 0.7523 GB, free: 8.055 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: 368 * Number of variables: 368 Notification: Performance of Generate backend data structure: time 0.01546/0.7395, allocations: 2.879 MB / 0.7551 GB, free: 5.316 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.417e-05/0.7396, allocations: 11.97 kB / 0.7551 GB, free: 5.305 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00789/0.7475, allocations: 0.6853 MB / 0.7558 GB, free: 4.66 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006792/0.7544, allocations: 1.691 MB / 0.7574 GB, free: 3.328 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001092/0.7555, allocations: 0.525 MB / 0.7579 GB, free: 2.715 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007004/0.7562, allocations: 106.9 kB / 0.758 GB, free: 2.613 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006008/0.7622, allocations: 1.7 MB / 0.7597 GB, free: 0.9844 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005218/0.7675, allocations: 1.63 MB / 0.7613 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.21e-05/0.7676, allocations: 12 kB / 0.7613 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002802/0.7679, allocations: 3.984 kB / 0.7613 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.364e-05/0.7679, allocations: 39.94 kB / 0.7613 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02597/0.7939, allocations: 6.876 MB / 0.7681 GB, free: 8.191 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004627/0.7986, allocations: 1.366 MB / 0.7694 GB, free: 6.801 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002757/0.8014, allocations: 0.9926 MB / 0.7704 GB, free: 5.801 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002503/0.8017, allocations: 37.95 kB / 0.7704 GB, free: 5.766 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003242/0.8049, allocations: 1.204 MB / 0.7716 GB, free: 4.539 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=183): time 4.889e-06/0.8049, allocations: 4 kB / 0.7716 GB, free: 4.535 MB / 0.4948 GB Notification: Performance of matching and sorting (n=183): time 0.03169/0.8366, allocations: 6.052 MB / 0.7775 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001504/0.8368, allocations: 201.9 kB / 0.7777 GB, free: 14.23 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005745/0.8426, allocations: 1.781 MB / 0.7794 GB, free: 12.42 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000921/0.8436, allocations: 29.77 kB / 0.7795 GB, free: 12.39 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007393/0.8443, allocations: 0.5338 MB / 0.78 GB, free: 11.84 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001457/0.8458, allocations: 0.6351 MB / 0.7806 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002072/0.846, allocations: 0 / 0.7806 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002397/0.8463, allocations: 402.8 kB / 0.781 GB, free: 10.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002033/0.8483, allocations: 1.051 MB / 0.782 GB, free: 9.742 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002243/0.8506, allocations: 1.299 MB / 0.7833 GB, free: 8.383 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002264/0.8528, allocations: 1.161 MB / 0.7844 GB, free: 7.203 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.034e-05/0.8529, allocations: 4 kB / 0.7844 GB, free: 7.199 MB / 0.5105 GB Notification: Performance of matching and sorting (n=309) (initialization): time 0.006473/0.8593, allocations: 3.336 MB / 0.7877 GB, free: 3.82 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005553/0.8599, allocations: 1.384 MB / 0.789 GB, free: 2.285 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.8599, allocations: 4 kB / 0.789 GB, free: 2.281 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009702/0.8696, allocations: 2.792 MB / 0.7917 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00299/0.8727, allocations: 479.3 kB / 0.7922 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007155/0.8798, allocations: 3.297 MB / 0.7954 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004548/0.8844, allocations: 462 kB / 0.7959 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004164/0.8849, allocations: 87.97 kB / 0.796 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.8849, allocations: 4 kB / 0.796 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00606/0.8909, allocations: 3.029 MB / 0.7989 GB, free: 8.074 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/0.891, allocations: 8 kB / 0.7989 GB, free: 8.066 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009429/0.9004, allocations: 2.717 MB / 0.8016 GB, free: 5.344 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003211/0.9037, allocations: 475.4 kB / 0.802 GB, free: 4.879 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006767/0.9105, allocations: 3.077 MB / 0.805 GB, free: 1.777 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004471/0.915, allocations: 386.2 kB / 0.8054 GB, free: 1.398 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005357/0.9156, allocations: 83.97 kB / 0.8055 GB, free: 1.316 MB / 0.5261 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: eSST1A.VA0:VARIABLE(fixed = false protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,iEEEST.and1.y,iEEEST.booleanConstant.k,iEEEST.bypass_filter2,iEEEST.booleanConstant1.k,iEEEST.bypass_filter1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (215): * Single equations (assignments): 214 * 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 {34 61} Notification: Performance of prepare postOptimizeDAE: time 0.0006101/0.9162, allocations: 144.6 kB / 0.8056 GB, free: 1.168 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009505/0.9171, allocations: 237 kB / 0.8058 GB, free: 0.9336 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01966/0.9368, allocations: 6.272 MB / 0.812 GB, free: 10.63 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.422e-05/0.9369, allocations: 16 kB / 0.812 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/0.9369, allocations: 7.906 kB / 0.812 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.734e-05/0.937, allocations: 11.97 kB / 0.812 GB, free: 10.6 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02516/0.9621, allocations: 8.823 MB / 0.8206 GB, free: 1.676 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.61e-05/0.9622, allocations: 0 / 0.8206 GB, free: 1.676 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001972/0.9642, allocations: 251.7 kB / 0.8209 GB, free: 1.43 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007731/0.9719, allocations: 2.213 MB / 0.823 GB, free: 15.21 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006418/0.9726, allocations: 31.97 kB / 0.8231 GB, free: 15.18 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02198/0.9946, allocations: 9.271 MB / 0.8321 GB, free: 5.664 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.9946, allocations: 0 / 0.8321 GB, free: 5.664 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02161/1.016, allocations: 7.629 MB / 0.8396 GB, free: 13.98 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001085/1.017, allocations: 385.6 kB / 0.8399 GB, free: 13.58 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009056/1.018, allocations: 12 kB / 0.8399 GB, free: 13.57 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0032/1.022, allocations: 287.7 kB / 0.8402 GB, free: 13.29 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006377/1.022, allocations: 185.7 kB / 0.8404 GB, free: 13.11 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001809/1.022, allocations: 51.98 kB / 0.8404 GB, free: 13.05 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.002241/1.025, allocations: 1.305 MB / 0.8417 GB, free: 11.73 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.003975/1.029, allocations: 1.01 MB / 0.8427 GB, free: 10.72 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 27 (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,iEEEST.Filter1_1.x_scaled[1],iEEEST.Filter1_1.x_scaled[2],iEEEST.T_1_T_2.TF.x_scaled[1],iEEEST.T_3_T_4.TF.x_scaled[1],iEEEST.imDerivativeLag.x,iEEEST.Filter2_1.x_scaled[1],iEEEST.Filter2_1.x_scaled[2],iEEEST.Filter2_1.x_scaled[3],iEEEST.Filter1_2.x_scaled[1],iEEEST.Filter1_2.x_scaled[2],iEEEST.Filter2_2.x_scaled[1],iEEEST.Filter2_2.x_scaled[2],iEEEST.Filter2_2.x_scaled[3]) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (131): * Single equations (assignments): 129 * 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.0005185/1.029, allocations: 177.5 kB / 0.8429 GB, free: 10.54 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01767/1.047, allocations: 6.001 MB / 0.8487 GB, free: 4.547 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.315e-06/1.047, allocations: 4.062 kB / 0.8487 GB, free: 4.543 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.007138/1.054, allocations: 2.304 MB / 0.851 GB, free: 2.211 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001968/1.056, allocations: 214.2 kB / 0.8512 GB, free: 2 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2338/1.29, allocations: 4.234 MB / 0.8553 GB, free: 229.3 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001586/1.291, allocations: 1.795 MB / 0.8571 GB, free: 228.6 MB / 0.573 GB Notification: Performance of SimCode: time 1.412e-06/1.291, allocations: 0 / 0.8571 GB, free: 228.6 MB / 0.573 GB Notification: Performance of Templates: time 0.08/1.371, allocations: 50.88 MB / 0.9068 GB, free: 217.5 MB / 0.573 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.PSS.IEEEST.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.PSS.IEEEST.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.PSS.IEEEST.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.PSS.IEEEST.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.PSS.IEEEST.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.PSS.IEEEST -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.PSS.IEEEST.pipe 2>&1)