Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.conf.json 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/Modelica 4.0.0+maint.om/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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.IEESGO,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Controls_PSSE_TG_IEESGO",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.IEESGO,fileNamePrefix="OpenIPSL_release_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 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 172.9 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 221.5 MB / 229.6 MB, free: 7.598 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008938/0.0008936, allocations: 97.88 kB / 280.5 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5948/0.5948, allocations: 78.13 MB / 409.4 MB, free: 6.488 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.917e-05/1.92e-05, allocations: 7.938 kB / 485.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.147, allocations: 69.36 MB / 0.5414 GB, free: 6.848 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5368/0.6838, allocations: 110.9 MB / 0.6498 GB, free: 4.645 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003467/0.6842, allocations: 90 kB / 0.6498 GB, free: 4.559 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1909/0.8751, allocations: 47.14 MB / 0.6959 GB, free: 5.414 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.734e-06/0.8751, allocations: 4.562 kB / 0.6959 GB, free: 5.41 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001469/0.8753, allocations: 35.94 kB / 0.6959 GB, free: 5.375 MB / 0.4948 GB 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.009845/0.8852, allocations: 2.238 MB / 0.6981 GB, free: 3.078 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.525e-05/0.8853, allocations: 12.03 kB / 0.6981 GB, free: 3.066 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004314/0.8896, allocations: 0.579 MB / 0.6987 GB, free: 2.484 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003169/0.8928, allocations: 1.075 MB / 0.6997 GB, free: 1.359 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009002/0.8938, allocations: 0.5336 MB / 0.7003 GB, free: 0.7266 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003972/0.8942, allocations: 79.84 kB / 0.7003 GB, free: 0.6484 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002747/0.8969, allocations: 1.192 MB / 0.7015 GB, free: 15.45 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00236/0.8993, allocations: 1.209 MB / 0.7027 GB, free: 14.2 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.668e-05/0.8993, allocations: 0 / 0.7027 GB, free: 14.2 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001275/0.8995, allocations: 0 / 0.7027 GB, free: 14.2 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.153e-05/0.8995, allocations: 28 kB / 0.7027 GB, free: 14.18 MB / 0.5105 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 preOpt removeSimpleEquations (simulation): time 0.01095/0.9105, allocations: 5.36 MB / 0.7079 GB, free: 8.602 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008273/0.9188, allocations: 3.264 MB / 0.7111 GB, free: 5.203 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001336/0.9201, allocations: 0.7451 MB / 0.7118 GB, free: 4.449 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001517/0.9203, allocations: 26.22 kB / 0.7119 GB, free: 4.426 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001489/0.9218, allocations: 0.9128 MB / 0.7128 GB, free: 3.488 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=139): time 3.477e-06/0.9218, allocations: 0 / 0.7128 GB, free: 3.488 MB / 0.5105 GB Notification: Performance of matching and sorting (n=139): time 0.01541/0.9372, allocations: 4.945 MB / 0.7176 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.128e-05/0.9374, allocations: 179.5 kB / 0.7178 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002052/0.9394, allocations: 1.136 MB / 0.7189 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003342/0.9398, allocations: 25.7 kB / 0.7189 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005351/0.9403, allocations: 0.7105 MB / 0.7196 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005969/0.9409, allocations: 484.8 kB / 0.7201 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.912e-05/0.941, allocations: 0 / 0.7201 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.9412, allocations: 358.6 kB / 0.7204 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001112/0.9423, allocations: 0.625 MB / 0.721 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00119/0.9435, allocations: 0.8012 MB / 0.7218 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0013/0.9448, allocations: 0.6932 MB / 0.7225 GB, free: 9.426 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.9448, allocations: 7.938 kB / 0.7225 GB, free: 9.418 MB / 0.5261 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.004181/0.949, allocations: 2.19 MB / 0.7246 GB, free: 7.215 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006311/0.9497, allocations: 1.482 MB / 0.7261 GB, free: 5.602 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.9497, allocations: 1.781 kB / 0.7261 GB, free: 5.602 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007684/0.9574, allocations: 2.304 MB / 0.7283 GB, free: 3.293 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001081/0.9585, allocations: 219.7 kB / 0.7285 GB, free: 3.078 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005015/0.9635, allocations: 2.619 MB / 0.7311 GB, free: 448 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002395/0.9659, allocations: 254.6 kB / 0.7313 GB, free: 192 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001897/0.9661, allocations: 55.97 kB / 0.7314 GB, free: 136 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.9662, allocations: 7.953 kB / 0.7314 GB, free: 128 kB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00375/0.9699, allocations: 1.979 MB / 0.7333 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.97, allocations: 4 kB / 0.7333 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007395/0.9774, allocations: 2.308 MB / 0.7356 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/0.9785, allocations: 207.7 kB / 0.7358 GB, free: 11.62 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005035/0.9835, allocations: 2.631 MB / 0.7383 GB, free: 8.965 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002429/0.986, allocations: 234.8 kB / 0.7386 GB, free: 8.734 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001721/0.9862, allocations: 59.97 kB / 0.7386 GB, free: 8.676 MB / 0.5417 GB 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.0003595/0.9865, allocations: 131 kB / 0.7387 GB, free: 8.543 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0157/1.002, allocations: 4.951 MB / 0.7436 GB, free: 3.578 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007965/1.003, allocations: 173.8 kB / 0.7437 GB, free: 3.406 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01547/1.019, allocations: 5.075 MB / 0.7487 GB, free: 14.3 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.742e-05/1.019, allocations: 16 kB / 0.7487 GB, free: 14.29 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/1.019, allocations: 0.6562 kB / 0.7487 GB, free: 14.29 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.47e-05/1.019, allocations: 7.969 kB / 0.7487 GB, free: 14.28 MB / 0.5573 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.01901/1.038, allocations: 7.441 MB / 0.756 GB, free: 6.715 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-05/1.038, allocations: 4 kB / 0.756 GB, free: 6.711 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001219/1.039, allocations: 183.7 kB / 0.7562 GB, free: 6.531 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006444/1.045, allocations: 1.998 MB / 0.7581 GB, free: 4.531 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003243/1.046, allocations: 15.98 kB / 0.7581 GB, free: 4.516 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.35/1.396, allocations: 7.696 MB / 0.7657 GB, free: 135.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/1.396, allocations: 5.031 kB / 0.7657 GB, free: 135.6 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01665/1.412, allocations: 6.166 MB / 0.7717 GB, free: 135.2 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007112/1.413, allocations: 287.3 kB / 0.772 GB, free: 135.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004987/1.414, allocations: 9.875 kB / 0.772 GB, free: 135.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001993/1.416, allocations: 184.9 kB / 0.7721 GB, free: 135.1 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008167/1.417, allocations: 265.2 kB / 0.7724 GB, free: 135.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001116/1.417, allocations: 40.73 kB / 0.7724 GB, free: 135.1 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001181/1.418, allocations: 0.8663 MB / 0.7733 GB, free: 135 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.062e-06/1.418, allocations: 0 / 0.7733 GB, free: 135 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002126/1.42, allocations: 0.7599 MB / 0.774 GB, free: 134.9 MB / 0.5573 GB 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.01666/1.437, allocations: 6.961 MB / 0.7808 GB, free: 133.8 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01328/1.45, allocations: 4.258 MB / 0.785 GB, free: 133.6 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.714e-06/1.45, allocations: 0 / 0.785 GB, free: 133.6 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005754/1.456, allocations: 1.891 MB / 0.7868 GB, free: 133.4 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001251/1.457, allocations: 116.9 kB / 0.7869 GB, free: 133.4 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006552/1.464, allocations: 2.939 MB / 0.7898 GB, free: 132.3 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008244/1.465, allocations: 1.344 MB / 0.7911 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.00143/1.466, allocations: 275.6 kB / 0.7914 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007457/1.467, allocations: 0.6663 MB / 0.792 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of SimCode: time 1.122e-06/1.467, allocations: 0 / 0.792 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07955/1.546, allocations: 45.59 MB / 0.8366 GB, free: 129 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001354/1.546, allocations: 134.4 kB / 0.8367 GB, free: 128.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.86/5.406, allocations: 2.078 kB / 0.8367 GB, free: 128.8 MB / 0.5573 GB (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Controls_PSSE_TG_IEESGO_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Controls_PSSE_TG_IEESGO.fmu > OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe 2>&1)