Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.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.IEEEG1,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_IEEEG1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1,fileNamePrefix="OpenIPSL_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 4.0.0+maint.om/package.mo): time 0.0009088/0.0009088, allocations: 180.9 kB / 7.651 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.37/1.37, 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.0008528/0.0008531, allocations: 83 kB / 280.5 MB, free: 5.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5007/0.5007, allocations: 78.06 MB / 409.3 MB, free: 6.336 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.845e-05/1.84e-05, allocations: 4 kB / 485 MB, free: 12.18 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.1747, allocations: 69.36 MB / 0.5414 GB, free: 6.762 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4859/0.6607, allocations: 115.6 MB / 0.6542 GB, free: 15.83 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002703/0.661, allocations: 92.88 kB / 0.6543 GB, free: 15.74 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1419/0.8029, allocations: 52.55 MB / 0.7056 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.844e-06/0.803, allocations: 0 / 0.7056 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001156/0.8031, allocations: 36 kB / 0.7057 GB, free: 11.16 MB / 0.5105 GB 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.006845/0.8099, allocations: 2.485 MB / 0.7081 GB, free: 8.629 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/0.81, allocations: 8.031 kB / 0.7081 GB, free: 8.621 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003639/0.8137, allocations: 0.6184 MB / 0.7087 GB, free: 8 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002746/0.8164, allocations: 1.25 MB / 0.7099 GB, free: 6.703 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005794/0.817, allocations: 0.5369 MB / 0.7105 GB, free: 6.066 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002485/0.8173, allocations: 87.91 kB / 0.7105 GB, free: 5.98 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002533/0.8198, allocations: 1.306 MB / 0.7118 GB, free: 4.672 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002495/0.8223, allocations: 1.374 MB / 0.7132 GB, free: 3.246 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.63e-05/0.8224, allocations: 0 / 0.7132 GB, free: 3.246 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001534/0.8225, allocations: 0.8438 kB / 0.7132 GB, free: 3.246 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.191e-05/0.8226, allocations: 32 kB / 0.7132 GB, free: 3.215 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.01104/0.8336, allocations: 6.057 MB / 0.7191 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01099/0.8446, allocations: 3.417 MB / 0.7225 GB, free: 9.398 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002837/0.8475, allocations: 0.8264 MB / 0.7233 GB, free: 8.566 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009913/0.8485, allocations: 0.7339 MB / 0.724 GB, free: 7.668 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002947/0.8515, allocations: 0.9804 MB / 0.7249 GB, free: 6.668 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=159): time 6.843e-06/0.8515, allocations: 0 / 0.7249 GB, free: 6.668 MB / 0.5261 GB Notification: Performance of matching and sorting (n=159): time 0.02955/0.8811, allocations: 5.106 MB / 0.7299 GB, free: 1.539 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/0.8813, allocations: 151.1 kB / 0.7301 GB, free: 1.363 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004655/0.886, allocations: 1.299 MB / 0.7313 GB, free: 72 kB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0006292/0.8866, allocations: 25.7 kB / 0.7314 GB, free: 40 kB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001284/0.8879, allocations: 0.8172 MB / 0.7322 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001379/0.8893, allocations: 0.5349 MB / 0.7327 GB, free: 14.67 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004316/0.8898, allocations: 0 / 0.7327 GB, free: 14.67 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0003047/0.8901, allocations: 373.9 kB / 0.733 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002547/0.8927, allocations: 0.6836 MB / 0.7337 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002808/0.8955, allocations: 0.8858 MB / 0.7346 GB, free: 12.67 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003019/0.8986, allocations: 0.7751 MB / 0.7353 GB, free: 11.9 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.479e-05/0.8986, allocations: 4 kB / 0.7353 GB, free: 11.89 MB / 0.5417 GB Notification: Performance of matching and sorting (n=214) (initialization): time 0.007149/0.9058, allocations: 2.352 MB / 0.7376 GB, free: 9.531 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006974/0.9065, allocations: 1.739 MB / 0.7393 GB, free: 7.664 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.025e-05/0.9065, allocations: 9.406 kB / 0.7393 GB, free: 7.656 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007755/0.9143, allocations: 2.291 MB / 0.7416 GB, free: 5.363 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001611/0.9159, allocations: 299.6 kB / 0.7419 GB, free: 5.07 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005149/0.9211, allocations: 2.423 MB / 0.7442 GB, free: 2.621 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002817/0.924, allocations: 262.5 kB / 0.7445 GB, free: 2.363 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003695/0.9243, allocations: 67.97 kB / 0.7445 GB, free: 2.297 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.9244, allocations: 4 kB / 0.7445 GB, free: 2.293 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004828/0.9292, allocations: 2.123 MB / 0.7466 GB, free: 172 kB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.431e-05/0.9293, allocations: 4 kB / 0.7466 GB, free: 168 kB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007545/0.9368, allocations: 2.281 MB / 0.7488 GB, free: 13.88 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0015/0.9383, allocations: 287.6 kB / 0.7491 GB, free: 13.59 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004988/0.9433, allocations: 2.424 MB / 0.7515 GB, free: 11.15 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00271/0.9461, allocations: 250.6 kB / 0.7517 GB, free: 10.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003669/0.9465, allocations: 59.98 kB / 0.7518 GB, free: 10.84 MB / 0.5573 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 (157): * Single equations (assignments): 155 * 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.0006799/0.9472, allocations: 134.7 kB / 0.7519 GB, free: 10.71 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01585/0.963, allocations: 5.104 MB / 0.7569 GB, free: 5.586 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009828/0.9641, allocations: 205.5 kB / 0.7571 GB, free: 5.383 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01641/0.9805, allocations: 5.262 MB / 0.7622 GB, free: 108 kB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-05/0.9806, allocations: 16 kB / 0.7622 GB, free: 92 kB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/0.9806, allocations: 0 / 0.7622 GB, free: 92 kB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.853e-05/0.9807, allocations: 7.969 kB / 0.7623 GB, free: 84 kB / 0.5573 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.3506/1.331, allocations: 7.559 MB / 0.7696 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-05/1.331, allocations: 0 / 0.7696 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001578/1.333, allocations: 229 kB / 0.7699 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006342/1.339, allocations: 1.983 MB / 0.7718 GB, free: 129.7 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004107/1.34, allocations: 22.55 kB / 0.7718 GB, free: 129.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01712/1.357, allocations: 7.703 MB / 0.7793 GB, free: 128.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/1.357, allocations: 6.625 kB / 0.7793 GB, free: 128.5 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01935/1.376, allocations: 6.405 MB / 0.7856 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00139/1.378, allocations: 318.8 kB / 0.7859 GB, free: 127.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006324/1.378, allocations: 9 kB / 0.7859 GB, free: 127.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002282/1.381, allocations: 187 kB / 0.7861 GB, free: 127.9 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001031/1.382, allocations: 280.8 kB / 0.7864 GB, free: 127.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001415/1.382, allocations: 48.38 kB / 0.7864 GB, free: 127.9 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001637/1.383, allocations: 0.9745 MB / 0.7874 GB, free: 127.8 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.6e-07/1.383, allocations: 0 / 0.7874 GB, free: 127.8 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002816/1.386, allocations: 0.8432 MB / 0.7882 GB, free: 127.7 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.01821/1.405, allocations: 7.177 MB / 0.7952 GB, free: 126.6 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0145/1.419, allocations: 4.476 MB / 0.7996 GB, free: 126.4 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.245e-05/1.419, allocations: 0 / 0.7996 GB, free: 126.4 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.007178/1.426, allocations: 1.976 MB / 0.8015 GB, free: 126.2 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001899/1.428, allocations: 138.6 kB / 0.8016 GB, free: 126.2 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008562/1.437, allocations: 3.36 MB / 0.8049 GB, free: 125 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001238/1.438, allocations: 1.447 MB / 0.8063 GB, free: 124.2 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001825/1.44, allocations: 306.3 kB / 0.8066 GB, free: 124.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009456/1.441, allocations: 0.7554 MB / 0.8073 GB, free: 124.2 MB / 0.5573 GB Notification: Performance of SimCode: time 1.082e-06/1.441, allocations: 4 kB / 0.8073 GB, free: 124.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0846/1.526, allocations: 49.3 MB / 0.8555 GB, free: 114.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001771/1.526, allocations: 118.6 kB / 0.8556 GB, free: 113.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.984/5.51, allocations: 0 / 0.8556 GB, free: 113.9 MB / 0.5573 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_IEEEG1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_IEEEG1.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.pipe 2>&1)