Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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 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_dev_OpenIPSL_Tests_Controls_PSSE_TG_IEESGO",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.IEESGO,fileNamePrefix="OpenIPSL_dev_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.001168/0.001167, 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.4/1.4, allocations: 223.2 MB / 238.9 MB, free: 5.66 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.001332/0.001332, allocations: 185.1 kB / 290.2 MB, free: 2.355 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5753/0.5753, allocations: 79.45 MB / 420.7 MB, free: 4.023 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003602/0.0003604, allocations: 16 kB / 0.4891 GB, free: 5.523 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3906/0.391, allocations: 69.5 MB / 0.557 GB, free: 37.91 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.IEESGO): time 0.007047/0.3981, allocations: 7.684 MB / 0.5645 GB, free: 37.3 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005821/0.4039, allocations: 2.723 MB / 0.5671 GB, free: 36.56 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001579/0.4056, allocations: 17.84 kB / 0.5671 GB, free: 36.56 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009867/0.4066, allocations: 250.7 kB / 0.5674 GB, free: 36.45 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00285/0.4094, allocations: 0.9364 MB / 0.5683 GB, free: 35.83 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001854/0.4113, allocations: 0.7304 MB / 0.569 GB, free: 35.48 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002518/0.4138, allocations: 1.504 MB / 0.5705 GB, free: 34.68 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006406/0.4145, allocations: 406.4 kB / 0.5709 GB, free: 34.53 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00117/0.4157, allocations: 0.8367 MB / 0.5717 GB, free: 34.16 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001157/0.4168, allocations: 1.035 MB / 0.5727 GB, free: 33.71 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002387/0.4171, allocations: 96.62 kB / 0.5728 GB, free: 33.71 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006871/0.4178, allocations: 290.1 kB / 0.5731 GB, free: 33.65 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003049/0.4181, allocations: 392.8 kB / 0.5734 GB, free: 33.44 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002903/0.4184, allocations: 324.4 kB / 0.5738 GB, free: 33.23 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001516/0.4199, allocations: 1.89 MB / 0.5756 GB, free: 32.73 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.4199, allocations: 0 / 0.5756 GB, free: 32.73 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4199, allocations: 1.875 kB / 0.5756 GB, free: 32.73 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.38e-05/0.42, allocations: 0 / 0.5756 GB, free: 32.73 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.01244/0.4324, allocations: 3.662 MB / 0.5792 GB, free: 31.34 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.4325, allocations: 17.86 kB / 0.5792 GB, free: 31.33 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005677/0.4331, allocations: 179.1 kB / 0.5794 GB, free: 31.21 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004774/0.4378, allocations: 0.7757 MB / 0.5801 GB, free: 31.03 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002516/0.4404, allocations: 1.178 MB / 0.5813 GB, free: 30.32 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004851/0.4409, allocations: 0.5805 MB / 0.5818 GB, free: 29.76 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002466/0.4411, allocations: 135.9 kB / 0.582 GB, free: 29.71 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003091/0.4442, allocations: 1.652 MB / 0.5836 GB, free: 29.08 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/0.4443, allocations: 7.156 kB / 0.5836 GB, free: 29.07 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001343/0.4444, allocations: 44.44 kB / 0.5836 GB, free: 29.04 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.537e-05/0.4444, allocations: 27.56 kB / 0.5837 GB, free: 29.04 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003302/0.4478, allocations: 1.588 MB / 0.5852 GB, free: 28.52 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.0105/0.4583, allocations: 5.817 MB / 0.5909 GB, free: 25.22 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009577/0.4679, allocations: 3.71 MB / 0.5945 GB, free: 23.91 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002372/0.4681, allocations: 22.52 kB / 0.5945 GB, free: 23.9 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002929/0.4711, allocations: 1.235 MB / 0.5957 GB, free: 23.45 MB / 430.1 MB Notification: Performance of pre-optimization done (n=140): time 3.967e-06/0.4711, allocations: 0 / 0.5957 GB, free: 23.45 MB / 430.1 MB Notification: Performance of matching and sorting (n=140): time 0.04499/0.5161, allocations: 11.69 MB / 0.6072 GB, free: 21.55 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.313e-05/0.5162, allocations: 178.5 kB / 0.6073 GB, free: 21.36 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00368/0.5199, allocations: 1.57 MB / 0.6089 GB, free: 20.75 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005672/0.5205, allocations: 56.33 kB / 0.6089 GB, free: 20.7 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005612/0.5211, allocations: 0.6753 MB / 0.6096 GB, free: 20.16 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006607/0.5218, allocations: 0.5034 MB / 0.6101 GB, free: 19.73 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/0.5219, allocations: 48.72 kB / 0.6101 GB, free: 19.7 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.522, allocations: 377.8 kB / 0.6105 GB, free: 19.34 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002515/0.5246, allocations: 1.12 MB / 0.6116 GB, free: 18.8 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002541/0.5271, allocations: 1.333 MB / 0.6129 GB, free: 18.05 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002563/0.5297, allocations: 1.232 MB / 0.6141 GB, free: 17.43 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/0.5297, allocations: 1.375 kB / 0.6141 GB, free: 17.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01031/0.54, allocations: 4.57 MB / 0.6185 GB, free: 13.43 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003281/0.5404, allocations: 1.374 MB / 0.6199 GB, free: 11.92 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/0.5404, allocations: 8 kB / 0.6199 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008807/0.5492, allocations: 2.951 MB / 0.6228 GB, free: 8.961 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001702/0.551, allocations: 327.5 kB / 0.6231 GB, free: 8.641 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006344/0.5573, allocations: 3.233 MB / 0.6262 GB, free: 5.383 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002928/0.5603, allocations: 330.1 kB / 0.6265 GB, free: 5.059 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001881/0.5605, allocations: 73.89 kB / 0.6266 GB, free: 4.988 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.5605, allocations: 8 kB / 0.6266 GB, free: 4.98 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009467/0.57, allocations: 4.361 MB / 0.6309 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.991e-05/0.57, allocations: 11.94 kB / 0.6309 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009232/0.5793, allocations: 2.939 MB / 0.6338 GB, free: 13.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001649/0.581, allocations: 320.2 kB / 0.6341 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007242/0.5882, allocations: 3.199 MB / 0.6372 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002722/0.591, allocations: 314.4 kB / 0.6375 GB, free: 9.809 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00021/0.5912, allocations: 71.97 kB / 0.6376 GB, free: 9.738 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.0009694/0.5922, allocations: 412.7 kB / 0.638 GB, free: 9.324 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003848/0.5925, allocations: 182.6 kB / 0.6381 GB, free: 9.145 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01773/0.6103, allocations: 6.01 MB / 0.644 GB, free: 3.117 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-05/0.6103, allocations: 12 kB / 0.644 GB, free: 3.105 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.868e-06/0.6103, allocations: 4 kB / 0.644 GB, free: 3.102 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.382e-05/0.6104, allocations: 7.984 kB / 0.644 GB, free: 3.094 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.02186/0.6323, allocations: 8.549 MB / 0.6524 GB, free: 10.39 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.391e-05/0.6323, allocations: 0 / 0.6524 GB, free: 10.39 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001246/0.6336, allocations: 195.8 kB / 0.6526 GB, free: 10.2 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008091/0.6417, allocations: 2.511 MB / 0.655 GB, free: 7.688 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004265/0.6421, allocations: 28.69 kB / 0.655 GB, free: 7.66 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02659/0.6687, allocations: 10.88 MB / 0.6657 GB, free: 12.64 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/0.6688, allocations: 7.375 kB / 0.6657 GB, free: 12.64 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02161/0.6904, allocations: 7.364 MB / 0.6729 GB, free: 5.215 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009724/0.6914, allocations: 302.6 kB / 0.6731 GB, free: 4.898 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005278/0.692, allocations: 28 kB / 0.6732 GB, free: 4.871 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001953/0.6939, allocations: 207.8 kB / 0.6734 GB, free: 4.668 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008981/0.6948, allocations: 277.2 kB / 0.6736 GB, free: 4.398 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001191/0.695, allocations: 32 kB / 0.6737 GB, free: 4.367 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001933/0.6969, allocations: 1.064 MB / 0.6747 GB, free: 3.309 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6969, allocations: 3.938 kB / 0.6747 GB, free: 3.305 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002821/0.6998, allocations: 0.9049 MB / 0.6756 GB, free: 2.398 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.02164/0.7214, allocations: 8.188 MB / 0.6836 GB, free: 10.15 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01743/0.7389, allocations: 5.791 MB / 0.6892 GB, free: 4.344 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.827e-06/0.7389, allocations: 0 / 0.6892 GB, free: 4.344 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006801/0.7458, allocations: 2.259 MB / 0.6914 GB, free: 2.066 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001344/0.7471, allocations: 141.4 kB / 0.6916 GB, free: 1.93 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009326/0.7565, allocations: 6.877 MB / 0.6983 GB, free: 11 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008757/0.7574, allocations: 1.358 MB / 0.6996 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0009867/0.7584, allocations: 193.8 kB / 0.6998 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000934/0.7593, allocations: 0.6945 MB / 0.7005 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of SimCode: time 1.132e-06/0.7594, allocations: 1.406 kB / 0.7005 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08/0.8394, allocations: 47.4 MB / 0.7468 GB, free: 9.645 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001741/0.8396, allocations: 198 kB / 0.747 GB, free: 9.402 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.432/4.272, allocations: 0 / 0.747 GB, free: 9.402 MB / 0.545 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_IEESGO_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_IEESGO.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe 2>&1) Environment - environmentSimulation: