Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.conf.json 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 4.0.0+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 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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.IEESGO,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_IEESGO",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.IEESGO,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_IEESGO",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009143/0.0009143, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 223.2 MB / 238.9 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 189 kB / 290.2 MB, free: 2.113 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4676/0.4676, allocations: 78.53 MB / 419.8 MB, free: 4.324 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003801/0.0003802, allocations: 8 kB / 499.7 MB, free: 6.297 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1294, allocations: 69.37 MB / 0.5558 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.IEESGO): time 0.259/0.3885, allocations: 7.667 MB / 0.5633 GB, free: 37 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005527/0.394, allocations: 2.718 MB / 0.5659 GB, free: 36.63 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001772/0.3958, allocations: 18.41 kB / 0.5659 GB, free: 36.63 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001039/0.3969, allocations: 250 kB / 0.5662 GB, free: 36.54 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003393/0.4003, allocations: 1.125 MB / 0.5673 GB, free: 36.19 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/NonElectrical/Logical/NegCurLogic.mo:14:3-14:60:writable] Warning: In relation sCRX.negCurLogic.RC_rfd == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001711/0.402, allocations: 0.6523 MB / 0.5679 GB, free: 36.12 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002523/0.4045, allocations: 1.629 MB / 0.5695 GB, free: 35.29 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005688/0.4051, allocations: 407.8 kB / 0.5699 GB, free: 35.14 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001025/0.4062, allocations: 0.8467 MB / 0.5707 GB, free: 34.77 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009586/0.4071, allocations: 1.059 MB / 0.5717 GB, free: 34.32 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000185/0.4073, allocations: 92.38 kB / 0.5718 GB, free: 34.32 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005706/0.4079, allocations: 291.9 kB / 0.5721 GB, free: 34.26 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002699/0.4082, allocations: 395.3 kB / 0.5725 GB, free: 34.05 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002477/0.4084, allocations: 325.4 kB / 0.5728 GB, free: 33.84 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001329/0.4098, allocations: 1.893 MB / 0.5747 GB, free: 33.33 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.4098, allocations: 0 / 0.5747 GB, free: 33.33 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.4098, allocations: 0.9375 kB / 0.5747 GB, free: 33.33 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.5e-05/0.4098, allocations: 0 / 0.5747 GB, free: 33.33 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.01374/0.4236, allocations: 4.013 MB / 0.5786 GB, free: 31.9 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.4236, allocations: 14.44 kB / 0.5786 GB, free: 31.9 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004468/0.4241, allocations: 180 kB / 0.5788 GB, free: 31.78 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004717/0.4288, allocations: 0.7805 MB / 0.5795 GB, free: 31.6 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002402/0.4312, allocations: 1.182 MB / 0.5807 GB, free: 30.88 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004632/0.4317, allocations: 0.5838 MB / 0.5812 GB, free: 30.32 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002374/0.432, allocations: 131 kB / 0.5814 GB, free: 30.27 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002922/0.4349, allocations: 1.656 MB / 0.583 GB, free: 29.63 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/0.4349, allocations: 2.062 kB / 0.583 GB, free: 29.63 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001308/0.4351, allocations: 47.03 kB / 0.583 GB, free: 29.6 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.82e-05/0.4351, allocations: 26.44 kB / 0.5831 GB, free: 29.6 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003151/0.4382, allocations: 1.589 MB / 0.5846 GB, free: 29.07 MB / 430.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.009793/0.448, allocations: 5.822 MB / 0.5903 GB, free: 25.78 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009322/0.4574, allocations: 3.689 MB / 0.5939 GB, free: 24.48 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00025/0.4577, allocations: 24.22 kB / 0.5939 GB, free: 24.47 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002737/0.4604, allocations: 1.227 MB / 0.5951 GB, free: 24.02 MB / 430.1 MB Notification: Performance of pre-optimization done (n=140): time 4.127e-06/0.4604, allocations: 0.6094 kB / 0.5951 GB, free: 24.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=140): time 0.04364/0.5041, allocations: 11.69 MB / 0.6065 GB, free: 22.12 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.619e-05/0.5042, allocations: 177.3 kB / 0.6067 GB, free: 21.93 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003062/0.5073, allocations: 1.573 MB / 0.6082 GB, free: 21.32 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004503/0.5077, allocations: 57.14 kB / 0.6083 GB, free: 21.26 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004789/0.5082, allocations: 0.6744 MB / 0.609 GB, free: 20.72 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005765/0.5088, allocations: 0.5026 MB / 0.6094 GB, free: 20.28 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/0.5089, allocations: 40.72 kB / 0.6095 GB, free: 20.25 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.509, allocations: 378.1 kB / 0.6098 GB, free: 19.89 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002398/0.5115, allocations: 1.123 MB / 0.6109 GB, free: 19.35 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002557/0.514, allocations: 1.329 MB / 0.6122 GB, free: 18.61 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002558/0.5166, allocations: 1.228 MB / 0.6134 GB, free: 17.99 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.756e-06/0.5166, allocations: 1.375 kB / 0.6134 GB, free: 17.99 MB / 430.1 MB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01064/0.5273, allocations: 4.568 MB / 0.6179 GB, free: 14.08 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004456/0.5277, allocations: 1.378 MB / 0.6192 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.678e-05/0.5278, allocations: 4 kB / 0.6192 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00872/0.5365, allocations: 2.954 MB / 0.6221 GB, free: 9.609 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001615/0.5381, allocations: 328.2 kB / 0.6224 GB, free: 9.289 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006282/0.5444, allocations: 3.224 MB / 0.6256 GB, free: 6.039 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002629/0.5471, allocations: 338.1 kB / 0.6259 GB, free: 5.707 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001818/0.5473, allocations: 71.92 kB / 0.626 GB, free: 5.637 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.5473, allocations: 4 kB / 0.626 GB, free: 5.633 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009339/0.5566, allocations: 4.358 MB / 0.6302 GB, free: 1.262 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.123e-05/0.5567, allocations: 4.609 kB / 0.6303 GB, free: 1.258 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009035/0.5658, allocations: 2.947 MB / 0.6331 GB, free: 14.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001712/0.5675, allocations: 323.5 kB / 0.6334 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007374/0.5749, allocations: 3.194 MB / 0.6366 GB, free: 10.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0027/0.5777, allocations: 318.3 kB / 0.6369 GB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003469/0.578, allocations: 71.97 kB / 0.6369 GB, free: 10.39 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 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (187): * Single equations (assignments): 185 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {29 44} Notification: Performance of prepare postOptimizeDAE: time 0.001106/0.5792, allocations: 415.6 kB / 0.6373 GB, free: 9.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005434/0.5797, allocations: 177.8 kB / 0.6375 GB, free: 9.805 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01805/0.5978, allocations: 6.009 MB / 0.6434 GB, free: 3.777 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.453e-05/0.5978, allocations: 16 kB / 0.6434 GB, free: 3.762 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/0.5978, allocations: 5.719 kB / 0.6434 GB, free: 3.758 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.12e-05/0.5979, allocations: 7.984 kB / 0.6434 GB, free: 3.75 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.02215/0.62, allocations: 8.548 MB / 0.6517 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.438e-05/0.6201, allocations: 0 / 0.6517 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001193/0.6213, allocations: 183.8 kB / 0.6519 GB, free: 10.87 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008238/0.6295, allocations: 2.514 MB / 0.6544 GB, free: 8.352 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002998/0.6299, allocations: 37.42 kB / 0.6544 GB, free: 8.316 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02717/0.6571, allocations: 10.88 MB / 0.665 GB, free: 13.3 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.6571, allocations: 0 / 0.665 GB, free: 13.3 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02153/0.6786, allocations: 7.372 MB / 0.6722 GB, free: 5.871 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008011/0.6795, allocations: 295.2 kB / 0.6725 GB, free: 5.562 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006984/0.6802, allocations: 28 kB / 0.6725 GB, free: 5.535 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00225/0.6825, allocations: 211.7 kB / 0.6727 GB, free: 5.328 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009243/0.6834, allocations: 277.3 kB / 0.673 GB, free: 5.059 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002009/0.6836, allocations: 33.19 kB / 0.673 GB, free: 5.027 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00201/0.6856, allocations: 1.06 MB / 0.6741 GB, free: 3.973 MB / 478.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.6857, allocations: 3.938 kB / 0.6741 GB, free: 3.969 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003058/0.6887, allocations: 0.901 MB / 0.6749 GB, free: 3.066 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 15 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENSAL.w,gENSAL.delta,gENSAL.Epq,gENSAL.PSIkd,gENSAL.PSIppq,sCRX.imLeadLag.TF.x_scaled[1],sCRX.simpleLagLim.state,iEESGO.imSimpleLag.state,iEESGO.imLeadLag.TF.x_scaled[1],iEESGO.imSimpleLag1.state,iEESGO.imSimpleLag2.state,iEESGO.imSimpleLag3.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 (97): * Single equations (assignments): 96 * 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 {26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.02174/0.7105, allocations: 8.192 MB / 0.6829 GB, free: 10.82 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01795/0.7285, allocations: 5.792 MB / 0.6886 GB, free: 5.008 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/0.7285, allocations: 0 / 0.6886 GB, free: 5.008 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007134/0.7357, allocations: 2.252 MB / 0.6908 GB, free: 2.738 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001351/0.737, allocations: 139.1 kB / 0.6909 GB, free: 2.602 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009598/0.7467, allocations: 6.871 MB / 0.6976 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008672/0.7476, allocations: 1.343 MB / 0.699 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001013/0.7486, allocations: 205.1 kB / 0.6992 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001009/0.7496, allocations: 0.7034 MB / 0.6998 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of SimCode: time 1.493e-06/0.7496, allocations: 0 / 0.6998 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0755/0.8251, allocations: 47.32 MB / 0.7461 GB, free: 10.4 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001843/0.8254, allocations: 183.3 kB / 0.7462 GB, free: 10.16 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.947/3.772, allocations: 0 / 0.7462 GB, free: 10.16 MB / 0.545 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_IEESGO_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_IEESGO.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe 2>&1) Environment - environmentSimulation: