Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.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.GAST,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_GAST",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.GAST,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_GAST",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.001166/0.001167, allocations: 172.5 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 221.5 MB / 229.6 MB, free: 7.59 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 96.62 kB / 280.5 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4677/0.4677, allocations: 78.94 MB / 410.2 MB, free: 5.977 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.967e-05/1.969e-05, allocations: 4 kB / 486 MB, free: 11.44 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1354, allocations: 69.52 MB / 0.5425 GB, free: 5.816 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4398/0.5752, allocations: 114 MB / 0.6539 GB, free: 44 kB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003535/0.5757, allocations: 84.03 kB / 0.6539 GB, free: 15.96 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1296/0.7053, allocations: 45.53 MB / 0.6984 GB, free: 2.426 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.423e-06/0.7053, allocations: 0 / 0.6984 GB, free: 2.426 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001886/0.7055, allocations: 39.94 kB / 0.6984 GB, free: 2.387 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.008198/0.7137, allocations: 2.326 MB / 0.7007 GB, free: 4 kB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 9.078e-05/0.7138, allocations: 8.078 kB / 0.7007 GB, free: 15.99 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004465/0.7183, allocations: 0.7077 MB / 0.7014 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003001/0.7213, allocations: 1.173 MB / 0.7026 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005451/0.7219, allocations: 430.7 kB / 0.703 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004255/0.7223, allocations: 79.95 kB / 0.703 GB, free: 13.49 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002731/0.725, allocations: 1.211 MB / 0.7042 GB, free: 12.27 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002258/0.7273, allocations: 1.245 MB / 0.7054 GB, free: 10.99 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.331e-05/0.7274, allocations: 0 / 0.7054 GB, free: 10.99 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001177/0.7275, allocations: 0 / 0.7054 GB, free: 10.99 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.091e-05/0.7275, allocations: 28 kB / 0.7055 GB, free: 10.96 MB / 0.5105 GB 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.01043/0.7379, allocations: 5.652 MB / 0.711 GB, free: 5.109 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008318/0.7463, allocations: 3.362 MB / 0.7143 GB, free: 1.617 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001232/0.7475, allocations: 0.7679 MB / 0.715 GB, free: 0.8438 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006967/0.7483, allocations: 0.7388 MB / 0.7157 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001656/0.7499, allocations: 0.9682 MB / 0.7167 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=148): time 4.809e-06/0.7499, allocations: 3.984 kB / 0.7167 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of matching and sorting (n=148): time 0.01624/0.7662, allocations: 5.161 MB / 0.7217 GB, free: 9.754 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.748e-05/0.7663, allocations: 147 kB / 0.7219 GB, free: 9.578 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002882/0.7692, allocations: 1.241 MB / 0.7231 GB, free: 8.336 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003561/0.7696, allocations: 29.7 kB / 0.7231 GB, free: 8.301 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007203/0.7703, allocations: 0.7461 MB / 0.7238 GB, free: 7.547 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008369/0.7712, allocations: 0.4926 MB / 0.7243 GB, free: 7.047 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/0.7713, allocations: 0 / 0.7243 GB, free: 7.047 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.7715, allocations: 365.8 kB / 0.7247 GB, free: 6.684 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001141/0.7726, allocations: 0.6601 MB / 0.7253 GB, free: 6.023 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001239/0.7739, allocations: 0.8364 MB / 0.7261 GB, free: 5.137 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001531/0.7754, allocations: 0.7438 MB / 0.7269 GB, free: 4.398 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-06/0.7754, allocations: 0 / 0.7269 GB, free: 4.398 MB / 0.5261 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004456/0.7799, allocations: 2.251 MB / 0.7291 GB, free: 2.137 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.652e-05/0.78, allocations: 38.86 kB / 0.7291 GB, free: 2.094 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-05/0.78, allocations: 5.281 kB / 0.7291 GB, free: 2.09 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007517/0.7875, allocations: 2.281 MB / 0.7313 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001218/0.7888, allocations: 263.7 kB / 0.7316 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004705/0.7935, allocations: 2.431 MB / 0.734 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002391/0.7959, allocations: 270.5 kB / 0.7342 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000136/0.796, allocations: 55.98 kB / 0.7343 GB, free: 12.77 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,iEEET1.rotatingExciter.sISO.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * 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 {30 26} Notification: Performance of prepare postOptimizeDAE: time 0.0003246/0.7964, allocations: 133.7 kB / 0.7344 GB, free: 12.63 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01528/0.8117, allocations: 5.15 MB / 0.7394 GB, free: 7.465 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005093/0.8122, allocations: 189.8 kB / 0.7396 GB, free: 7.277 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01609/0.8283, allocations: 5.294 MB / 0.7448 GB, free: 1.969 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-05/0.8284, allocations: 16 kB / 0.7448 GB, free: 1.953 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/0.8284, allocations: 4 kB / 0.7448 GB, free: 1.949 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.219e-05/0.8285, allocations: 8.812 kB / 0.7448 GB, free: 1.941 MB / 0.5417 GB 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.02201/0.8505, allocations: 7.72 MB / 0.7523 GB, free: 10.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.835e-05/0.8505, allocations: 0 / 0.7523 GB, free: 10.09 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/0.8516, allocations: 171.7 kB / 0.7525 GB, free: 9.922 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006724/0.8584, allocations: 2.081 MB / 0.7545 GB, free: 7.836 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002491/0.8586, allocations: 19.98 kB / 0.7546 GB, free: 7.816 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.337/1.196, allocations: 9.467 MB / 0.7638 GB, free: 132.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.742e-06/1.196, allocations: 0.9375 kB / 0.7638 GB, free: 132.7 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01732/1.213, allocations: 6.404 MB / 0.7701 GB, free: 132.4 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008869/1.214, allocations: 306 kB / 0.7703 GB, free: 132.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003001/1.214, allocations: 10.16 kB / 0.7704 GB, free: 132.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001868/1.216, allocations: 193.6 kB / 0.7705 GB, free: 132.2 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008009/1.217, allocations: 284.4 kB / 0.7708 GB, free: 132.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001064/1.217, allocations: 41.92 kB / 0.7708 GB, free: 132.2 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001303/1.218, allocations: 0.9414 MB / 0.7718 GB, free: 132.1 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.4e-07/1.218, allocations: 0 / 0.7718 GB, free: 132.1 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001589/1.22, allocations: 0.5121 MB / 0.7723 GB, free: 132.1 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 16 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,iEEET1.derivativeLag.x,iEEET1.simpleLagLim.state,iEEET1.rotatingExciter.sISO.y,iEEET1.TransducerDelay.state,gAST.transferFunction1.x_scaled[1],gAST.transferFunction2.x_scaled[1],gAST.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 97 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {26 23,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01706/1.237, allocations: 7.232 MB / 0.7793 GB, free: 131 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.007488/1.245, allocations: 2.545 MB / 0.7818 GB, free: 130.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/1.245, allocations: 0 / 0.7818 GB, free: 130.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005963/1.251, allocations: 2.069 MB / 0.7838 GB, free: 130.5 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001284/1.252, allocations: 122.6 kB / 0.784 GB, free: 130.5 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005942/1.258, allocations: 3.04 MB / 0.7869 GB, free: 129.4 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007479/1.259, allocations: 1.381 MB / 0.7883 GB, free: 128.7 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0006747/1.259, allocations: 145.5 kB / 0.7884 GB, free: 128.7 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007922/1.26, allocations: 0.6979 MB / 0.7891 GB, free: 128.7 MB / 0.5573 GB Notification: Performance of SimCode: time 7.91e-07/1.26, allocations: 0 / 0.7891 GB, free: 128.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07748/1.338, allocations: 40.05 MB / 0.8282 GB, free: 127 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000142/1.338, allocations: 130 kB / 0.8283 GB, free: 126.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.471/4.809, allocations: 3.781 kB / 0.8283 GB, free: 126.8 MB / 0.5573 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_GAST_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_GAST.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe 2>&1)