Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.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.IEEEG1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_IEEEG1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_IEEEG1",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.001442/0.001442, allocations: 174.6 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.357/1.357, allocations: 205.2 MB / 218.5 MB, free: 9.211 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.0008663/0.0008663, allocations: 87.47 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.0706/0.0706, allocations: 12.2 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.2789/0.2789, allocations: 78.03 MB / 455.7 MB, free: 15.35 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.846e-05/2.85e-05, allocations: 4 kB / 0.5213 GB, free: 24.11 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.121, allocations: 69.25 MB / 0.5889 GB, free: 2.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4114/0.5325, allocations: 117.8 MB / 0.704 GB, free: 14.66 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002121/0.5328, allocations: 84.05 kB / 0.7041 GB, free: 14.61 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1395/0.6722, allocations: 51.93 MB / 0.7548 GB, free: 2.91 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.6723, allocations: 0 / 0.7548 GB, free: 2.91 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001362/0.6724, allocations: 36 kB / 0.7548 GB, free: 2.875 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: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.007191/0.6796, allocations: 2.48 MB / 0.7572 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/0.6797, allocations: 11.98 kB / 0.7573 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000456/0.6802, allocations: 202.5 kB / 0.7575 GB, free: 396 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003452/0.6836, allocations: 0.6308 MB / 0.7581 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002634/0.6863, allocations: 1.249 MB / 0.7593 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005854/0.6869, allocations: 0.5867 MB / 0.7599 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002851/0.6872, allocations: 131.8 kB / 0.76 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002782/0.69, allocations: 1.571 MB / 0.7615 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.542e-05/0.69, allocations: 0 / 0.7615 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002048/0.6902, allocations: 58.11 kB / 0.7616 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-05/0.6903, allocations: 35.95 kB / 0.7616 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002954/0.6932, allocations: 1.377 MB / 0.763 GB, free: 12.12 MB / 0.4948 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.0132/0.7065, allocations: 6.298 MB / 0.7691 GB, free: 6.055 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008488/0.715, allocations: 3.454 MB / 0.7725 GB, free: 2.465 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00187/0.7169, allocations: 0.8694 MB / 0.7733 GB, free: 1.59 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007074/0.7176, allocations: 0.7339 MB / 0.774 GB, free: 0.6875 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001948/0.7196, allocations: 1.028 MB / 0.775 GB, free: 15.63 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=159): time 3.627e-06/0.7196, allocations: 0 / 0.775 GB, free: 15.63 MB / 0.5105 GB Notification: Performance of matching and sorting (n=159): time 0.01603/0.7356, allocations: 5.208 MB / 0.7801 GB, free: 10.41 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.7358, allocations: 149.9 kB / 0.7803 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003189/0.739, allocations: 1.439 MB / 0.7817 GB, free: 8.75 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004419/0.7395, allocations: 53.7 kB / 0.7817 GB, free: 8.691 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000793/0.7403, allocations: 0.8254 MB / 0.7825 GB, free: 7.859 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008807/0.7412, allocations: 0.5544 MB / 0.7831 GB, free: 7.297 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00022/0.7414, allocations: 36 kB / 0.7831 GB, free: 7.262 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002023/0.7416, allocations: 369.9 kB / 0.7835 GB, free: 6.895 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001548/0.7431, allocations: 0.7148 MB / 0.7842 GB, free: 6.18 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0016/0.7448, allocations: 0.9365 MB / 0.7851 GB, free: 5.18 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001574/0.7463, allocations: 0.7947 MB / 0.7859 GB, free: 4.391 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.7464, allocations: 0 / 0.7859 GB, free: 4.391 MB / 0.5105 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.005142/0.7515, allocations: 2.477 MB / 0.7883 GB, free: 1.898 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006715/0.7522, allocations: 1.746 MB / 0.79 GB, free: 32 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.602e-05/0.7522, allocations: 8 kB / 0.79 GB, free: 24 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008219/0.7605, allocations: 2.515 MB / 0.7924 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001549/0.762, allocations: 307.6 kB / 0.7927 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004572/0.7666, allocations: 2.253 MB / 0.7949 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002677/0.7693, allocations: 314.3 kB / 0.7952 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003021/0.7697, allocations: 59.98 kB / 0.7953 GB, free: 10.56 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.7697, allocations: 4 kB / 0.7953 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004793/0.7745, allocations: 2.259 MB / 0.7975 GB, free: 8.289 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.907e-05/0.7746, allocations: 4 kB / 0.7975 GB, free: 8.285 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008152/0.7827, allocations: 2.508 MB / 0.8 GB, free: 5.773 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001594/0.7843, allocations: 299.6 kB / 0.8002 GB, free: 5.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004699/0.7891, allocations: 2.257 MB / 0.8024 GB, free: 3.199 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002815/0.7919, allocations: 310.4 kB / 0.8027 GB, free: 2.895 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003389/0.7923, allocations: 55.98 kB / 0.8028 GB, free: 2.84 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,iEEEG1.limIntegrator.local_reset,iEEET1.rotatingExciter.sISO.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (159): * Single equations (assignments): 157 * Array equations: 0 * Algorithm blocks: 0 * 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.0006113/0.7929, allocations: 184.7 kB / 0.803 GB, free: 2.652 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007983/0.7937, allocations: 209.5 kB / 0.8032 GB, free: 2.445 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01596/0.8097, allocations: 5.4 MB / 0.8084 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.661e-05/0.8098, allocations: 16 kB / 0.8085 GB, free: 13.01 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.542e-05/0.8098, allocations: 0 / 0.8085 GB, free: 13.01 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.205e-05/0.8099, allocations: 7.969 kB / 0.8085 GB, free: 13 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.02187/0.8318, allocations: 7.832 MB / 0.8161 GB, free: 5.031 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-05/0.8318, allocations: 0 / 0.8161 GB, free: 5.031 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001538/0.8334, allocations: 231.7 kB / 0.8163 GB, free: 4.805 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006684/0.8401, allocations: 2.009 MB / 0.8183 GB, free: 2.793 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003854/0.8405, allocations: 43.92 kB / 0.8183 GB, free: 2.75 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01878/0.8593, allocations: 7.845 MB / 0.826 GB, free: 10.75 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.8594, allocations: 0 / 0.826 GB, free: 10.75 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01874/0.8781, allocations: 6.532 MB / 0.8324 GB, free: 4.168 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001013/0.8792, allocations: 330 kB / 0.8327 GB, free: 3.824 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009229/0.8801, allocations: 36 kB / 0.8327 GB, free: 3.789 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002403/0.8825, allocations: 211.8 kB / 0.8329 GB, free: 3.582 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001028/0.8836, allocations: 285.4 kB / 0.8332 GB, free: 3.301 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002539/0.8838, allocations: 47.98 kB / 0.8333 GB, free: 3.254 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.00211/0.886, allocations: 1.106 MB / 0.8343 GB, free: 2.117 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.4e-07/0.886, allocations: 0 / 0.8343 GB, free: 2.117 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003215/0.8892, allocations: 0.9281 MB / 0.8352 GB, free: 1.188 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (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,iEEEG1.imLeadLag.TF.x_scaled[1],iEEEG1.imSimpleLag.state,iEEEG1.imSimpleLag1.state,iEEEG1.imSimpleLag2.state,iEEEG1.imSimpleLag3.state,iEEEG1.limIntegrator.y) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 115 * 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.01848/0.9077, allocations: 7.318 MB / 0.8424 GB, free: 9.824 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01421/0.9219, allocations: 4.649 MB / 0.8469 GB, free: 5.168 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/0.922, allocations: 4.25 kB / 0.8469 GB, free: 5.164 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.006354/0.9284, allocations: 2.045 MB / 0.8489 GB, free: 3.098 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001828/0.9302, allocations: 170.7 kB / 0.8491 GB, free: 2.926 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009431/0.9397, allocations: 3.497 MB / 0.8525 GB, free: 15.38 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001251/0.941, allocations: 1.446 MB / 0.8539 GB, free: 13.9 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001897/0.9429, allocations: 328.9 kB / 0.8542 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001035/0.9439, allocations: 0.7687 MB / 0.855 GB, free: 12.8 MB / 0.5886 GB Notification: Performance of SimCode: time 1.252e-06/0.944, allocations: 0 / 0.855 GB, free: 12.8 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3945/1.338, allocations: 53.19 MB / 0.9069 GB, free: 172.7 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001452/1.339, allocations: 181.3 kB / 0.9071 GB, free: 172.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.931/5.27, allocations: 2.25 kB / 0.9071 GB, free: 172.5 MB / 0.5886 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_IEEEG1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_IEEEG1.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.pipe 2>&1)