Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.Wind.PSSE.WT4G.WT4G1,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Wind_PSSE_WT4G_WT4G1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1,fileNamePrefix="OpenIPSL_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.001485/0.001485, allocations: 172.5 kB / 7.646 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.422/1.422, allocations: 221.5 MB / 229.6 MB, free: 7.559 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.0009211/0.0009211, allocations: 102.5 kB / 280.5 MB, free: 5.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5329/0.5329, allocations: 78.06 MB / 409.3 MB, free: 6.32 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.315e-05/2.319e-05, allocations: 7.938 kB / 485 MB, free: 12.13 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1412, allocations: 69.36 MB / 0.5414 GB, free: 6.703 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4417/0.583, allocations: 98.86 MB / 0.6379 GB, free: 496 kB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002274/0.5832, allocations: 94.2 kB / 0.638 GB, free: 404 kB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05845/0.6417, allocations: 20.36 MB / 0.6579 GB, free: 12.14 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.6418, allocations: 4 kB / 0.6579 GB, free: 12.14 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.11e-05/0.6418, allocations: 12.19 kB / 0.6579 GB, free: 12.12 MB / 474.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.003261/0.6451, allocations: 1.293 MB / 0.6592 GB, free: 10.79 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.6452, allocations: 8.031 kB / 0.6592 GB, free: 10.78 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001668/0.6468, allocations: 326.4 kB / 0.6595 GB, free: 10.46 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009663/0.6478, allocations: 0.6097 MB / 0.6601 GB, free: 9.812 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00035/0.6482, allocations: 316.6 kB / 0.6604 GB, free: 9.445 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.936e-05/0.6483, allocations: 37.12 kB / 0.6604 GB, free: 9.41 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001034/0.6493, allocations: 0.5767 MB / 0.661 GB, free: 8.836 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001101/0.6504, allocations: 0.6666 MB / 0.6617 GB, free: 8.145 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.6505, allocations: 3.938 kB / 0.6617 GB, free: 8.141 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.575e-05/0.6505, allocations: 0 / 0.6617 GB, free: 8.141 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.432e-05/0.6506, allocations: 16 kB / 0.6617 GB, free: 8.125 MB / 474.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.005425/0.656, allocations: 2.983 MB / 0.6646 GB, free: 5.016 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006721/0.6627, allocations: 2.382 MB / 0.6669 GB, free: 2.539 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007956/0.6636, allocations: 399.4 kB / 0.6673 GB, free: 2.145 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001093/0.6637, allocations: 16.53 kB / 0.6673 GB, free: 2.129 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.235e-05/0.6637, allocations: 49.72 kB / 0.6674 GB, free: 2.074 MB / 474.7 MB Notification: Performance of pre-optimization done (n=71): time 3.997e-06/0.6637, allocations: 0 / 0.6674 GB, free: 2.074 MB / 474.7 MB Notification: Performance of matching and sorting (n=71): time 0.009603/0.6734, allocations: 2.988 MB / 0.6703 GB, free: 15.07 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.287e-05/0.6735, allocations: 115.4 kB / 0.6704 GB, free: 14.93 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001053/0.6745, allocations: 0.5547 MB / 0.6709 GB, free: 14.38 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001459/0.6747, allocations: 33.69 kB / 0.671 GB, free: 14.34 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003453/0.6751, allocations: 376.5 kB / 0.6713 GB, free: 13.96 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002819/0.6754, allocations: 241.3 kB / 0.6715 GB, free: 13.73 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.6e-05/0.6754, allocations: 0 / 0.6715 GB, free: 13.73 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.6755, allocations: 333.9 kB / 0.6719 GB, free: 13.39 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004952/0.676, allocations: 309.5 kB / 0.6722 GB, free: 13.09 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005825/0.6766, allocations: 423 kB / 0.6726 GB, free: 12.64 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000532/0.6772, allocations: 340.4 kB / 0.6729 GB, free: 12.31 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.6772, allocations: 0 / 0.6729 GB, free: 12.31 MB / 490.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.009368/0.6866, allocations: 3.044 MB / 0.6759 GB, free: 9.25 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004932/0.6871, allocations: 1.142 MB / 0.677 GB, free: 8.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.6871, allocations: 7.953 kB / 0.677 GB, free: 8.012 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003935/0.6911, allocations: 1.214 MB / 0.6782 GB, free: 6.797 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005005/0.6916, allocations: 91.89 kB / 0.6783 GB, free: 6.707 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002861/0.6945, allocations: 1.608 MB / 0.6798 GB, free: 5.074 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001207/0.6957, allocations: 143.5 kB / 0.68 GB, free: 4.934 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-05/0.6958, allocations: 28 kB / 0.68 GB, free: 4.906 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.6958, allocations: 4 kB / 0.68 GB, free: 4.902 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008859/0.7046, allocations: 2.832 MB / 0.6828 GB, free: 2.062 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/0.7047, allocations: 5.641 kB / 0.6828 GB, free: 2.059 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003768/0.7085, allocations: 1.176 MB / 0.6839 GB, free: 0.8789 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005291/0.709, allocations: 99.89 kB / 0.684 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01169/0.7207, allocations: 5.932 MB / 0.6898 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001214/0.722, allocations: 123.6 kB / 0.6899 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.764e-05/0.7221, allocations: 27.98 kB / 0.6899 GB, free: 10.58 MB / 0.4948 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: wT4G1.Is.im:VARIABLE() "Imaginary part of complex number" type: Real wT4G1.Is.re:VARIABLE() "Real part of complex number" type: Real 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.0003004/0.7224, allocations: 127.5 kB / 0.6901 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009167/0.7316, allocations: 2.988 MB / 0.693 GB, free: 7.449 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004537/0.7321, allocations: 82.97 kB / 0.6931 GB, free: 7.367 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009353/0.7415, allocations: 3.085 MB / 0.6961 GB, free: 4.262 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.632e-05/0.7415, allocations: 11.94 kB / 0.6961 GB, free: 4.25 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.7415, allocations: 3.953 kB / 0.6961 GB, free: 4.246 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.02e-05/0.7415, allocations: 3.984 kB / 0.6961 GB, free: 4.242 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 postOpt removeSimpleEquations (simulation): time 0.01123/0.7528, allocations: 4.196 MB / 0.7002 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/0.7528, allocations: 0 / 0.7002 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005041/0.7534, allocations: 79.84 kB / 0.7003 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003656/0.757, allocations: 1.185 MB / 0.7014 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001015/0.7571, allocations: 4 kB / 0.7014 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.012/0.7691, allocations: 6.251 MB / 0.7075 GB, free: 8.312 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-06/0.7692, allocations: 0 / 0.7075 GB, free: 8.312 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01031/0.7795, allocations: 3.721 MB / 0.7112 GB, free: 4.566 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004324/0.78, allocations: 179.9 kB / 0.7113 GB, free: 4.371 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001376/0.7801, allocations: 7.953 kB / 0.7113 GB, free: 4.363 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001016/0.7812, allocations: 114.6 kB / 0.7115 GB, free: 4.254 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004716/0.7816, allocations: 152.5 kB / 0.7116 GB, free: 4.105 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.609e-05/0.7817, allocations: 20 kB / 0.7116 GB, free: 4.086 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005896/0.7823, allocations: 447.2 kB / 0.712 GB, free: 3.652 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.2e-07/0.7823, allocations: 4 kB / 0.7121 GB, free: 3.648 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001499/0.7838, allocations: 435.1 kB / 0.7125 GB, free: 3.223 MB / 0.5105 GB 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.01064/0.7945, allocations: 4.349 MB / 0.7167 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007106/0.8016, allocations: 2.421 MB / 0.7191 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/0.8017, allocations: 0 / 0.7191 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003275/0.805, allocations: 1.137 MB / 0.7202 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008434/0.8059, allocations: 66.56 kB / 0.7203 GB, free: 11.19 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003073/0.8089, allocations: 1.401 MB / 0.7216 GB, free: 9.75 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005598/0.8095, allocations: 1.012 MB / 0.7226 GB, free: 8.707 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004829/0.81, allocations: 114 kB / 0.7227 GB, free: 8.594 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003605/0.8104, allocations: 299.3 kB / 0.723 GB, free: 8.301 MB / 0.5261 GB Notification: Performance of SimCode: time 8.91e-07/0.8104, allocations: 0 / 0.723 GB, free: 8.301 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0534/0.8638, allocations: 26 MB / 0.7484 GB, free: 14.51 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001894/0.864, allocations: 115.7 kB / 0.7485 GB, free: 14.32 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.975/3.839, allocations: 1.75 kB / 0.7485 GB, free: 14.32 MB / 0.5573 GB (rm -f OpenIPSL_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Wind_PSSE_WT4G_WT4G1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Wind_PSSE_WT4G_WT4G1.fmu > OpenIPSL_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1.pipe 2>&1)