Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.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/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/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: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.HYGOV,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_HYGOV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.HYGOV,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_HYGOV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001556/0.001556, allocations: 180.9 kB / 7.65 MB, free: 1.422 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.737/1.737, allocations: 205.3 MB / 213.4 MB, free: 13.77 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.0009381/0.000938, allocations: 87 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.09296/0.09296, allocations: 12.2 MB / 321.5 MB, free: 1.188 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3076/0.3076, allocations: 78.06 MB / 450.3 MB, free: 3.484 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.915e-05/1.918e-05, allocations: 4 kB / 0.5142 GB, free: 29.95 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.141, allocations: 69.24 MB / 0.5819 GB, free: 8.812 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4497/0.5907, allocations: 114.9 MB / 0.6941 GB, free: 10.04 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002653/0.591, allocations: 89.56 kB / 0.6942 GB, free: 9.992 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1222/0.7132, allocations: 46.39 MB / 0.7395 GB, free: 4.18 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.7133, allocations: 0 / 0.7395 GB, free: 4.18 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001096/0.7134, allocations: 39.94 kB / 0.7395 GB, free: 4.141 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.006281/0.7197, allocations: 2.323 MB / 0.7418 GB, free: 1.926 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.992e-05/0.7198, allocations: 8.031 kB / 0.7418 GB, free: 1.918 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003033/0.7228, allocations: 0.5824 MB / 0.7423 GB, free: 1.375 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002094/0.7249, allocations: 1.089 MB / 0.7434 GB, free: 0.5 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005178/0.7254, allocations: 455.7 kB / 0.7438 GB, free: 15.98 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001889/0.7256, allocations: 83.89 kB / 0.7439 GB, free: 15.89 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002204/0.7279, allocations: 1.202 MB / 0.7451 GB, free: 15.17 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002182/0.7301, allocations: 1.275 MB / 0.7463 GB, free: 14.25 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.266e-05/0.7301, allocations: 4 kB / 0.7463 GB, free: 14.24 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001192/0.7302, allocations: 0 / 0.7463 GB, free: 14.24 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.571e-05/0.7303, allocations: 35.95 kB / 0.7464 GB, free: 14.21 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009713/0.74, allocations: 5.691 MB / 0.7519 GB, free: 9.168 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008135/0.7481, allocations: 3.221 MB / 0.7551 GB, free: 5.801 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001117/0.7493, allocations: 0.7415 MB / 0.7558 GB, free: 5.047 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001508/0.7494, allocations: 21.3 kB / 0.7558 GB, free: 5.027 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001447/0.7509, allocations: 0.9029 MB / 0.7567 GB, free: 4.102 MB / 490.7 MB Notification: Performance of pre-optimization done (n=142): time 3.156e-06/0.7509, allocations: 0 / 0.7567 GB, free: 4.102 MB / 490.7 MB Notification: Performance of matching and sorting (n=146): time 0.02/0.7709, allocations: 7.729 MB / 0.7643 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/0.771, allocations: 201.3 kB / 0.7644 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001709/0.7728, allocations: 1.129 MB / 0.7655 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001392/0.7729, allocations: 26.14 kB / 0.7656 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006067/0.7735, allocations: 0.7378 MB / 0.7663 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004947/0.774, allocations: 0.4926 MB / 0.7668 GB, free: 9.641 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.7741, allocations: 0 / 0.7668 GB, free: 9.641 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001834/0.7743, allocations: 369.8 kB / 0.7671 GB, free: 9.273 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001056/0.7754, allocations: 0.6367 MB / 0.7677 GB, free: 8.637 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00127/0.7767, allocations: 0.8459 MB / 0.7686 GB, free: 7.727 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001265/0.7779, allocations: 0.7048 MB / 0.7693 GB, free: 7.023 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.7779, allocations: 3.938 kB / 0.7693 GB, free: 7.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.008029/0.786, allocations: 3.314 MB / 0.7725 GB, free: 3.688 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009332/0.7869, allocations: 1.842 MB / 0.7743 GB, free: 1.684 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/0.787, allocations: 4 kB / 0.7743 GB, free: 1.68 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007642/0.7946, allocations: 2.383 MB / 0.7766 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008769/0.7955, allocations: 203.7 kB / 0.7768 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005549/0.8011, allocations: 3.262 MB / 0.78 GB, free: 11.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002052/0.8031, allocations: 187.9 kB / 0.7802 GB, free: 11.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001365/0.8033, allocations: 55.98 kB / 0.7802 GB, free: 11.54 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.8033, allocations: 7.953 kB / 0.7803 GB, free: 11.53 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007504/0.8108, allocations: 3.068 MB / 0.7832 GB, free: 8.453 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/0.8108, allocations: 4 kB / 0.7833 GB, free: 8.449 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007398/0.8182, allocations: 2.375 MB / 0.7856 GB, free: 6.066 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007826/0.819, allocations: 203.7 kB / 0.7858 GB, free: 5.867 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006682/0.8257, allocations: 4.282 MB / 0.7899 GB, free: 1.441 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002092/0.8278, allocations: 175.9 kB / 0.7901 GB, free: 1.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001372/0.828, allocations: 55.98 kB / 0.7902 GB, free: 1.215 MB / 0.5105 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: hYGOV.Velocity_Limiter.u:VARIABLE() "Connector of Real input signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 5 (sCRX.booleanConstant.y,$whenCondition1,$whenCondition2,hYGOV.Position_Limiter.local_reset,hYGOV.q.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 1 * 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 6,29 43} Notification: Performance of prepare postOptimizeDAE: time 0.0004588/0.8284, allocations: 125.4 kB / 0.7903 GB, free: 1.086 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01527/0.8437, allocations: 5.115 MB / 0.7953 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00032/0.8441, allocations: 189.7 kB / 0.7955 GB, free: 11.76 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01565/0.8597, allocations: 5.233 MB / 0.8006 GB, free: 6.504 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/0.8597, allocations: 16 kB / 0.8006 GB, free: 6.488 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.8598, allocations: 4 kB / 0.8006 GB, free: 6.484 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.722e-05/0.8598, allocations: 7.969 kB / 0.8006 GB, free: 6.477 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01841/0.8782, allocations: 7.448 MB / 0.8079 GB, free: 14.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.714e-06/0.8782, allocations: 0 / 0.8079 GB, free: 14.9 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009146/0.8791, allocations: 167.8 kB / 0.808 GB, free: 14.74 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00655/0.8857, allocations: 2.065 MB / 0.8101 GB, free: 12.67 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001293/0.8859, allocations: 8 kB / 0.8101 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02016/0.906, allocations: 9.419 MB / 0.8193 GB, free: 3.004 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/0.9061, allocations: 0 / 0.8193 GB, free: 3.004 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01885/0.9249, allocations: 6.369 MB / 0.8255 GB, free: 12.58 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001202/0.9262, allocations: 266.8 kB / 0.8257 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006788/0.9269, allocations: 0 / 0.8257 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002269/0.9292, allocations: 179.8 kB / 0.8259 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001046/0.9302, allocations: 321.1 kB / 0.8262 GB, free: 11.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/0.9304, allocations: 39.92 kB / 0.8262 GB, free: 11.77 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001383/0.9317, allocations: 0.8488 MB / 0.8271 GB, free: 10.92 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9317, allocations: 0 / 0.8271 GB, free: 10.92 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002477/0.9342, allocations: 0.6758 MB / 0.8277 GB, free: 10.25 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 14 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENSAL.w,gENSAL.delta,gENSAL.Epq,gENSAL.PSIkd,gENSAL.PSIppq,hYGOV.SimpleLag1.state,hYGOV.q.y,hYGOV.g.state,hYGOV.Position_Limiter.y,sCRX.imLeadLag.TF.x_scaled[1],sCRX.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 95 * 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 6,26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.01838/0.9526, allocations: 7.191 MB / 0.8348 GB, free: 2.996 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01339/0.966, allocations: 4.496 MB / 0.8391 GB, free: 14.47 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/0.9661, allocations: 4.938 kB / 0.8392 GB, free: 14.46 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.006129/0.9723, allocations: 2.062 MB / 0.8412 GB, free: 12.38 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001772/0.9741, allocations: 121.5 kB / 0.8413 GB, free: 12.26 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007851/0.9819, allocations: 2.972 MB / 0.8442 GB, free: 9.23 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001304/0.9833, allocations: 1.374 MB / 0.8455 GB, free: 7.82 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.00126/0.9845, allocations: 258.7 kB / 0.8458 GB, free: 7.562 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009104/0.9855, allocations: 0.6867 MB / 0.8464 GB, free: 6.875 MB / 0.573 GB Notification: Performance of SimCode: time 1.243e-06/0.9855, allocations: 0 / 0.8464 GB, free: 6.875 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4779/1.463, allocations: 48.04 MB / 0.8934 GB, free: 167.7 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002128/1.464, allocations: 117.8 kB / 0.8935 GB, free: 167.5 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.961/5.425, allocations: 0 / 0.8935 GB, free: 167.5 MB / 0.573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_HYGOV_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_HYGOV.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.pipe 2>&1)