Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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.IEEEG1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_IEEEG1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1,fileNamePrefix="OpenIPSL_dev_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.001071/0.001071, 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 4.0.0+maint.om/package.mo): time 1.193/1.193, allocations: 221.4 MB / 234.6 MB, free: 14.38 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.0008168/0.000817, allocations: 100.3 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4684/0.4684, allocations: 78.91 MB / 415.4 MB, free: 10.24 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.663e-05/3.665e-05, allocations: 4 kB / 492.9 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3099, allocations: 69.5 MB / 0.5492 GB, free: 19.57 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1421/0.452, allocations: 116.9 MB / 0.6634 GB, free: 14.66 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002391/0.4523, allocations: 87.95 kB / 0.6635 GB, free: 14.57 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.395/0.8473, allocations: 51.56 MB / 0.7138 GB, free: 96.76 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.8473, allocations: 0 / 0.7138 GB, free: 96.76 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.462e-05/0.8474, allocations: 47.22 kB / 0.7139 GB, free: 96.71 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.005393/0.8528, allocations: 2.479 MB / 0.7163 GB, free: 94.2 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.8529, allocations: 11.97 kB / 0.7163 GB, free: 94.19 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000224/0.8531, allocations: 202.2 kB / 0.7165 GB, free: 93.98 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00343/0.8565, allocations: 0.738 MB / 0.7172 GB, free: 93.25 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001948/0.8585, allocations: 1.278 MB / 0.7185 GB, free: 91.96 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004025/0.8589, allocations: 0.5877 MB / 0.719 GB, free: 91.28 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002112/0.8591, allocations: 135.9 kB / 0.7192 GB, free: 91.14 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002242/0.8614, allocations: 1.567 MB / 0.7207 GB, free: 89.52 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.387e-05/0.8614, allocations: 7.922 kB / 0.7207 GB, free: 89.52 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001412/0.8616, allocations: 56 kB / 0.7208 GB, free: 89.46 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.786e-05/0.8616, allocations: 32 kB / 0.7208 GB, free: 89.43 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002039/0.8636, allocations: 1.377 MB / 0.7221 GB, free: 88.05 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.008894/0.8725, allocations: 6.364 MB / 0.7283 GB, free: 81.49 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007274/0.8798, allocations: 3.462 MB / 0.7317 GB, free: 77.89 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001321/0.8812, allocations: 0.8623 MB / 0.7326 GB, free: 77.03 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004595/0.8817, allocations: 0.7339 MB / 0.7333 GB, free: 76.12 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001405/0.8831, allocations: 1.038 MB / 0.7343 GB, free: 75.07 MB / 490.7 MB Notification: Performance of pre-optimization done (n=159): time 3.296e-06/0.8831, allocations: 0 / 0.7343 GB, free: 75.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=159): time 0.01419/0.8973, allocations: 5.2 MB / 0.7394 GB, free: 69.84 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.623e-05/0.8974, allocations: 149.8 kB / 0.7395 GB, free: 69.67 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002149/0.8995, allocations: 1.486 MB / 0.741 GB, free: 68.14 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004352/0.9, allocations: 53.7 kB / 0.741 GB, free: 68.08 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004393/0.9004, allocations: 0.8178 MB / 0.7418 GB, free: 67.25 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004725/0.9009, allocations: 0.5621 MB / 0.7424 GB, free: 66.68 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.901, allocations: 36 kB / 0.7424 GB, free: 66.65 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.391e-05/0.9011, allocations: 365.9 kB / 0.7428 GB, free: 66.29 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001099/0.9022, allocations: 0.7187 MB / 0.7435 GB, free: 65.57 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00114/0.9034, allocations: 0.934 MB / 0.7444 GB, free: 64.57 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001147/0.9045, allocations: 0.7947 MB / 0.7451 GB, free: 63.78 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.431e-06/0.9045, allocations: 0 / 0.7451 GB, free: 63.78 MB / 490.7 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.003844/0.9084, allocations: 2.466 MB / 0.7475 GB, free: 61.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002822/0.9087, allocations: 1.749 MB / 0.7493 GB, free: 59.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.875e-05/0.9087, allocations: 4 kB / 0.7493 GB, free: 59.43 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007494/0.9162, allocations: 2.519 MB / 0.7517 GB, free: 56.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001477/0.9177, allocations: 303.6 kB / 0.752 GB, free: 56.61 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004009/0.9218, allocations: 2.261 MB / 0.7542 GB, free: 54.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002544/0.9243, allocations: 306.4 kB / 0.7545 GB, free: 54.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001967/0.9245, allocations: 63.98 kB / 0.7546 GB, free: 53.96 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.9246, allocations: 4 kB / 0.7546 GB, free: 53.96 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003426/0.928, allocations: 2.252 MB / 0.7568 GB, free: 51.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.745e-05/0.928, allocations: 11.95 kB / 0.7568 GB, free: 51.69 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007152/0.9352, allocations: 2.52 MB / 0.7592 GB, free: 49.16 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001414/0.9366, allocations: 295.6 kB / 0.7595 GB, free: 48.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003831/0.9405, allocations: 2.249 MB / 0.7617 GB, free: 46.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002557/0.9431, allocations: 298.5 kB / 0.762 GB, free: 46.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000189/0.9433, allocations: 59.97 kB / 0.7621 GB, free: 46.24 MB / 490.7 MB 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.0003735/0.9436, allocations: 188.6 kB / 0.7622 GB, free: 46.05 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003459/0.944, allocations: 209.4 kB / 0.7624 GB, free: 45.84 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01398/0.958, allocations: 5.4 MB / 0.7677 GB, free: 40.43 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.971e-05/0.958, allocations: 16 kB / 0.7677 GB, free: 40.41 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.729e-06/0.9581, allocations: 0 / 0.7677 GB, free: 40.41 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.762e-05/0.9581, allocations: 7.969 kB / 0.7677 GB, free: 40.4 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.01771/0.9758, allocations: 7.871 MB / 0.7754 GB, free: 32.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-05/0.9759, allocations: 4 kB / 0.7754 GB, free: 32.39 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001444/0.9773, allocations: 227.7 kB / 0.7757 GB, free: 32.16 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005825/0.9832, allocations: 2.005 MB / 0.7776 GB, free: 30.15 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003578/0.9836, allocations: 39.92 kB / 0.7776 GB, free: 30.11 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01618/0.9998, allocations: 7.842 MB / 0.7853 GB, free: 22.13 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.9998, allocations: 0 / 0.7853 GB, free: 22.13 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01626/1.016, allocations: 6.54 MB / 0.7917 GB, free: 15.54 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008403/1.017, allocations: 334 kB / 0.792 GB, free: 15.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007138/1.018, allocations: 32 kB / 0.792 GB, free: 15.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002271/1.02, allocations: 211.8 kB / 0.7922 GB, free: 14.96 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009152/1.021, allocations: 285.2 kB / 0.7925 GB, free: 14.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002128/1.021, allocations: 47.92 kB / 0.7926 GB, free: 14.63 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001765/1.023, allocations: 1.137 MB / 0.7937 GB, free: 13.46 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.7e-07/1.023, allocations: 0 / 0.7937 GB, free: 13.46 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002826/1.026, allocations: 0.9397 MB / 0.7946 GB, free: 12.52 MB / 490.7 MB 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.01581/1.042, allocations: 7.323 MB / 0.8017 GB, free: 5.148 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01433/1.056, allocations: 4.642 MB / 0.8063 GB, free: 0.4961 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/1.056, allocations: 0 / 0.8063 GB, free: 0.4961 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006614/1.063, allocations: 2.045 MB / 0.8083 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001416/1.064, allocations: 168.2 kB / 0.8084 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006822/1.071, allocations: 3.5 MB / 0.8118 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009131/1.072, allocations: 1.446 MB / 0.8133 GB, free: 9.234 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001434/1.073, allocations: 313 kB / 0.8136 GB, free: 8.922 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008879/1.074, allocations: 0.7648 MB / 0.8143 GB, free: 8.156 MB / 0.4948 GB Notification: Performance of SimCode: time 7.92e-07/1.074, allocations: 0 / 0.8143 GB, free: 8.156 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08292/1.157, allocations: 53.49 MB / 0.8665 GB, free: 2.828 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001947/1.157, allocations: 167 kB / 0.8667 GB, free: 2.605 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.536/4.693, allocations: 0 / 0.8667 GB, free: 2.605 MB / 0.5417 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_IEEEG1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_IEEEG1.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.pipe 2>&1)