Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.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.IEESGO,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_IEESGO",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.IEESGO,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_IEESGO",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.0009949/0.0009949, allocations: 180.9 kB / 7.651 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.846/1.846, allocations: 205.3 MB / 213.4 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008675/0.0008676, allocations: 86.7 kB / 261.4 MB, free: 1.691 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07368/0.07368, allocations: 12.21 MB / 321.6 MB, free: 15.59 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4422/0.4422, allocations: 78.06 MB / 450.3 MB, free: 9.363 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.159e-05/4.16e-05, allocations: 2.625 kB / 0.5143 GB, free: 42.28 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1789/0.179, allocations: 69.25 MB / 0.5819 GB, free: 1.27 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1793/0.3583, allocations: 112.4 MB / 0.6917 GB, free: 0.6758 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003764/0.3588, allocations: 95.92 kB / 0.6918 GB, free: 0.582 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5119/0.8707, allocations: 46.08 MB / 0.7368 GB, free: 76.91 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.8707, allocations: 4.938 kB / 0.7368 GB, free: 76.91 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000126/0.8709, allocations: 35.94 kB / 0.7368 GB, free: 76.87 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: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.007469/0.8784, allocations: 2.241 MB / 0.739 GB, free: 74.57 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.783e-05/0.8784, allocations: 12.03 kB / 0.739 GB, free: 74.56 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003925/0.8824, allocations: 0.5712 MB / 0.7396 GB, free: 73.98 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002676/0.8851, allocations: 1.087 MB / 0.7406 GB, free: 72.85 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005408/0.8857, allocations: 0.5287 MB / 0.7411 GB, free: 72.22 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003954/0.8861, allocations: 68 kB / 0.7412 GB, free: 72.15 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002429/0.8885, allocations: 1.203 MB / 0.7424 GB, free: 70.95 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002022/0.8906, allocations: 1.201 MB / 0.7435 GB, free: 69.7 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.542e-05/0.8906, allocations: 7.922 kB / 0.7436 GB, free: 69.7 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001243/0.8907, allocations: 0 / 0.7436 GB, free: 69.7 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.969e-05/0.8908, allocations: 31.95 kB / 0.7436 GB, free: 69.66 MB / 474.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.01215/0.9029, allocations: 5.375 MB / 0.7488 GB, free: 64.08 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007293/0.9103, allocations: 3.262 MB / 0.752 GB, free: 60.68 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001559/0.9119, allocations: 0.7451 MB / 0.7527 GB, free: 59.93 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002067/0.9121, allocations: 25.25 kB / 0.7528 GB, free: 59.9 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001398/0.9135, allocations: 0.9096 MB / 0.7537 GB, free: 58.97 MB / 474.7 MB Notification: Performance of pre-optimization done (n=139): time 3.426e-06/0.9135, allocations: 0 / 0.7537 GB, free: 58.97 MB / 474.7 MB Notification: Performance of matching and sorting (n=139): time 0.01457/0.9281, allocations: 4.949 MB / 0.7585 GB, free: 54 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.307e-05/0.9282, allocations: 171.6 kB / 0.7587 GB, free: 53.8 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001988/0.9302, allocations: 1.144 MB / 0.7598 GB, free: 52.65 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00051/0.9307, allocations: 25.7 kB / 0.7598 GB, free: 52.62 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004432/0.9312, allocations: 0.7106 MB / 0.7605 GB, free: 51.9 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006036/0.9318, allocations: 484.7 kB / 0.761 GB, free: 51.42 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.639e-05/0.9319, allocations: 0 / 0.761 GB, free: 51.42 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.9321, allocations: 357.9 kB / 0.7613 GB, free: 51.06 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009665/0.933, allocations: 0.6289 MB / 0.7619 GB, free: 50.43 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009758/0.934, allocations: 0.7973 MB / 0.7627 GB, free: 49.59 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001174/0.9352, allocations: 0.7048 MB / 0.7634 GB, free: 48.89 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.705e-06/0.9352, allocations: 0 / 0.7634 GB, free: 48.89 MB / 474.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.004073/0.9393, allocations: 2.19 MB / 0.7655 GB, free: 46.68 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004005/0.9397, allocations: 1.476 MB / 0.767 GB, free: 45.08 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/0.9398, allocations: 4 kB / 0.767 GB, free: 45.07 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007125/0.9469, allocations: 2.312 MB / 0.7692 GB, free: 42.76 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/0.9481, allocations: 215.7 kB / 0.7694 GB, free: 42.55 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004799/0.9529, allocations: 2.623 MB / 0.772 GB, free: 39.89 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002709/0.9557, allocations: 254.6 kB / 0.7722 GB, free: 39.64 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002434/0.956, allocations: 51.98 kB / 0.7723 GB, free: 39.59 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.956, allocations: 4 kB / 0.7723 GB, free: 39.59 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003947/0.96, allocations: 1.983 MB / 0.7742 GB, free: 37.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.372e-05/0.96, allocations: 4.469 kB / 0.7742 GB, free: 37.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00718/0.9672, allocations: 2.312 MB / 0.7765 GB, free: 35.28 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/0.9685, allocations: 211.7 kB / 0.7767 GB, free: 35.07 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005687/0.9742, allocations: 2.623 MB / 0.7792 GB, free: 32.43 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002838/0.9771, allocations: 238.8 kB / 0.7795 GB, free: 32.19 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004191/0.9776, allocations: 59.98 kB / 0.7795 GB, free: 32.13 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (sCRX.booleanConstant.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 114 * 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 43} Notification: Performance of prepare postOptimizeDAE: time 0.0006511/0.9782, allocations: 124.8 kB / 0.7796 GB, free: 32 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01469/0.9929, allocations: 4.95 MB / 0.7845 GB, free: 27.04 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001131/0.9942, allocations: 181.9 kB / 0.7847 GB, free: 26.86 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01497/1.009, allocations: 5.079 MB / 0.7896 GB, free: 21.76 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.455e-05/1.009, allocations: 19.94 kB / 0.7896 GB, free: 21.74 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.447e-05/1.009, allocations: 0 / 0.7896 GB, free: 21.74 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.799e-05/1.009, allocations: 7.969 kB / 0.7896 GB, free: 21.73 MB / 474.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 postOpt removeSimpleEquations (simulation): time 0.02233/1.032, allocations: 7.433 MB / 0.7969 GB, free: 14.17 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.022e-05/1.032, allocations: 3.984 kB / 0.7969 GB, free: 14.16 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00127/1.033, allocations: 183.8 kB / 0.7971 GB, free: 13.98 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006114/1.039, allocations: 1.982 MB / 0.799 GB, free: 12 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000505/1.04, allocations: 19.98 kB / 0.799 GB, free: 11.98 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01686/1.057, allocations: 7.713 MB / 0.8066 GB, free: 4.148 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/1.057, allocations: 0 / 0.8066 GB, free: 4.148 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01743/1.074, allocations: 6.161 MB / 0.8126 GB, free: 13.93 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009287/1.075, allocations: 294.7 kB / 0.8129 GB, free: 13.62 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000983/1.076, allocations: 4 kB / 0.8129 GB, free: 13.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002616/1.079, allocations: 183.8 kB / 0.813 GB, free: 13.43 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0013/1.08, allocations: 273.3 kB / 0.8133 GB, free: 13.16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003646/1.08, allocations: 35.98 kB / 0.8133 GB, free: 13.13 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002109/1.083, allocations: 0.8637 MB / 0.8142 GB, free: 12.27 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.81e-07/1.083, allocations: 0 / 0.8142 GB, free: 12.27 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004742/1.087, allocations: 0.7639 MB / 0.8149 GB, free: 11.5 MB / 490.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * 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: 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.01964/1.107, allocations: 6.972 MB / 0.8217 GB, free: 4.48 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01522/1.122, allocations: 4.252 MB / 0.8259 GB, free: 216 kB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.377e-05/1.122, allocations: 0 / 0.8259 GB, free: 216 kB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006948/1.129, allocations: 1.897 MB / 0.8277 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002094/1.132, allocations: 121.4 kB / 0.8279 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009817/1.141, allocations: 2.925 MB / 0.8307 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001326/1.143, allocations: 1.353 MB / 0.832 GB, free: 9.809 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002269/1.145, allocations: 286.2 kB / 0.8323 GB, free: 9.523 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00112/1.146, allocations: 0.6632 MB / 0.833 GB, free: 8.859 MB / 0.4948 GB Notification: Performance of SimCode: time 2.034e-06/1.146, allocations: 0 / 0.833 GB, free: 8.859 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1025/1.249, allocations: 45.61 MB / 0.8775 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000241/1.249, allocations: 123.5 kB / 0.8776 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.972/5.221, allocations: 3.938 kB / 0.8776 GB, free: 11.11 MB / 0.5417 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_IEESGO_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_IEESGO.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe 2>&1)