Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1.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.Wind.PSSE.WT4G.WT4G1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Wind_PSSE_WT4G_WT4G1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Wind_PSSE_WT4G_WT4G1",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.0009992/0.0009992, 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 4.0.0+maint.om/package.mo): time 1.205/1.205, allocations: 221.4 MB / 234.6 MB, free: 14.45 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.0008514/0.0008514, allocations: 93.81 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.448/0.448, allocations: 78.91 MB / 415.4 MB, free: 10.26 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.093e-05/3.112e-05, allocations: 4 kB / 492.9 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.3128, allocations: 69.5 MB / 0.5492 GB, free: 19.61 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1192/0.4321, allocations: 100.1 MB / 0.647 GB, free: 15.47 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002437/0.4324, allocations: 91.92 kB / 0.6471 GB, free: 15.38 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05636/0.4888, allocations: 20.76 MB / 0.6673 GB, free: 10.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.878e-06/0.4889, allocations: 0 / 0.6673 GB, free: 10.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.311e-05/0.4889, allocations: 15.94 kB / 0.6674 GB, free: 10.48 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: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.003567/0.4925, allocations: 1.303 MB / 0.6686 GB, free: 9.133 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.4926, allocations: 11.97 kB / 0.6686 GB, free: 9.121 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002668/0.4928, allocations: 114.5 kB / 0.6688 GB, free: 9 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001769/0.4946, allocations: 330.4 kB / 0.6691 GB, free: 8.676 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001239/0.4959, allocations: 0.6097 MB / 0.6697 GB, free: 8.027 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004883/0.4964, allocations: 336.6 kB / 0.67 GB, free: 7.645 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001897/0.4966, allocations: 67.94 kB / 0.67 GB, free: 7.578 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001407/0.498, allocations: 0.7473 MB / 0.6708 GB, free: 6.809 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.498, allocations: 4 kB / 0.6708 GB, free: 6.805 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-05/0.4981, allocations: 20 kB / 0.6708 GB, free: 6.785 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.691e-05/0.4981, allocations: 16 kB / 0.6708 GB, free: 6.77 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001142/0.4993, allocations: 0.6104 MB / 0.6714 GB, free: 6.156 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.006058/0.5054, allocations: 3.091 MB / 0.6744 GB, free: 2.926 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006673/0.512, allocations: 2.397 MB / 0.6768 GB, free: 444 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006937/0.5128, allocations: 420.8 kB / 0.6772 GB, free: 16 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2939/0.8067, allocations: 25.05 kB / 0.6772 GB, free: 109.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.402e-05/0.8068, allocations: 41.81 kB / 0.6772 GB, free: 109.9 MB / 490.7 MB Notification: Performance of pre-optimization done (n=71): time 3.737e-06/0.8068, allocations: 0 / 0.6772 GB, free: 109.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=71): time 0.01059/0.8174, allocations: 3.042 MB / 0.6802 GB, free: 109.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.171e-05/0.8174, allocations: 116.9 kB / 0.6803 GB, free: 109.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001053/0.8185, allocations: 0.6181 MB / 0.6809 GB, free: 109.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001013/0.8186, allocations: 39.08 kB / 0.681 GB, free: 109.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002668/0.8189, allocations: 383.6 kB / 0.6813 GB, free: 109.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002579/0.8192, allocations: 252.8 kB / 0.6816 GB, free: 109.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.558e-05/0.8192, allocations: 12.56 kB / 0.6816 GB, free: 109.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.904e-05/0.8193, allocations: 333.3 kB / 0.6819 GB, free: 108.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005635/0.8199, allocations: 318.3 kB / 0.6822 GB, free: 108.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006431/0.8205, allocations: 441.7 kB / 0.6826 GB, free: 108.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005955/0.8211, allocations: 344.3 kB / 0.683 GB, free: 108.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.8211, allocations: 1.625 kB / 0.683 GB, free: 108.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.009247/0.8304, allocations: 3.124 MB / 0.686 GB, free: 108.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002002/0.8306, allocations: 1.138 MB / 0.6871 GB, free: 107.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.8306, allocations: 3.906 kB / 0.6871 GB, free: 107.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003475/0.8341, allocations: 1.258 MB / 0.6883 GB, free: 107.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003932/0.8345, allocations: 94.69 kB / 0.6884 GB, free: 107.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002314/0.8368, allocations: 1.527 MB / 0.6899 GB, free: 106.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001019/0.8379, allocations: 158 kB / 0.6901 GB, free: 106.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-05/0.8379, allocations: 30.19 kB / 0.6901 GB, free: 106.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.789e-06/0.8379, allocations: 2.688 kB / 0.6901 GB, free: 106.8 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00801/0.846, allocations: 2.91 MB / 0.693 GB, free: 106.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.846, allocations: 11.02 kB / 0.693 GB, free: 106.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00343/0.8494, allocations: 1.226 MB / 0.6942 GB, free: 106.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004455/0.8499, allocations: 101.1 kB / 0.6943 GB, free: 106.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01028/0.8602, allocations: 6.115 MB / 0.7002 GB, free: 102.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/0.8612, allocations: 143 kB / 0.7004 GB, free: 102.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.778e-05/0.8613, allocations: 27.66 kB / 0.7004 GB, free: 102.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 1 (wT4G1.K.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * 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 {18 17} Notification: Performance of prepare postOptimizeDAE: time 0.0001983/0.8615, allocations: 141.8 kB / 0.7005 GB, free: 102.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/0.8616, allocations: 89.47 kB / 0.7006 GB, free: 102.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00837/0.87, allocations: 3.154 MB / 0.7037 GB, free: 100.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.497e-06/0.8701, allocations: 11.56 kB / 0.7037 GB, free: 100.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.8701, allocations: 0 / 0.7037 GB, free: 100.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.8701, allocations: 3.422 kB / 0.7037 GB, free: 100.8 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.009543/0.8796, allocations: 4.349 MB / 0.708 GB, free: 97.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.8797, allocations: 0 / 0.708 GB, free: 97.29 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000396/0.8801, allocations: 77.27 kB / 0.708 GB, free: 97.23 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00324/0.8833, allocations: 1.196 MB / 0.7092 GB, free: 96.26 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-05/0.8834, allocations: 20 kB / 0.7092 GB, free: 96.24 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0104/0.8938, allocations: 6.387 MB / 0.7155 GB, free: 90.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.8939, allocations: 0 / 0.7155 GB, free: 90.4 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008815/0.9027, allocations: 3.782 MB / 0.7191 GB, free: 87.23 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003033/0.903, allocations: 183 kB / 0.7193 GB, free: 87.06 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001116/0.9031, allocations: 16 kB / 0.7193 GB, free: 87.04 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008499/0.904, allocations: 120.2 kB / 0.7194 GB, free: 86.95 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000447/0.9044, allocations: 157.9 kB / 0.7196 GB, free: 86.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.245e-05/0.9045, allocations: 16 kB / 0.7196 GB, free: 86.8 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005143/0.905, allocations: 0.4952 MB / 0.7201 GB, free: 86.31 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.905, allocations: 4 kB / 0.7201 GB, free: 86.3 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001181/0.9062, allocations: 480.5 kB / 0.7206 GB, free: 85.84 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (gENCLS2_1.delta,gENCLS2_1.eq,wT4G1.K1.state,wT4G1.K.y,wT4G1.K2.state,gENCLS2_1.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 38 * 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 {18 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.009083/0.9153, allocations: 4.431 MB / 0.7249 GB, free: 81.39 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006007/0.9213, allocations: 2.484 MB / 0.7273 GB, free: 78.89 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.9214, allocations: 0 / 0.7273 GB, free: 78.89 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002767/0.9241, allocations: 1.191 MB / 0.7285 GB, free: 77.69 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006626/0.9248, allocations: 75.3 kB / 0.7285 GB, free: 77.62 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002483/0.9273, allocations: 1.459 MB / 0.73 GB, free: 76.14 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.9276, allocations: 1.012 MB / 0.731 GB, free: 75.11 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004587/0.9281, allocations: 114.3 kB / 0.7311 GB, free: 75 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002656/0.9284, allocations: 303.3 kB / 0.7314 GB, free: 74.7 MB / 490.7 MB Notification: Performance of SimCode: time 4.21e-07/0.9284, allocations: 0 / 0.7314 GB, free: 74.7 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03918/0.9676, allocations: 28.12 MB / 0.7588 GB, free: 46.95 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001346/0.9677, allocations: 168.4 kB / 0.759 GB, free: 46.72 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.81/3.778, allocations: 3.938 kB / 0.759 GB, free: 46.72 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Wind_PSSE_WT4G_WT4G1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Wind_PSSE_WT4G_WT4G1.fmu > OpenIPSL_dev_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1.pipe 2>&1)