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.001151/0.001151, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.481/1.481, allocations: 223.3 MB / 239 MB, free: 5.453 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.001259/0.001259, allocations: 176.5 kB / 290.3 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4832/0.4832, allocations: 79.48 MB / 420.8 MB, free: 3.992 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003876/0.0003878, allocations: 12 kB / 0.4892 GB, free: 5.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4416/0.442, allocations: 69.51 MB / 0.5571 GB, free: 37.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.IEESGO): time 0.008136/0.4502, allocations: 8.034 MB / 0.565 GB, free: 36.81 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00661/0.4569, allocations: 2.677 MB / 0.5676 GB, free: 36.04 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002093/0.459, allocations: 17.59 kB / 0.5676 GB, free: 36.04 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00122/0.4603, allocations: 249 kB / 0.5678 GB, free: 35.94 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004022/0.4643, allocations: 0.8651 MB / 0.5687 GB, free: 35.45 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002093/0.4664, allocations: 0.7305 MB / 0.5694 GB, free: 35.1 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002702/0.4691, allocations: 2.223 MB / 0.5715 GB, free: 34 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006934/0.4698, allocations: 406.1 kB / 0.5719 GB, free: 33.85 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001122/0.471, allocations: 0.8289 MB / 0.5727 GB, free: 33.5 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009797/0.472, allocations: 1.063 MB / 0.5738 GB, free: 33.04 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001874/0.4722, allocations: 93.84 kB / 0.5739 GB, free: 33.04 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006414/0.4728, allocations: 301.9 kB / 0.5742 GB, free: 32.98 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002964/0.4731, allocations: 388.4 kB / 0.5745 GB, free: 32.77 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002824/0.4734, allocations: 327.6 kB / 0.5748 GB, free: 32.57 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001469/0.4749, allocations: 1.939 MB / 0.5767 GB, free: 32.04 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.4749, allocations: 0 / 0.5767 GB, free: 32.04 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.4749, allocations: 0 / 0.5767 GB, free: 32.04 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.833e-05/0.4749, allocations: 0.5312 kB / 0.5767 GB, free: 32.04 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.01088/0.4858, allocations: 3.669 MB / 0.5803 GB, free: 30.65 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.4859, allocations: 11.66 kB / 0.5803 GB, free: 30.65 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004689/0.4864, allocations: 179.2 kB / 0.5805 GB, free: 30.53 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004407/0.4908, allocations: 0.7794 MB / 0.5813 GB, free: 30.35 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002526/0.4933, allocations: 1.176 MB / 0.5824 GB, free: 29.64 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004941/0.4938, allocations: 0.58 MB / 0.583 GB, free: 29.08 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003416/0.4942, allocations: 132.5 kB / 0.5831 GB, free: 29.04 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003331/0.4975, allocations: 1.669 MB / 0.5847 GB, free: 28.39 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.597e-05/0.4976, allocations: 0 / 0.5847 GB, free: 28.39 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001335/0.4977, allocations: 49.72 kB / 0.5848 GB, free: 28.35 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.38e-05/0.4977, allocations: 28.89 kB / 0.5848 GB, free: 28.35 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003649/0.5014, allocations: 1.578 MB / 0.5864 GB, free: 27.84 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.0113/0.5127, allocations: 5.706 MB / 0.5919 GB, free: 24.66 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009107/0.5218, allocations: 3.7 MB / 0.5955 GB, free: 23.36 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002717/0.5246, allocations: 1.063 MB / 0.5966 GB, free: 22.95 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002475/0.5249, allocations: 23.66 kB / 0.5966 GB, free: 22.95 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003183/0.5281, allocations: 1.238 MB / 0.5978 GB, free: 22.49 MB / 430.1 MB Notification: Performance of pre-optimization done (n=140): time 1.183e-05/0.5281, allocations: 1.125 kB / 0.5978 GB, free: 22.49 MB / 430.1 MB Notification: Performance of matching and sorting (n=140): time 0.04166/0.5698, allocations: 11.69 MB / 0.6092 GB, free: 20.59 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.538e-05/0.5699, allocations: 178.5 kB / 0.6094 GB, free: 20.39 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003884/0.5738, allocations: 1.569 MB / 0.6109 GB, free: 19.61 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005579/0.5744, allocations: 52.17 kB / 0.611 GB, free: 19.56 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006729/0.5751, allocations: 0.6853 MB / 0.6116 GB, free: 18.95 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008578/0.5759, allocations: 0.5002 MB / 0.6121 GB, free: 18.5 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003867/0.5763, allocations: 41.19 kB / 0.6122 GB, free: 18.47 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.5765, allocations: 378.1 kB / 0.6125 GB, free: 18.11 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002767/0.5793, allocations: 1.124 MB / 0.6136 GB, free: 17.57 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002902/0.5822, allocations: 1.336 MB / 0.6149 GB, free: 16.82 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002873/0.5851, allocations: 1.228 MB / 0.6161 GB, free: 15.99 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.668e-05/0.5851, allocations: 7.938 kB / 0.6161 GB, free: 15.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=259) (initialization): time 0.009977/0.5951, allocations: 4.578 MB / 0.6206 GB, free: 11.39 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001308/0.5953, allocations: 217.1 kB / 0.6208 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.5953, allocations: 4 kB / 0.6208 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007789/0.6031, allocations: 2.966 MB / 0.6237 GB, free: 8.148 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001586/0.6047, allocations: 319.6 kB / 0.624 GB, free: 7.836 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006176/0.6109, allocations: 3.228 MB / 0.6272 GB, free: 4.582 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002745/0.6137, allocations: 342.5 kB / 0.6275 GB, free: 4.246 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003556/0.6141, allocations: 67.98 kB / 0.6276 GB, free: 4.18 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.6141, allocations: 4 kB / 0.6276 GB, free: 4.176 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009571/0.6237, allocations: 4.361 MB / 0.6318 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.331e-05/0.6237, allocations: 4.688 kB / 0.6318 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008361/0.6321, allocations: 2.938 MB / 0.6347 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001664/0.6338, allocations: 319.5 kB / 0.635 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006551/0.6404, allocations: 3.213 MB / 0.6381 GB, free: 9.309 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002546/0.6429, allocations: 306.4 kB / 0.6384 GB, free: 9.008 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003496/0.6433, allocations: 70 kB / 0.6385 GB, free: 8.941 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.001174/0.6445, allocations: 413.4 kB / 0.6389 GB, free: 8.527 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006553/0.6451, allocations: 177.8 kB / 0.6391 GB, free: 8.352 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01616/0.6613, allocations: 6.013 MB / 0.6449 GB, free: 2.32 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.737e-05/0.6614, allocations: 17.62 kB / 0.645 GB, free: 2.305 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.405e-05/0.6614, allocations: 6.328 kB / 0.645 GB, free: 2.301 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.792e-05/0.6615, allocations: 3.984 kB / 0.645 GB, free: 2.297 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.02038/0.6818, allocations: 8.502 MB / 0.6533 GB, free: 9.656 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.481e-05/0.6819, allocations: 0 / 0.6533 GB, free: 9.656 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001125/0.683, allocations: 183.8 kB / 0.6534 GB, free: 9.477 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007201/0.6903, allocations: 2.513 MB / 0.6559 GB, free: 6.957 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000303/0.6906, allocations: 35.98 kB / 0.6559 GB, free: 6.922 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02385/0.7145, allocations: 10.29 MB / 0.666 GB, free: 12.48 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.313e-06/0.7145, allocations: 12.94 kB / 0.666 GB, free: 12.47 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0197/0.7342, allocations: 7.321 MB / 0.6731 GB, free: 5.109 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009173/0.7352, allocations: 298.6 kB / 0.6734 GB, free: 4.797 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007407/0.736, allocations: 28 kB / 0.6735 GB, free: 4.77 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002179/0.7382, allocations: 211.8 kB / 0.6737 GB, free: 4.562 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001032/0.7392, allocations: 273.2 kB / 0.6739 GB, free: 4.297 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002429/0.7395, allocations: 39.98 kB / 0.674 GB, free: 4.258 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002203/0.7417, allocations: 1.06 MB / 0.675 GB, free: 3.203 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7417, allocations: 0 / 0.675 GB, free: 3.203 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003585/0.7453, allocations: 0.9049 MB / 0.6759 GB, free: 2.297 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.01961/0.7649, allocations: 7.942 MB / 0.6836 GB, free: 10.31 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01654/0.7815, allocations: 5.791 MB / 0.6893 GB, free: 4.504 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.947e-06/0.7816, allocations: 4 kB / 0.6893 GB, free: 4.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006303/0.7879, allocations: 2.256 MB / 0.6915 GB, free: 2.23 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002356/0.7903, allocations: 164.6 kB / 0.6917 GB, free: 2.07 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03325/0.8235, allocations: 15.62 MB / 0.7069 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001286/0.8249, allocations: 1.315 MB / 0.7082 GB, free: 336 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001194/0.8261, allocations: 196.8 kB / 0.7084 GB, free: 140 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001084/0.8272, allocations: 0.6985 MB / 0.7091 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of SimCode: time 1.573e-06/0.8272, allocations: 0 / 0.7091 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08685/0.9141, allocations: 49.07 MB / 0.757 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001751/0.9143, allocations: 196.8 kB / 0.7572 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.504/4.418, allocations: 0 / 0.7572 GB, free: 14.45 MB / 0.5606 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: