Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.conf.json 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/ModelicaServices 4.0.0+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/Complex 4.0.0+maint.om/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 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SCRX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SCRX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08847/0.08847, allocations: 12.2 MB / 27.17 MB, free: 1.926 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 105.8 kB / 30.68 MB, free: 5 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.636/1.636, allocations: 205.4 MB / 239.5 MB, free: 11.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 180.5 kB / 290.6 MB, free: 13.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4997/0.4997, allocations: 78.54 MB / 420.1 MB, free: 48.67 MB / 334.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009186/0.0009188, allocations: 32 kB / 0.4896 GB, free: 2.531 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4605/0.4615, allocations: 69.22 MB / 0.5572 GB, free: 43.2 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.008521/0.47, allocations: 7.62 MB / 0.5646 GB, free: 40.26 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006404/0.4765, allocations: 2.446 MB / 0.567 GB, free: 38.53 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002058/0.4786, allocations: 19.12 kB / 0.567 GB, free: 38.52 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00104/0.4797, allocations: 220.7 kB / 0.5672 GB, free: 38.43 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003647/0.4833, allocations: 0.9803 MB / 0.5682 GB, free: 37.8 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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.001684/0.485, allocations: 0.5696 MB / 0.5687 GB, free: 37.53 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003527/0.4885, allocations: 2.077 MB / 0.5708 GB, free: 36.52 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006958/0.4893, allocations: 346.4 kB / 0.5711 GB, free: 36.36 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001353/0.4906, allocations: 0.7489 MB / 0.5718 GB, free: 36.05 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001023/0.4917, allocations: 0.994 MB / 0.5728 GB, free: 35.63 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001736/0.4918, allocations: 88.69 kB / 0.5729 GB, free: 35.63 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007479/0.4926, allocations: 296.2 kB / 0.5732 GB, free: 35.57 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002848/0.4929, allocations: 357.4 kB / 0.5735 GB, free: 35.37 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002859/0.4932, allocations: 294.7 kB / 0.5738 GB, free: 35.19 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001308/0.4945, allocations: 1.688 MB / 0.5754 GB, free: 34.71 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.4945, allocations: 2.906 kB / 0.5754 GB, free: 34.71 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.4945, allocations: 0 / 0.5754 GB, free: 34.71 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.625e-05/0.4945, allocations: 0 / 0.5754 GB, free: 34.71 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.01593/0.5105, allocations: 3.557 MB / 0.5789 GB, free: 33.39 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.386e-05/0.5106, allocations: 12.48 kB / 0.5789 GB, free: 33.39 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009337/0.5115, allocations: 160.1 kB / 0.5791 GB, free: 33.29 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006668/0.5182, allocations: 0.7579 MB / 0.5798 GB, free: 33.12 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003823/0.5221, allocations: 1.063 MB / 0.5808 GB, free: 32.45 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006798/0.5228, allocations: 439.3 kB / 0.5813 GB, free: 32.06 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005894/0.5234, allocations: 115.8 kB / 0.5814 GB, free: 32.02 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005208/0.5287, allocations: 1.499 MB / 0.5828 GB, free: 31.47 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.985e-05/0.5287, allocations: 0 / 0.5828 GB, free: 31.47 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003103/0.529, allocations: 37.06 kB / 0.5829 GB, free: 31.44 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.76e-05/0.5291, allocations: 23.25 kB / 0.5829 GB, free: 31.44 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004582/0.5337, allocations: 1.432 MB / 0.5843 GB, free: 30.98 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.01354/0.5472, allocations: 5.024 MB / 0.5892 GB, free: 28.11 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01067/0.558, allocations: 3.449 MB / 0.5926 GB, free: 26.86 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00305/0.5611, allocations: 0.9892 MB / 0.5935 GB, free: 26.48 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000289/0.5614, allocations: 25.75 kB / 0.5936 GB, free: 26.47 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00399/0.5654, allocations: 1.134 MB / 0.5947 GB, free: 26.06 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 1.295e-05/0.5655, allocations: 0.75 kB / 0.5947 GB, free: 26.06 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.04621/0.6117, allocations: 11.88 MB / 0.6063 GB, free: 23.09 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.994e-05/0.6118, allocations: 124.7 kB / 0.6064 GB, free: 22.96 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003631/0.6155, allocations: 1.402 MB / 0.6078 GB, free: 22.18 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004838/0.616, allocations: 55.56 kB / 0.6078 GB, free: 22.12 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006597/0.6167, allocations: 0.6022 MB / 0.6084 GB, free: 21.59 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000883/0.6176, allocations: 464.7 kB / 0.6088 GB, free: 21.19 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004216/0.618, allocations: 38.72 kB / 0.6089 GB, free: 21.16 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001909/0.6182, allocations: 380.8 kB / 0.6092 GB, free: 20.79 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002765/0.621, allocations: 1.042 MB / 0.6103 GB, free: 20.3 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00283/0.6238, allocations: 1.244 MB / 0.6115 GB, free: 19.62 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002889/0.6267, allocations: 1.122 MB / 0.6126 GB, free: 19.07 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.727e-05/0.6268, allocations: 4.656 kB / 0.6126 GB, free: 19.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.009936/0.6367, allocations: 4.125 MB / 0.6166 GB, free: 14.93 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.233e-05/0.6368, allocations: 7.984 kB / 0.6166 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.771e-05/0.6368, allocations: 4 kB / 0.6166 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008972/0.6458, allocations: 3.36 MB / 0.6199 GB, free: 11.56 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001428/0.6473, allocations: 267.6 kB / 0.6202 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007065/0.6544, allocations: 3.316 MB / 0.6234 GB, free: 7.957 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002742/0.6572, allocations: 302.2 kB / 0.6237 GB, free: 7.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003819/0.6576, allocations: 59.98 kB / 0.6237 GB, free: 7.602 MB / 430.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 (161): * Single equations (assignments): 160 * 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 {34 42} Notification: Performance of prepare postOptimizeDAE: time 0.001074/0.6587, allocations: 299.9 kB / 0.624 GB, free: 7.301 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006355/0.6593, allocations: 158 kB / 0.6242 GB, free: 7.145 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01491/0.6742, allocations: 5.854 MB / 0.6299 GB, free: 1.27 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.647e-05/0.6743, allocations: 12.88 kB / 0.6299 GB, free: 1.258 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-05/0.6743, allocations: 7.938 kB / 0.6299 GB, free: 1.25 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.153e-05/0.6744, allocations: 11.91 kB / 0.6299 GB, free: 1.238 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 postOpt removeSimpleEquations (simulation): time 0.0218/0.6962, allocations: 7.927 MB / 0.6377 GB, free: 9.168 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.707e-05/0.6963, allocations: 0 / 0.6377 GB, free: 9.168 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/0.6973, allocations: 139.8 kB / 0.6378 GB, free: 9.031 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00787/0.7052, allocations: 2.524 MB / 0.6403 GB, free: 6.504 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003823/0.7056, allocations: 27.98 kB / 0.6403 GB, free: 6.477 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02644/0.7321, allocations: 10.31 MB / 0.6504 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.7321, allocations: 0 / 0.6504 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02051/0.7527, allocations: 7.06 MB / 0.6573 GB, free: 4.926 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009226/0.7536, allocations: 274.8 kB / 0.6575 GB, free: 4.637 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007446/0.7544, allocations: 24 kB / 0.6575 GB, free: 4.613 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00209/0.7565, allocations: 187.8 kB / 0.6577 GB, free: 4.43 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001069/0.7576, allocations: 257.2 kB / 0.658 GB, free: 4.18 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002603/0.7579, allocations: 35.98 kB / 0.658 GB, free: 4.145 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002148/0.76, allocations: 0.9464 MB / 0.6589 GB, free: 3.199 MB / 462.1 MB Notification: Performance of sort global known variables: time 6.51e-07/0.7601, allocations: 0 / 0.6589 GB, free: 3.199 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002804/0.7629, allocations: 0.5268 MB / 0.6594 GB, free: 2.672 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,sCRX.imLeadLag.TF.x_scaled[1],sCRX.simpleLagLim.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 (83): * Single equations (assignments): 82 * 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.02075/0.7836, allocations: 7.674 MB / 0.6669 GB, free: 10.96 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009997/0.7937, allocations: 3.203 MB / 0.6701 GB, free: 7.766 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.059e-05/0.7938, allocations: 0.875 kB / 0.6701 GB, free: 7.766 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006812/0.8006, allocations: 2.163 MB / 0.6722 GB, free: 5.582 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002488/0.8031, allocations: 149.1 kB / 0.6723 GB, free: 5.434 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0335/0.8366, allocations: 14.01 MB / 0.686 GB, free: 6.797 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001184/0.8379, allocations: 1.227 MB / 0.6872 GB, free: 5.539 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008976/0.8388, allocations: 138 kB / 0.6873 GB, free: 5.402 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001191/0.84, allocations: 0.5969 MB / 0.6879 GB, free: 4.805 MB / 494.1 MB Notification: Performance of SimCode: time 1.463e-06/0.84, allocations: 0 / 0.6879 GB, free: 4.805 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1119/0.9519, allocations: 39.89 MB / 0.7269 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001891/0.9521, allocations: 201 kB / 0.7271 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.655/4.607, allocations: 0 / 0.7271 GB, free: 12.78 MB / 0.5294 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SCRX_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SCRX.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe 2>&1) Environment - environmentSimulation: