Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.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.ES.SCRX,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_SCRX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_SCRX",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.001169/0.001169, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.264/1.264, allocations: 222.9 MB / 239.2 MB, free: 4.602 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.00141/0.00141, allocations: 188.5 kB / 289.6 MB, free: 2.32 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.486/0.486, allocations: 91.91 MB / 431.6 MB, free: 9.215 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 79.88 kB / 0.502 GB, free: 7.578 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2884/0.2899, allocations: 71.27 MB / 0.5716 GB, free: 36.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.006325/0.2963, allocations: 8.292 MB / 0.5797 GB, free: 31.64 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003741/0.3, allocations: 2.554 MB / 0.5822 GB, free: 29.84 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005423/0.3006, allocations: 11.62 kB / 0.5822 GB, free: 29.84 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006257/0.3012, allocations: 319.8 kB / 0.5825 GB, free: 29.67 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001878/0.3031, allocations: 1.119 MB / 0.5836 GB, free: 28.95 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001075/0.3042, allocations: 0.6918 MB / 0.5843 GB, free: 28.61 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001335/0.3056, allocations: 2.185 MB / 0.5864 GB, free: 27.54 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004266/0.306, allocations: 421.7 kB / 0.5868 GB, free: 27.34 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006757/0.3067, allocations: 0.8737 MB / 0.5876 GB, free: 26.91 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008719/0.3076, allocations: 1.119 MB / 0.5887 GB, free: 26.37 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002662/0.3078, allocations: 182.4 kB / 0.5889 GB, free: 26.37 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000638/0.3085, allocations: 416.4 kB / 0.5893 GB, free: 26.3 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002856/0.3088, allocations: 463.1 kB / 0.5897 GB, free: 26 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005474/0.3093, allocations: 0.903 MB / 0.5906 GB, free: 25.39 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00154/0.3109, allocations: 2.263 MB / 0.5928 GB, free: 24.39 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3109, allocations: 0 / 0.5928 GB, free: 24.39 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3109, allocations: 1.25 kB / 0.5928 GB, free: 24.39 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.283e-05/0.3109, allocations: 0 / 0.5928 GB, free: 24.39 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.01155/0.3225, allocations: 3.553 MB / 0.5963 GB, free: 22.91 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/0.3226, allocations: 12.81 kB / 0.5963 GB, free: 22.91 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002084/0.3228, allocations: 161.5 kB / 0.5965 GB, free: 22.8 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004693/0.3275, allocations: 0.75 MB / 0.5972 GB, free: 22.62 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001988/0.3295, allocations: 1.105 MB / 0.5983 GB, free: 21.91 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003527/0.3298, allocations: 426.4 kB / 0.5987 GB, free: 21.53 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001857/0.33, allocations: 112.5 kB / 0.5988 GB, free: 21.49 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002698/0.3327, allocations: 1.431 MB / 0.6002 GB, free: 20.94 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/0.3328, allocations: 0 / 0.6002 GB, free: 20.94 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000114/0.3329, allocations: 37.59 kB / 0.6002 GB, free: 20.91 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.076e-05/0.3329, allocations: 23.28 kB / 0.6003 GB, free: 20.91 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002834/0.3358, allocations: 1.356 MB / 0.6016 GB, free: 20.45 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.008171/0.3439, allocations: 4.93 MB / 0.6064 GB, free: 17.6 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007904/0.3519, allocations: 2.905 MB / 0.6092 GB, free: 16.41 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001842/0.3537, allocations: 0.9165 MB / 0.6101 GB, free: 16.04 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001175/0.3539, allocations: 19.06 kB / 0.6101 GB, free: 16.03 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002026/0.3559, allocations: 1.062 MB / 0.6112 GB, free: 15.63 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 3.367e-06/0.3559, allocations: 0 / 0.6112 GB, free: 15.63 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.0397/0.3956, allocations: 9.804 MB / 0.6208 GB, free: 11.7 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.024e-05/0.3957, allocations: 119.9 kB / 0.6209 GB, free: 11.55 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002041/0.3978, allocations: 1.407 MB / 0.6222 GB, free: 10.14 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003532/0.3981, allocations: 53.7 kB / 0.6223 GB, free: 10.08 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003163/0.3984, allocations: 0.5963 MB / 0.6229 GB, free: 9.477 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004214/0.3989, allocations: 465.4 kB / 0.6233 GB, free: 9.016 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005271/0.3994, allocations: 335.4 kB / 0.6236 GB, free: 8.684 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.286e-05/0.3994, allocations: 305.1 kB / 0.6239 GB, free: 8.383 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001831/0.4013, allocations: 0.9722 MB / 0.6249 GB, free: 7.41 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00192/0.4032, allocations: 1.178 MB / 0.626 GB, free: 6.188 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00362/0.4068, allocations: 2.077 MB / 0.6281 GB, free: 4.066 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.4069, allocations: 0 / 0.6281 GB, free: 4.066 MB / 430.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.008193/0.4151, allocations: 3.711 MB / 0.6317 GB, free: 348 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.4151, allocations: 7.984 kB / 0.6317 GB, free: 340 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.4151, allocations: 4 kB / 0.6317 GB, free: 336 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009635/0.4248, allocations: 2.985 MB / 0.6346 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/0.426, allocations: 267.6 kB / 0.6349 GB, free: 13.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006958/0.433, allocations: 2.992 MB / 0.6378 GB, free: 10.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002225/0.4352, allocations: 246.3 kB / 0.638 GB, free: 9.816 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001466/0.4354, allocations: 71.91 kB / 0.6381 GB, free: 9.746 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 ($whenCondition2,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(34,42)} Notification: Performance of prepare postOptimizeDAE: time 0.0005726/0.4359, allocations: 294.6 kB / 0.6384 GB, free: 9.449 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002806/0.4362, allocations: 165.9 kB / 0.6385 GB, free: 9.285 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01627/0.4525, allocations: 4.815 MB / 0.6432 GB, free: 4.441 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-05/0.4525, allocations: 15.98 kB / 0.6433 GB, free: 4.426 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.4526, allocations: 4 kB / 0.6433 GB, free: 4.422 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.029e-05/0.4526, allocations: 15.86 kB / 0.6433 GB, free: 4.406 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.01894/0.4715, allocations: 6.894 MB / 0.65 GB, free: 13.38 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.074e-06/0.4716, allocations: 0 / 0.65 GB, free: 13.38 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000816/0.4724, allocations: 147.8 kB / 0.6501 GB, free: 13.23 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007461/0.4799, allocations: 2.146 MB / 0.6522 GB, free: 11.08 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001524/0.48, allocations: 24 kB / 0.6523 GB, free: 11.06 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02538/0.5054, allocations: 10.07 MB / 0.6621 GB, free: 0.832 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.5055, allocations: 4 kB / 0.6621 GB, free: 0.8281 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01908/0.5245, allocations: 5.954 MB / 0.6679 GB, free: 10.84 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005896/0.5252, allocations: 270.8 kB / 0.6682 GB, free: 10.56 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000456/0.5256, allocations: 27.94 kB / 0.6682 GB, free: 10.53 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001792/0.5274, allocations: 139.8 kB / 0.6683 GB, free: 10.39 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007958/0.5282, allocations: 253.4 kB / 0.6686 GB, free: 10.14 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001214/0.5284, allocations: 35.98 kB / 0.6686 GB, free: 10.11 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001506/0.5299, allocations: 0.9621 MB / 0.6695 GB, free: 9.148 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.154e-06/0.5299, allocations: 0 / 0.6695 GB, free: 9.148 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001467/0.5314, allocations: 0.5306 MB / 0.6701 GB, free: 8.617 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01876/0.5501, allocations: 6.555 MB / 0.6765 GB, free: 2.02 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009388/0.5595, allocations: 2.931 MB / 0.6793 GB, free: 15.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.5596, allocations: 8.062 kB / 0.6793 GB, free: 15.09 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006112/0.5657, allocations: 1.926 MB / 0.6812 GB, free: 13.14 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001248/0.567, allocations: 130.9 kB / 0.6813 GB, free: 13.01 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0453/0.6123, allocations: 20.26 MB / 0.7011 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007789/0.6131, allocations: 1.223 MB / 0.7023 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006187/0.6137, allocations: 142 kB / 0.7025 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008505/0.6146, allocations: 0.6047 MB / 0.7031 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of SimCode: time 4.91e-07/0.6146, allocations: 0 / 0.7031 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07359/0.6882, allocations: 43.64 MB / 0.7457 GB, free: 10.38 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.54, allocations: 11.25 kB / 0.7457 GB, free: 10.37 MB / 0.545 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_SCRX_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_SCRX.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe 2>&1)