Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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/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 Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.GAST,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_GAST",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.GAST,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.001007/0.001007, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.296/1.296, allocations: 205.2 MB / 218.5 MB, free: 9.219 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008684/0.0008684, allocations: 89.78 kB / 266.6 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08127/0.08127, allocations: 12.19 MB / 326.9 MB, free: 12.88 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2811/0.2811, allocations: 78.02 MB / 455.6 MB, free: 15.35 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 6.709e-05/6.74e-05, allocations: 9.562 kB / 0.5213 GB, free: 24.12 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1276, allocations: 69.25 MB / 0.589 GB, free: 2.938 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4054/0.5331, allocations: 115.5 MB / 0.7018 GB, free: 0.9609 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002734/0.5334, allocations: 86.06 kB / 0.7019 GB, free: 0.9141 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1274/0.6608, allocations: 46.44 MB / 0.7472 GB, free: 9.789 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.6609, allocations: 0 / 0.7472 GB, free: 9.789 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001734/0.6611, allocations: 36 kB / 0.7472 GB, free: 9.754 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: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.007118/0.6682, allocations: 2.333 MB / 0.7495 GB, free: 7.523 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.6683, allocations: 15.98 kB / 0.7495 GB, free: 7.508 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005582/0.6688, allocations: 181.4 kB / 0.7497 GB, free: 7.398 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003561/0.6724, allocations: 0.5956 MB / 0.7503 GB, free: 6.84 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002976/0.6754, allocations: 1.132 MB / 0.7514 GB, free: 5.934 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005578/0.676, allocations: 478.2 kB / 0.7518 GB, free: 5.438 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004722/0.6765, allocations: 124.6 kB / 0.752 GB, free: 5.355 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003198/0.6797, allocations: 1.408 MB / 0.7533 GB, free: 4.41 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.775e-05/0.6797, allocations: 0 / 0.7533 GB, free: 4.41 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001805/0.6799, allocations: 51.19 kB / 0.7534 GB, free: 4.398 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.535e-05/0.6799, allocations: 24 kB / 0.7534 GB, free: 4.375 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002293/0.6823, allocations: 1.294 MB / 0.7547 GB, free: 3.559 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.01038/0.6926, allocations: 5.793 MB / 0.7603 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008337/0.701, allocations: 3.425 MB / 0.7637 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001644/0.7027, allocations: 0.811 MB / 0.7645 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007166/0.7034, allocations: 0.7349 MB / 0.7652 GB, free: 9.832 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002034/0.7055, allocations: 1.013 MB / 0.7662 GB, free: 8.793 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=148): time 5.31e-06/0.7055, allocations: 3.984 kB / 0.7662 GB, free: 8.789 MB / 0.4948 GB Notification: Performance of matching and sorting (n=148): time 0.01569/0.7212, allocations: 5.251 MB / 0.7713 GB, free: 3.512 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.235e-05/0.7213, allocations: 149.8 kB / 0.7715 GB, free: 3.332 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002264/0.7236, allocations: 1.329 MB / 0.7728 GB, free: 2.004 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000422/0.7241, allocations: 49.7 kB / 0.7728 GB, free: 1.949 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006057/0.7247, allocations: 0.7349 MB / 0.7735 GB, free: 1.207 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000666/0.7253, allocations: 0.5198 MB / 0.774 GB, free: 0.6797 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.7255, allocations: 36.06 kB / 0.7741 GB, free: 0.6445 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002006/0.7257, allocations: 373.9 kB / 0.7744 GB, free: 280 kB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001312/0.727, allocations: 0.6836 MB / 0.7751 GB, free: 15.59 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001382/0.7284, allocations: 0.8871 MB / 0.7759 GB, free: 14.65 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001387/0.7298, allocations: 0.7846 MB / 0.7767 GB, free: 13.86 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.7298, allocations: 0 / 0.7767 GB, free: 13.86 MB / 0.5105 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.004825/0.7346, allocations: 2.413 MB / 0.7791 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.815e-05/0.7347, allocations: 33.7 kB / 0.7791 GB, free: 11.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.242e-05/0.7347, allocations: 4.5 kB / 0.7791 GB, free: 11.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008256/0.743, allocations: 2.515 MB / 0.7816 GB, free: 8.867 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001371/0.7444, allocations: 263.6 kB / 0.7818 GB, free: 8.609 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004634/0.7491, allocations: 2.265 MB / 0.784 GB, free: 6.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002516/0.7516, allocations: 298.5 kB / 0.7843 GB, free: 6.027 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001779/0.7518, allocations: 59.98 kB / 0.7844 GB, free: 5.969 MB / 0.5105 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 (148): * Single equations (assignments): 145 * 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.0003586/0.7521, allocations: 180.7 kB / 0.7845 GB, free: 5.785 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003676/0.7525, allocations: 189.7 kB / 0.7847 GB, free: 5.598 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01588/0.7684, allocations: 5.418 MB / 0.79 GB, free: 156 kB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.626e-05/0.7685, allocations: 16 kB / 0.79 GB, free: 140 kB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.238e-06/0.7685, allocations: 3.938 kB / 0.79 GB, free: 136 kB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.702e-05/0.7685, allocations: 11.97 kB / 0.79 GB, free: 124 kB / 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 postOpt removeSimpleEquations (simulation): time 0.02038/0.7889, allocations: 7.943 MB / 0.7978 GB, free: 8.043 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.749e-05/0.789, allocations: 3.953 kB / 0.7978 GB, free: 8.039 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001165/0.7902, allocations: 167.8 kB / 0.798 GB, free: 7.875 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00676/0.7969, allocations: 2.108 MB / 0.8 GB, free: 5.762 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002908/0.7973, allocations: 28 kB / 0.8 GB, free: 5.734 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01985/0.8171, allocations: 9.665 MB / 0.8095 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.8172, allocations: 4 kB / 0.8095 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01794/0.8351, allocations: 6.545 MB / 0.8159 GB, free: 5.188 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008751/0.836, allocations: 302.5 kB / 0.8162 GB, free: 4.871 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003487/0.8364, allocations: 31.94 kB / 0.8162 GB, free: 4.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001789/0.8382, allocations: 211.8 kB / 0.8164 GB, free: 4.633 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008846/0.8391, allocations: 285.2 kB / 0.8167 GB, free: 4.352 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001292/0.8392, allocations: 43.98 kB / 0.8167 GB, free: 4.309 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001542/0.8408, allocations: 1.027 MB / 0.8177 GB, free: 3.289 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8408, allocations: 0 / 0.8177 GB, free: 3.289 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001595/0.8424, allocations: 0.5695 MB / 0.8183 GB, free: 2.719 MB / 0.5417 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.01822/0.8606, allocations: 7.37 MB / 0.8255 GB, free: 11.29 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.007305/0.8679, allocations: 2.64 MB / 0.8281 GB, free: 8.629 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.868, allocations: 0.875 kB / 0.8281 GB, free: 8.629 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005928/0.8739, allocations: 2.137 MB / 0.8301 GB, free: 6.469 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001305/0.8753, allocations: 150 kB / 0.8303 GB, free: 6.32 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006582/0.8819, allocations: 3.189 MB / 0.8334 GB, free: 3.062 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000935/0.8828, allocations: 1.378 MB / 0.8347 GB, free: 1.652 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007071/0.8836, allocations: 150.2 kB / 0.8349 GB, free: 1.504 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009535/0.8845, allocations: 0.7062 MB / 0.8356 GB, free: 0.7969 MB / 0.5573 GB Notification: Performance of SimCode: time 9.72e-07/0.8845, allocations: 0 / 0.8356 GB, free: 0.7969 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3393/1.224, allocations: 42.76 MB / 0.8773 GB, free: 177.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00015/1.224, allocations: 168.1 kB / 0.8775 GB, free: 177.2 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.425/4.649, allocations: 0 / 0.8775 GB, free: 177.2 MB / 0.5886 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_GAST_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_GAST.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe 2>&1)