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.01196/0.01196, allocations: 169.8 kB / 15.12 MB, free: 5.559 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.714/1.714, allocations: 223.2 MB / 239 MB, free: 1.73 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.0008363/0.0008363, allocations: 93.33 kB / 290.2 MB, free: 13.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4602/0.4602, allocations: 78.59 MB / 419.9 MB, free: 44.21 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003976/0.000398, allocations: 12 kB / 499.9 MB, free: 2.828 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.402/0.4024, allocations: 69.35 MB / 0.5559 GB, free: 38.76 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.IEESGO): time 0.006947/0.4094, allocations: 7.676 MB / 0.5634 GB, free: 36.28 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.005549/0.415, allocations: 2.732 MB / 0.566 GB, free: 34.34 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001483/0.4165, allocations: 17.72 kB / 0.566 GB, free: 34.34 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008513/0.4174, allocations: 244 kB / 0.5663 GB, free: 34.23 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003469/0.4209, allocations: 1.131 MB / 0.5674 GB, free: 33.5 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.001977/0.4229, allocations: 0.6552 MB / 0.568 GB, free: 33.18 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.003271/0.4261, allocations: 1.623 MB / 0.5696 GB, free: 32.34 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000736/0.4269, allocations: 412.4 kB / 0.57 GB, free: 32.15 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001586/0.4285, allocations: 0.8479 MB / 0.5708 GB, free: 31.77 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001138/0.4296, allocations: 1.061 MB / 0.5719 GB, free: 31.32 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002173/0.4299, allocations: 94.03 kB / 0.5719 GB, free: 31.32 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000669/0.4305, allocations: 286.5 kB / 0.5722 GB, free: 31.26 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002788/0.4308, allocations: 394.7 kB / 0.5726 GB, free: 31.05 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002865/0.4311, allocations: 329.8 kB / 0.5729 GB, free: 30.84 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001493/0.4326, allocations: 1.89 MB / 0.5748 GB, free: 30.32 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.4326, allocations: 0 / 0.5748 GB, free: 30.32 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4326, allocations: 3.422 kB / 0.5748 GB, free: 30.32 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.798e-05/0.4327, allocations: 0 / 0.5748 GB, free: 30.32 MB / 426.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.01408/0.4468, allocations: 4.014 MB / 0.5787 GB, free: 28.86 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/0.4468, allocations: 14.56 kB / 0.5787 GB, free: 28.85 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007354/0.4476, allocations: 173.3 kB / 0.5789 GB, free: 28.73 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004763/0.4523, allocations: 0.7818 MB / 0.5796 GB, free: 28.55 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002553/0.4549, allocations: 1.191 MB / 0.5808 GB, free: 27.83 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005098/0.4555, allocations: 0.5781 MB / 0.5814 GB, free: 27.27 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000283/0.4557, allocations: 130.1 kB / 0.5815 GB, free: 27.23 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00302/0.4588, allocations: 1.655 MB / 0.5831 GB, free: 26.59 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.317e-05/0.4588, allocations: 10.33 kB / 0.5831 GB, free: 26.58 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001276/0.4589, allocations: 40.88 kB / 0.5831 GB, free: 26.55 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.707e-05/0.459, allocations: 26.66 kB / 0.5832 GB, free: 26.55 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003238/0.4622, allocations: 1.588 MB / 0.5847 GB, free: 26.03 MB / 426.7 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.009538/0.4718, allocations: 5.821 MB / 0.5904 GB, free: 22.73 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009165/0.481, allocations: 3.695 MB / 0.594 GB, free: 21.41 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001967/0.4812, allocations: 23.77 kB / 0.594 GB, free: 21.4 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002572/0.4838, allocations: 1.225 MB / 0.5952 GB, free: 20.95 MB / 426.7 MB Notification: Performance of pre-optimization done (n=140): time 3.356e-06/0.4838, allocations: 0 / 0.5952 GB, free: 20.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=140): time 0.04346/0.5272, allocations: 11.7 MB / 0.6067 GB, free: 19.04 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.143e-05/0.5273, allocations: 174.5 kB / 0.6068 GB, free: 18.84 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002654/0.53, allocations: 1.572 MB / 0.6084 GB, free: 17.98 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004124/0.5304, allocations: 52.17 kB / 0.6084 GB, free: 17.93 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004212/0.5309, allocations: 0.6766 MB / 0.6091 GB, free: 17.33 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004917/0.5314, allocations: 0.5053 MB / 0.6096 GB, free: 16.88 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001265/0.5315, allocations: 39.75 kB / 0.6096 GB, free: 16.85 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.782e-05/0.5316, allocations: 379.8 kB / 0.61 GB, free: 16.49 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002397/0.534, allocations: 1.123 MB / 0.6111 GB, free: 15.95 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002576/0.5366, allocations: 1.335 MB / 0.6124 GB, free: 15.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002618/0.5392, allocations: 1.228 MB / 0.6136 GB, free: 14.58 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.999e-06/0.5393, allocations: 1 kB / 0.6136 GB, free: 14.58 MB / 426.7 MB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01018/0.5494, allocations: 4.568 MB / 0.618 GB, free: 10.01 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000417/0.5499, allocations: 1.372 MB / 0.6194 GB, free: 8.512 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.934e-05/0.5499, allocations: 4 kB / 0.6194 GB, free: 8.508 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0088/0.5587, allocations: 2.951 MB / 0.6222 GB, free: 5.551 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00178/0.5606, allocations: 331.5 kB / 0.6226 GB, free: 5.227 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006373/0.567, allocations: 3.225 MB / 0.6257 GB, free: 1.977 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002709/0.5697, allocations: 338.1 kB / 0.626 GB, free: 1.645 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001867/0.5699, allocations: 75.91 kB / 0.6261 GB, free: 1.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.5699, allocations: 0 / 0.6261 GB, free: 1.57 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01039/0.5803, allocations: 4.357 MB / 0.6304 GB, free: 13.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.657e-05/0.5804, allocations: 11.95 kB / 0.6304 GB, free: 13.19 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009099/0.5895, allocations: 2.936 MB / 0.6332 GB, free: 10.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00166/0.5912, allocations: 323.5 kB / 0.6335 GB, free: 9.934 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007123/0.5984, allocations: 3.2 MB / 0.6367 GB, free: 6.711 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002756/0.6011, allocations: 314.3 kB / 0.637 GB, free: 6.402 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002834/0.6014, allocations: 71.97 kB / 0.637 GB, free: 6.332 MB / 442.7 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.000985/0.6024, allocations: 412.8 kB / 0.6374 GB, free: 5.918 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005533/0.603, allocations: 177.8 kB / 0.6376 GB, free: 5.742 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01805/0.6211, allocations: 6.005 MB / 0.6435 GB, free: 15.72 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.648e-05/0.6211, allocations: 19.98 kB / 0.6435 GB, free: 15.7 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.6211, allocations: 0 / 0.6435 GB, free: 15.7 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-05/0.6212, allocations: 7.969 kB / 0.6435 GB, free: 15.7 MB / 458.7 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.02183/0.643, allocations: 8.554 MB / 0.6518 GB, free: 6.984 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.3e-05/0.6431, allocations: 4 kB / 0.6518 GB, free: 6.98 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001237/0.6443, allocations: 183.8 kB / 0.652 GB, free: 6.801 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007884/0.6522, allocations: 2.513 MB / 0.6545 GB, free: 4.285 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003124/0.6526, allocations: 39.92 kB / 0.6545 GB, free: 4.246 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02584/0.6784, allocations: 10.87 MB / 0.6651 GB, free: 9.234 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.6785, allocations: 4 kB / 0.6651 GB, free: 9.23 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02038/0.6989, allocations: 7.37 MB / 0.6723 GB, free: 1.801 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008875/0.6998, allocations: 298.6 kB / 0.6726 GB, free: 1.488 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003166/0.7001, allocations: 28 kB / 0.6726 GB, free: 1.461 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00194/0.7021, allocations: 211.8 kB / 0.6728 GB, free: 1.254 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009382/0.703, allocations: 269.3 kB / 0.6731 GB, free: 0.9922 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001178/0.7032, allocations: 40 kB / 0.6731 GB, free: 0.9531 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001974/0.7051, allocations: 1.057 MB / 0.6742 GB, free: 15.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.713e-06/0.7052, allocations: 3.938 kB / 0.6742 GB, free: 15.89 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002652/0.7078, allocations: 0.9088 MB / 0.6751 GB, free: 14.98 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 () * 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.02108/0.7289, allocations: 8.186 MB / 0.6831 GB, free: 6.742 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0177/0.7467, allocations: 5.801 MB / 0.6887 GB, free: 0.9219 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.726e-06/0.7467, allocations: 0 / 0.6887 GB, free: 0.9219 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00705/0.7538, allocations: 2.253 MB / 0.6909 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001771/0.7556, allocations: 129.8 kB / 0.691 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01313/0.7688, allocations: 6.869 MB / 0.6978 GB, free: 7.52 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009925/0.7698, allocations: 1.347 MB / 0.6991 GB, free: 6.145 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001065/0.7709, allocations: 203.1 kB / 0.6993 GB, free: 5.941 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009429/0.7718, allocations: 0.6984 MB / 0.6999 GB, free: 5.242 MB / 0.4948 GB Notification: Performance of SimCode: time 1.302e-06/0.7718, allocations: 0 / 0.6999 GB, free: 5.242 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09148/0.8633, allocations: 47.34 MB / 0.7462 GB, free: 6.082 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002186/0.8636, allocations: 210.2 kB / 0.7464 GB, free: 5.836 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.673/4.536, allocations: 0 / 0.7464 GB, free: 5.836 MB / 0.5417 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)