Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL_Tests_Controls_PSSE_TG_IEESGO",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.IEESGO,fileNamePrefix="OpenIPSL_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.001268/0.001268, allocations: 174.5 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.275/1.275, allocations: 221.4 MB / 234.6 MB, free: 14.44 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.0008239/0.0008238, allocations: 90.7 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4195/0.4195, allocations: 78.04 MB / 414.5 MB, free: 10.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.405e-05/2.407e-05, allocations: 0 / 491.9 MB, free: 13.77 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2901, allocations: 69.34 MB / 0.5481 GB, free: 20.07 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1254/0.4155, allocations: 111.6 MB / 0.657 GB, free: 4.777 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002598/0.4159, allocations: 91.94 kB / 0.6571 GB, free: 4.688 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3853/0.8012, allocations: 47.69 MB / 0.7037 GB, free: 104.7 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.8012, allocations: 0 / 0.7037 GB, free: 104.7 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.105e-05/0.8013, allocations: 38.09 kB / 0.7037 GB, free: 104.7 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.005604/0.8069, allocations: 2.235 MB / 0.7059 GB, free: 103.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.807, allocations: 19.03 kB / 0.7059 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000374/0.8074, allocations: 175.2 kB / 0.7061 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003124/0.8105, allocations: 0.5782 MB / 0.7067 GB, free: 102.9 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002091/0.8126, allocations: 1.085 MB / 0.7077 GB, free: 102.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004649/0.8131, allocations: 0.5654 MB / 0.7083 GB, free: 101.5 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002324/0.8133, allocations: 122.2 kB / 0.7084 GB, free: 101.4 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002122/0.8155, allocations: 1.368 MB / 0.7097 GB, free: 100.1 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.344e-05/0.8155, allocations: 7.922 kB / 0.7097 GB, free: 100.1 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001283/0.8156, allocations: 48 kB / 0.7098 GB, free: 100 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.51e-05/0.8157, allocations: 28 kB / 0.7098 GB, free: 99.98 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001925/0.8176, allocations: 1.247 MB / 0.711 GB, free: 98.73 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.008826/0.8264, allocations: 5.586 MB / 0.7165 GB, free: 92.96 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007398/0.8339, allocations: 3.301 MB / 0.7197 GB, free: 89.52 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001347/0.8352, allocations: 0.7803 MB / 0.7205 GB, free: 88.73 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001528/0.8354, allocations: 30.38 kB / 0.7205 GB, free: 88.71 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001337/0.8368, allocations: 0.9488 MB / 0.7214 GB, free: 87.74 MB / 490.7 MB Notification: Performance of pre-optimization done (n=139): time 3.135e-06/0.8368, allocations: 3.938 kB / 0.7214 GB, free: 87.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=139): time 0.01403/0.8508, allocations: 5.048 MB / 0.7264 GB, free: 82.68 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.772e-05/0.8509, allocations: 167.5 kB / 0.7265 GB, free: 82.47 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001918/0.8528, allocations: 1.275 MB / 0.7278 GB, free: 81.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003209/0.8532, allocations: 53.64 kB / 0.7278 GB, free: 81.14 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003678/0.8536, allocations: 0.71 MB / 0.7285 GB, free: 80.42 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004663/0.854, allocations: 0.4921 MB / 0.729 GB, free: 79.93 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.538e-05/0.8541, allocations: 28 kB / 0.729 GB, free: 79.91 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.198e-05/0.8542, allocations: 361.9 kB / 0.7294 GB, free: 79.55 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009991/0.8552, allocations: 0.6601 MB / 0.73 GB, free: 78.89 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001106/0.8563, allocations: 0.8403 MB / 0.7308 GB, free: 77.99 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/0.8574, allocations: 0.7456 MB / 0.7316 GB, free: 77.25 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.8574, allocations: 3.984 kB / 0.7316 GB, free: 77.24 MB / 490.7 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004004/0.8614, allocations: 2.363 MB / 0.7339 GB, free: 74.86 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003293/0.8618, allocations: 1.483 MB / 0.7353 GB, free: 73.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.8618, allocations: 4 kB / 0.7353 GB, free: 73.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007176/0.869, allocations: 2.439 MB / 0.7377 GB, free: 70.81 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001087/0.8701, allocations: 219.7 kB / 0.7379 GB, free: 70.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004184/0.8743, allocations: 2.452 MB / 0.7403 GB, free: 68.11 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002232/0.8766, allocations: 294.5 kB / 0.7406 GB, free: 67.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001309/0.8767, allocations: 51.98 kB / 0.7406 GB, free: 67.77 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.8767, allocations: 4 kB / 0.7406 GB, free: 67.77 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003307/0.88, allocations: 2.18 MB / 0.7428 GB, free: 65.58 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.8801, allocations: 7.984 kB / 0.7428 GB, free: 65.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006816/0.8869, allocations: 2.444 MB / 0.7452 GB, free: 63.12 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009155/0.8878, allocations: 211.7 kB / 0.7454 GB, free: 62.92 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003956/0.8918, allocations: 2.449 MB / 0.7478 GB, free: 60.45 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00208/0.8939, allocations: 278.7 kB / 0.748 GB, free: 60.17 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001304/0.894, allocations: 51.98 kB / 0.7481 GB, free: 60.12 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.000343/0.8944, allocations: 180.6 kB / 0.7482 GB, free: 59.94 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003057/0.8947, allocations: 185.8 kB / 0.7484 GB, free: 59.75 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01342/0.9081, allocations: 5.201 MB / 0.7535 GB, free: 54.54 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.948e-05/0.9082, allocations: 12 kB / 0.7535 GB, free: 54.52 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.9082, allocations: 4 kB / 0.7535 GB, free: 54.52 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.525e-05/0.9083, allocations: 7.938 kB / 0.7535 GB, free: 54.51 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.01763/0.9259, allocations: 7.69 MB / 0.761 GB, free: 46.72 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.781e-05/0.926, allocations: 4 kB / 0.761 GB, free: 46.71 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001265/0.9272, allocations: 179.8 kB / 0.7612 GB, free: 46.54 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006029/0.9333, allocations: 2.013 MB / 0.7632 GB, free: 44.52 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003749/0.9337, allocations: 28 kB / 0.7632 GB, free: 44.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01598/0.9497, allocations: 7.848 MB / 0.7709 GB, free: 36.51 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.9497, allocations: 4 kB / 0.7709 GB, free: 36.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01574/0.9655, allocations: 6.279 MB / 0.777 GB, free: 30.18 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007433/0.9663, allocations: 294.6 kB / 0.7773 GB, free: 29.87 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006014/0.9669, allocations: 28 kB / 0.7773 GB, free: 29.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002047/0.9689, allocations: 219.8 kB / 0.7775 GB, free: 29.62 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008194/0.9698, allocations: 269.3 kB / 0.7778 GB, free: 29.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000151/0.9699, allocations: 35.98 kB / 0.7778 GB, free: 29.32 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001411/0.9714, allocations: 0.982 MB / 0.7788 GB, free: 28.35 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.9714, allocations: 0 / 0.7788 GB, free: 28.35 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00251/0.9739, allocations: 0.8267 MB / 0.7796 GB, free: 27.52 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.01657/0.9905, allocations: 7.131 MB / 0.7865 GB, free: 20.34 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01276/1.003, allocations: 4.405 MB / 0.7908 GB, free: 15.92 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.784e-06/1.003, allocations: 0 / 0.7908 GB, free: 15.92 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005302/1.009, allocations: 1.963 MB / 0.7928 GB, free: 13.94 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001275/1.01, allocations: 139.2 kB / 0.7929 GB, free: 13.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006074/1.016, allocations: 3.052 MB / 0.7959 GB, free: 10.69 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005769/1.017, allocations: 1.341 MB / 0.7972 GB, free: 9.312 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001247/1.018, allocations: 286.9 kB / 0.7975 GB, free: 9.027 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006378/1.019, allocations: 0.6672 MB / 0.7981 GB, free: 8.359 MB / 490.7 MB Notification: Performance of SimCode: time 5.71e-07/1.019, allocations: 0 / 0.7981 GB, free: 8.359 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07983/1.098, allocations: 49.39 MB / 0.8463 GB, free: 7.164 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002132/1.099, allocations: 167.5 kB / 0.8465 GB, free: 6.934 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.552/4.65, allocations: 0 / 0.8465 GB, free: 6.934 MB / 0.5261 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_IEESGO_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_IEESGO.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe 2>&1)