Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.conf.json 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/ModelicaServices 4.0.0+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/Complex 4.0.0+maint.om/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.09464/0.09464, allocations: 12.2 MB / 27.47 MB, free: 0.9219 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000733/0.000733, allocations: 99.52 kB / 31 MB, free: 4.531 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.387/1.387, allocations: 205.4 MB / 239.8 MB, free: 13.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 192.5 kB / 291 MB, free: 11.53 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4223/0.4223, allocations: 78.53 MB / 420.5 MB, free: 11.5 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009374/0.0009377, allocations: 28 kB / 0.4902 GB, free: 9.934 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3054, allocations: 69.24 MB / 0.5578 GB, free: 20.86 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1): time 0.005518/0.3109, allocations: 7.862 MB / 0.5655 GB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004112/0.3151, allocations: 2.495 MB / 0.5679 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001147/0.3162, allocations: 12 kB / 0.568 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008979/0.3172, allocations: 234.5 kB / 0.5682 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002838/0.32, allocations: 1.076 MB / 0.5692 GB, free: 9.137 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001273/0.3213, allocations: 0.6276 MB / 0.5698 GB, free: 8.516 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001917/0.3232, allocations: 2.147 MB / 0.5719 GB, free: 6.359 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003675/0.3236, allocations: 334.5 kB / 0.5723 GB, free: 6.008 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005557/0.3242, allocations: 0.7466 MB / 0.573 GB, free: 5.258 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007395/0.3249, allocations: 0.9994 MB / 0.574 GB, free: 4.254 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001426/0.3251, allocations: 88 kB / 0.574 GB, free: 4.168 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000435/0.3255, allocations: 263.8 kB / 0.5743 GB, free: 3.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000216/0.3257, allocations: 362.2 kB / 0.5746 GB, free: 3.555 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004525/0.3262, allocations: 0.7938 MB / 0.5754 GB, free: 2.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001147/0.3273, allocations: 2.058 MB / 0.5774 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.3274, allocations: 0 / 0.5774 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3274, allocations: 0 / 0.5774 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.886e-05/0.3274, allocations: 0 / 0.5774 GB, free: 0.6836 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.01283/0.3402, allocations: 3.595 MB / 0.5809 GB, free: 13.03 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.3403, allocations: 11.98 kB / 0.5809 GB, free: 13.02 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002684/0.3405, allocations: 151.6 kB / 0.5811 GB, free: 12.86 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004411/0.345, allocations: 0.7472 MB / 0.5818 GB, free: 12.11 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001813/0.3468, allocations: 1.092 MB / 0.5829 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004432/0.3472, allocations: 433 kB / 0.5833 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002076/0.3475, allocations: 104 kB / 0.5834 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002834/0.3503, allocations: 1.442 MB / 0.5848 GB, free: 8.914 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/0.3503, allocations: 7.969 kB / 0.5848 GB, free: 8.906 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001188/0.3505, allocations: 40 kB / 0.5849 GB, free: 8.867 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.138e-05/0.3505, allocations: 20 kB / 0.5849 GB, free: 8.848 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002923/0.3534, allocations: 1.39 MB / 0.5862 GB, free: 7.457 MB / 398.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.007879/0.3613, allocations: 4.747 MB / 0.5909 GB, free: 2.504 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00906/0.3704, allocations: 3.458 MB / 0.5942 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00206/0.3725, allocations: 0.9932 MB / 0.5952 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001331/0.3726, allocations: 24.92 kB / 0.5952 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002356/0.375, allocations: 1.128 MB / 0.5963 GB, free: 12.73 MB / 414.1 MB Notification: Performance of pre-optimization done (n=124): time 3.957e-06/0.375, allocations: 0 / 0.5963 GB, free: 12.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=124): time 0.04596/0.421, allocations: 12.09 MB / 0.6081 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.611e-05/0.4211, allocations: 115.8 kB / 0.6083 GB, free: 472 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002571/0.4237, allocations: 1.349 MB / 0.6096 GB, free: 15.09 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003483/0.424, allocations: 53.77 kB / 0.6096 GB, free: 15.04 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005888/0.4247, allocations: 0.5686 MB / 0.6102 GB, free: 14.46 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007303/0.4254, allocations: 453.6 kB / 0.6106 GB, free: 14.02 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004811/0.4259, allocations: 165.6 kB / 0.6108 GB, free: 13.85 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.426, allocations: 309.1 kB / 0.6111 GB, free: 13.54 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002637/0.4287, allocations: 1.031 MB / 0.6121 GB, free: 12.51 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002728/0.4314, allocations: 1.237 MB / 0.6133 GB, free: 11.23 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005094/0.4365, allocations: 2.21 MB / 0.6154 GB, free: 8.977 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.005e-05/0.4366, allocations: 0 / 0.6154 GB, free: 8.977 MB / 430.1 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.01169/0.4483, allocations: 4.292 MB / 0.6196 GB, free: 4.668 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.999e-05/0.4483, allocations: 11.94 kB / 0.6196 GB, free: 4.656 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/0.4483, allocations: 4.312 kB / 0.6196 GB, free: 4.652 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009975/0.4583, allocations: 3.058 MB / 0.6226 GB, free: 1.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001467/0.4598, allocations: 295.6 kB / 0.6229 GB, free: 1.301 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006871/0.4667, allocations: 3.007 MB / 0.6258 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002377/0.4691, allocations: 290.4 kB / 0.6261 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002315/0.4694, allocations: 59.98 kB / 0.6262 GB, free: 13.93 MB / 446.1 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 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(30,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0007395/0.4701, allocations: 297.5 kB / 0.6265 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003928/0.4705, allocations: 158 kB / 0.6266 GB, free: 13.47 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01762/0.4881, allocations: 5.802 MB / 0.6323 GB, free: 7.645 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.619e-05/0.4882, allocations: 12 kB / 0.6323 GB, free: 7.633 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/0.4882, allocations: 4 kB / 0.6323 GB, free: 7.629 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.098e-05/0.4882, allocations: 11.97 kB / 0.6323 GB, free: 7.617 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.02066/0.5089, allocations: 7.915 MB / 0.64 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.236e-05/0.509, allocations: 3.938 kB / 0.64 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009784/0.5099, allocations: 139.8 kB / 0.6402 GB, free: 15.41 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008365/0.5183, allocations: 2.521 MB / 0.6426 GB, free: 12.88 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002578/0.5186, allocations: 27.98 kB / 0.6427 GB, free: 12.86 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0265/0.5451, allocations: 10.33 MB / 0.6527 GB, free: 2.391 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.5452, allocations: 0 / 0.6527 GB, free: 2.391 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02061/0.5658, allocations: 7.044 MB / 0.6596 GB, free: 11.3 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005871/0.5664, allocations: 266.8 kB / 0.6599 GB, free: 11.02 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004599/0.5669, allocations: 24 kB / 0.6599 GB, free: 11 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001866/0.5688, allocations: 179.8 kB / 0.6601 GB, free: 10.82 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008818/0.5697, allocations: 249.3 kB / 0.6603 GB, free: 10.58 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001834/0.5699, allocations: 43.92 kB / 0.6604 GB, free: 10.54 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001614/0.5715, allocations: 0.9172 MB / 0.6612 GB, free: 9.621 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5715, allocations: 0 / 0.6612 GB, free: 9.621 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00177/0.5733, allocations: 0.5073 MB / 0.6617 GB, free: 9.113 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,tGOV1.imLeadLag.TF.x_scaled[1],tGOV1.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02096/0.5943, allocations: 7.643 MB / 0.6692 GB, free: 1.438 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009775/0.6041, allocations: 3.147 MB / 0.6723 GB, free: 14.29 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.6041, allocations: 0 / 0.6723 GB, free: 14.29 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006843/0.611, allocations: 2.159 MB / 0.6744 GB, free: 12.11 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00172/0.6128, allocations: 141 kB / 0.6745 GB, free: 11.97 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2763/0.8891, allocations: 22.61 MB / 0.6966 GB, free: 115.4 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006647/0.8898, allocations: 1.207 MB / 0.6978 GB, free: 114.7 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006488/0.8904, allocations: 135.2 kB / 0.6979 GB, free: 114.7 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007792/0.8912, allocations: 0.5691 MB / 0.6985 GB, free: 114.2 MB / 494.1 MB Notification: Performance of SimCode: time 1.233e-06/0.8913, allocations: 3.969 kB / 0.6985 GB, free: 114.2 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05202/0.9433, allocations: 37.86 MB / 0.7354 GB, free: 81.8 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001267/0.9434, allocations: 212.4 kB / 0.7356 GB, free: 81.54 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.655/3.599, allocations: 0 / 0.7356 GB, free: 81.54 MB / 494.1 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe 2>&1)