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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.0009524/0.0009524, allocations: 175 kB / 12.73 MB, free: 2.59 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.193/1.193, allocations: 221.4 MB / 234.6 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008349/0.0008349, allocations: 87.97 kB / 285.6 MB, free: 13.01 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4349/0.4349, allocations: 78.91 MB / 415.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.96e-05/2.963e-05, allocations: 4 kB / 492.9 MB, free: 13.03 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/0.3047, allocations: 69.5 MB / 0.5492 GB, free: 19.51 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1429/0.4476, allocations: 112.3 MB / 0.6588 GB, free: 3.328 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002568/0.4479, allocations: 91.94 kB / 0.6589 GB, free: 3.238 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3985/0.8464, allocations: 45.23 MB / 0.7031 GB, free: 105.1 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.8464, allocations: 0 / 0.7031 GB, free: 105.1 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.944e-05/0.8465, allocations: 37.25 kB / 0.7031 GB, free: 105.1 MB / 490.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.005121/0.8517, allocations: 2.239 MB / 0.7053 GB, free: 103.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.8517, allocations: 15.31 kB / 0.7053 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002051/0.8519, allocations: 175.5 kB / 0.7055 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004122/0.8561, allocations: 0.7918 MB / 0.7063 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001784/0.8579, allocations: 1.144 MB / 0.7074 GB, free: 102.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004476/0.8583, allocations: 0.5756 MB / 0.7079 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001875/0.8585, allocations: 119.9 kB / 0.7081 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002058/0.8606, allocations: 1.365 MB / 0.7094 GB, free: 100.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/0.8606, allocations: 8 kB / 0.7094 GB, free: 100.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001244/0.8608, allocations: 44 kB / 0.7094 GB, free: 100.1 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.676e-05/0.8608, allocations: 28 kB / 0.7095 GB, free: 100.1 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001875/0.8627, allocations: 1.254 MB / 0.7107 GB, free: 98.82 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.008787/0.8714, allocations: 5.689 MB / 0.7163 GB, free: 92.96 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007108/0.8786, allocations: 3.305 MB / 0.7195 GB, free: 89.51 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001082/0.8797, allocations: 0.7809 MB / 0.7202 GB, free: 88.72 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000139/0.8798, allocations: 24.83 kB / 0.7203 GB, free: 88.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001301/0.8811, allocations: 0.951 MB / 0.7212 GB, free: 87.73 MB / 490.7 MB Notification: Performance of pre-optimization done (n=139): time 3.787e-06/0.8812, allocations: 0 / 0.7212 GB, free: 87.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=139): time 0.01397/0.8951, allocations: 5.062 MB / 0.7261 GB, free: 82.66 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.784e-05/0.8952, allocations: 171.5 kB / 0.7263 GB, free: 82.45 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00201/0.8973, allocations: 1.345 MB / 0.7276 GB, free: 81.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002971/0.8976, allocations: 49.7 kB / 0.7277 GB, free: 81.05 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000371/0.8979, allocations: 0.7008 MB / 0.7283 GB, free: 80.34 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003922/0.8983, allocations: 0.4928 MB / 0.7288 GB, free: 79.85 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.277e-05/0.8984, allocations: 28 kB / 0.7289 GB, free: 79.82 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.066e-05/0.8985, allocations: 366 kB / 0.7292 GB, free: 79.46 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009972/0.8995, allocations: 0.6562 MB / 0.7298 GB, free: 78.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001042/0.9006, allocations: 0.846 MB / 0.7307 GB, free: 77.91 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/0.9016, allocations: 0.7495 MB / 0.7314 GB, free: 77.16 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.9017, allocations: 0 / 0.7314 GB, free: 77.16 MB / 490.7 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.003701/0.9054, allocations: 2.363 MB / 0.7337 GB, free: 74.78 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002658/0.9056, allocations: 1.479 MB / 0.7352 GB, free: 73.17 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.9057, allocations: 4 kB / 0.7352 GB, free: 73.17 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007015/0.9127, allocations: 2.446 MB / 0.7375 GB, free: 70.72 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/0.9137, allocations: 215.7 kB / 0.7378 GB, free: 70.51 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004281/0.918, allocations: 2.452 MB / 0.7401 GB, free: 68.03 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002391/0.9204, allocations: 298.5 kB / 0.7404 GB, free: 67.73 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002184/0.9207, allocations: 55.98 kB / 0.7405 GB, free: 67.68 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.9207, allocations: 4 kB / 0.7405 GB, free: 67.68 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003641/0.9243, allocations: 2.18 MB / 0.7426 GB, free: 65.49 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.9244, allocations: 4 kB / 0.7426 GB, free: 65.48 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006809/0.9312, allocations: 2.441 MB / 0.745 GB, free: 63.04 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009309/0.9321, allocations: 207.7 kB / 0.7452 GB, free: 62.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00406/0.9362, allocations: 2.445 MB / 0.7476 GB, free: 60.37 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002268/0.9385, allocations: 282.7 kB / 0.7479 GB, free: 60.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001923/0.9387, allocations: 51.98 kB / 0.7479 GB, free: 60.04 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (sCRX.booleanConstant.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * Single equations (assignments): 116 * 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 43} Notification: Performance of prepare postOptimizeDAE: time 0.0004087/0.9391, allocations: 177.9 kB / 0.7481 GB, free: 59.86 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005889/0.9397, allocations: 181.8 kB / 0.7483 GB, free: 59.68 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01388/0.9536, allocations: 5.205 MB / 0.7533 GB, free: 54.46 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.609e-05/0.9537, allocations: 19.94 kB / 0.7534 GB, free: 54.44 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/0.9537, allocations: 4 kB / 0.7534 GB, free: 54.43 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.513e-05/0.9537, allocations: 15.92 kB / 0.7534 GB, free: 54.42 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.01815/0.9719, allocations: 7.725 MB / 0.7609 GB, free: 46.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.938e-05/0.972, allocations: 0 / 0.7609 GB, free: 46.59 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001192/0.9732, allocations: 183.7 kB / 0.7611 GB, free: 46.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005857/0.979, allocations: 2.002 MB / 0.763 GB, free: 44.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000308/0.9794, allocations: 31.98 kB / 0.7631 GB, free: 44.37 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01632/0.9957, allocations: 7.862 MB / 0.7708 GB, free: 36.37 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.9958, allocations: 0 / 0.7708 GB, free: 36.37 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01601/1.012, allocations: 6.285 MB / 0.7769 GB, free: 30.04 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008113/1.013, allocations: 314.5 kB / 0.7772 GB, free: 29.71 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006396/1.013, allocations: 28 kB / 0.7772 GB, free: 29.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002148/1.015, allocations: 207.8 kB / 0.7774 GB, free: 29.48 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008926/1.016, allocations: 277.2 kB / 0.7777 GB, free: 29.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001997/1.017, allocations: 36 kB / 0.7777 GB, free: 29.17 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001679/1.018, allocations: 1.037 MB / 0.7787 GB, free: 28.14 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.3e-07/1.018, allocations: 0 / 0.7787 GB, free: 28.14 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002798/1.021, allocations: 0.8385 MB / 0.7795 GB, free: 27.3 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 95 * 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.01582/1.037, allocations: 7.114 MB / 0.7865 GB, free: 20.13 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01249/1.049, allocations: 4.419 MB / 0.7908 GB, free: 15.69 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/1.05, allocations: 0 / 0.7908 GB, free: 15.69 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00525/1.055, allocations: 1.952 MB / 0.7927 GB, free: 13.72 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001598/1.056, allocations: 143.9 kB / 0.7929 GB, free: 13.58 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006952/1.063, allocations: 3.074 MB / 0.7959 GB, free: 10.45 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007114/1.064, allocations: 1.345 MB / 0.7972 GB, free: 9.066 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001414/1.066, allocations: 286.8 kB / 0.7974 GB, free: 8.781 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006692/1.066, allocations: 0.6633 MB / 0.7981 GB, free: 8.117 MB / 490.7 MB Notification: Performance of SimCode: time 5.82e-07/1.066, allocations: 0 / 0.7981 GB, free: 8.117 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08504/1.151, allocations: 49.94 MB / 0.8469 GB, free: 6.344 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001774/1.151, allocations: 165.2 kB / 0.847 GB, free: 6.121 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.39/4.542, allocations: 3.938 kB / 0.847 GB, free: 6.117 MB / 0.5261 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)