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.1012/0.1012, allocations: 12.2 MB / 27.15 MB, free: 0.9219 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.0008234/0.0008234, allocations: 102.2 kB / 30.66 MB, free: 4.867 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.337/1.337, allocations: 205.4 MB / 239.5 MB, free: 10.88 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.001091/0.001091, allocations: 177.2 kB / 290.6 MB, free: 8.34 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4147/0.4147, allocations: 78.49 MB / 420.1 MB, free: 6.645 MB / 302.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.0008779/0.0008781, allocations: 34.12 kB / 0.4895 GB, free: 37.91 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1196, allocations: 69.25 MB / 0.5571 GB, free: 8.789 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.006936/0.1266, allocations: 7.259 MB / 0.5642 GB, free: 1.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004517/0.1311, allocations: 2.488 MB / 0.5666 GB, free: 15 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000874/0.132, allocations: 16 kB / 0.5667 GB, free: 14.99 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007309/0.1327, allocations: 226.2 kB / 0.5669 GB, free: 14.77 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00254/0.1353, allocations: 1.066 MB / 0.5679 GB, free: 13.7 MB / 398.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.001356/0.1367, allocations: 0.5688 MB / 0.5685 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00224/0.1389, allocations: 1.437 MB / 0.5699 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004942/0.1394, allocations: 345.4 kB / 0.5702 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008852/0.1403, allocations: 0.7433 MB / 0.5709 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001089/0.1414, allocations: 0.9726 MB / 0.5719 GB, free: 9.621 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001921/0.1416, allocations: 96 kB / 0.572 GB, free: 9.527 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005886/0.1422, allocations: 283.7 kB / 0.5722 GB, free: 9.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000332/0.1426, allocations: 350.6 kB / 0.5726 GB, free: 8.906 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002795/0.1428, allocations: 288.8 kB / 0.5728 GB, free: 8.617 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001583/0.1444, allocations: 1.648 MB / 0.5745 GB, free: 6.965 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.1444, allocations: 3.938 kB / 0.5745 GB, free: 6.961 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1445, allocations: 4 kB / 0.5745 GB, free: 6.957 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.177e-05/0.1445, allocations: 0 / 0.5745 GB, free: 6.957 MB / 398.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.01328/0.1578, allocations: 3.56 MB / 0.5779 GB, free: 3.34 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.1578, allocations: 11.98 kB / 0.578 GB, free: 3.328 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003715/0.1582, allocations: 152.1 kB / 0.5781 GB, free: 3.172 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004671/0.1629, allocations: 0.7588 MB / 0.5788 GB, free: 2.41 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002055/0.165, allocations: 1.067 MB / 0.5799 GB, free: 1.293 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004519/0.1654, allocations: 440.7 kB / 0.5803 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002023/0.1656, allocations: 112 kB / 0.5804 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002984/0.1686, allocations: 1.49 MB / 0.5819 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/0.1687, allocations: 0 / 0.5819 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001217/0.1688, allocations: 40 kB / 0.5819 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.128e-05/0.1688, allocations: 24 kB / 0.5819 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003048/0.1719, allocations: 1.433 MB / 0.5833 GB, free: 13.68 MB / 414.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.008775/0.1807, allocations: 5.144 MB / 0.5883 GB, free: 8.301 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009252/0.1899, allocations: 3.456 MB / 0.5917 GB, free: 4.707 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001685/0.1901, allocations: 24.97 kB / 0.5917 GB, free: 4.684 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002373/0.1925, allocations: 1.132 MB / 0.5928 GB, free: 3.527 MB / 414.1 MB Notification: Performance of pre-optimization done (n=126): time 2.925e-06/0.1925, allocations: 0 / 0.5928 GB, free: 3.527 MB / 414.1 MB Notification: Performance of matching and sorting (n=126): time 0.04333/0.2359, allocations: 11.9 MB / 0.6045 GB, free: 7.586 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.112e-05/0.236, allocations: 115.8 kB / 0.6046 GB, free: 7.445 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002002/0.238, allocations: 1.399 MB / 0.6059 GB, free: 6.035 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002614/0.2383, allocations: 49.7 kB / 0.606 GB, free: 5.98 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004381/0.2387, allocations: 0.604 MB / 0.6066 GB, free: 5.371 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004424/0.2392, allocations: 457.5 kB / 0.607 GB, free: 4.918 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/0.2393, allocations: 40 kB / 0.6071 GB, free: 4.879 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.2394, allocations: 373.9 kB / 0.6074 GB, free: 4.508 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002129/0.2416, allocations: 1.046 MB / 0.6084 GB, free: 3.461 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002256/0.2438, allocations: 1.248 MB / 0.6097 GB, free: 2.168 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002339/0.2462, allocations: 1.115 MB / 0.6107 GB, free: 1.055 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.2462, allocations: 0 / 0.6107 GB, free: 1.055 MB / 430.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.009945/0.2561, allocations: 4.133 MB / 0.6148 GB, free: 12.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.2562, allocations: 10.97 kB / 0.6148 GB, free: 12.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.2562, allocations: 4 kB / 0.6148 GB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01023/0.2664, allocations: 3.353 MB / 0.6181 GB, free: 9.539 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001354/0.2678, allocations: 267.6 kB / 0.6183 GB, free: 9.277 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007521/0.2754, allocations: 3.316 MB / 0.6216 GB, free: 5.934 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002415/0.2778, allocations: 298.2 kB / 0.6218 GB, free: 5.641 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001869/0.278, allocations: 63.98 kB / 0.6219 GB, free: 5.578 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 (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.0005978/0.2786, allocations: 297.5 kB / 0.6222 GB, free: 5.277 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000274/0.2789, allocations: 158 kB / 0.6223 GB, free: 5.121 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.017/0.2959, allocations: 5.862 MB / 0.6281 GB, free: 15.24 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.788e-05/0.296, allocations: 12 kB / 0.6281 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.296, allocations: 4 kB / 0.6281 GB, free: 15.22 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.239e-05/0.2961, allocations: 7.969 kB / 0.6281 GB, free: 15.21 MB / 462.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.01967/0.3157, allocations: 7.988 MB / 0.6359 GB, free: 7.074 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.461e-05/0.3158, allocations: 8 kB / 0.6359 GB, free: 7.066 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009137/0.3167, allocations: 143.8 kB / 0.636 GB, free: 6.926 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007866/0.3246, allocations: 2.517 MB / 0.6385 GB, free: 4.402 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002152/0.3248, allocations: 31.98 kB / 0.6385 GB, free: 4.371 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02601/0.3509, allocations: 10.88 MB / 0.6491 GB, free: 9.352 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.3509, allocations: 0 / 0.6491 GB, free: 9.352 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01946/0.3704, allocations: 7.092 MB / 0.6561 GB, free: 2.211 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005839/0.371, allocations: 274.8 kB / 0.6563 GB, free: 1.922 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002541/0.3713, allocations: 24 kB / 0.6564 GB, free: 1.898 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001564/0.3728, allocations: 179.8 kB / 0.6565 GB, free: 1.723 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007454/0.3736, allocations: 257.3 kB / 0.6568 GB, free: 1.473 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.775e-05/0.3737, allocations: 35.98 kB / 0.6568 GB, free: 1.438 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001403/0.3751, allocations: 0.9464 MB / 0.6577 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3751, allocations: 0 / 0.6577 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.2481/0.6232, allocations: 0.5333 MB / 0.6583 GB, free: 94.95 MB / 478.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.0201/0.6434, allocations: 7.811 MB / 0.6659 GB, free: 94.04 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009662/0.6531, allocations: 3.206 MB / 0.669 GB, free: 93.95 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.655e-06/0.6531, allocations: 0 / 0.669 GB, free: 93.95 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007023/0.6601, allocations: 2.166 MB / 0.6711 GB, free: 93.68 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001088/0.6613, allocations: 120.5 kB / 0.6712 GB, free: 93.67 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006795/0.6681, allocations: 6.36 MB / 0.6775 GB, free: 89.31 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008004/0.6689, allocations: 1.257 MB / 0.6787 GB, free: 88.57 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005206/0.6694, allocations: 140.7 kB / 0.6788 GB, free: 88.55 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007519/0.6702, allocations: 0.6066 MB / 0.6794 GB, free: 88.54 MB / 478.1 MB Notification: Performance of SimCode: time 7.41e-07/0.6702, allocations: 1.875 kB / 0.6794 GB, free: 88.54 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05191/0.7221, allocations: 38.25 MB / 0.7168 GB, free: 57.67 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001235/0.7223, allocations: 191.4 kB / 0.7169 GB, free: 57.43 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.861/3.583, allocations: 0 / 0.7169 GB, free: 57.43 MB / 478.1 MB (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: