Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1.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.Wind.PSSE.WT4G.WT4G1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Wind_PSSE_WT4G_WT4G1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.001097/0.001097, allocations: 175.2 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.431/1.431, 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.0008153/0.0008153, allocations: 92.48 kB / 266.6 MB, free: 9.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07792/0.07792, 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.3325/0.3325, allocations: 78.02 MB / 455.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.12e-05/3.122e-05, allocations: 4 kB / 0.5213 GB, free: 24.12 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1283, allocations: 69.23 MB / 0.5889 GB, free: 2.934 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4301/0.5584, allocations: 101.1 MB / 0.6876 GB, free: 15.18 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002268/0.5587, allocations: 81.77 kB / 0.6877 GB, free: 15.14 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05493/0.6137, allocations: 20.04 MB / 0.7073 GB, free: 14.23 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.6137, allocations: 0 / 0.7073 GB, free: 14.23 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.897e-05/0.6138, allocations: 20.19 kB / 0.7073 GB, free: 14.21 MB / 458.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.00307/0.6168, allocations: 1.302 MB / 0.7086 GB, free: 12.95 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.6169, allocations: 15.97 kB / 0.7086 GB, free: 12.94 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001247/0.617, allocations: 106.9 kB / 0.7087 GB, free: 12.87 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001593/0.6186, allocations: 324.4 kB / 0.709 GB, free: 12.57 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009119/0.6195, allocations: 0.6131 MB / 0.7096 GB, free: 12.05 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003517/0.6199, allocations: 346.4 kB / 0.7099 GB, free: 11.68 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.62, allocations: 58.44 kB / 0.71 GB, free: 11.64 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001215/0.6212, allocations: 0.7473 MB / 0.7107 GB, free: 11.12 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.6213, allocations: 3.938 kB / 0.7107 GB, free: 11.12 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.326e-05/0.6214, allocations: 29.5 kB / 0.7108 GB, free: 11.11 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.425e-05/0.6214, allocations: 16 kB / 0.7108 GB, free: 11.1 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009727/0.6224, allocations: 0.6071 MB / 0.7114 GB, free: 10.71 MB / 458.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.005095/0.6275, allocations: 3.104 MB / 0.7144 GB, free: 8.207 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00646/0.6339, allocations: 2.397 MB / 0.7167 GB, free: 5.969 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005736/0.6345, allocations: 431.5 kB / 0.7171 GB, free: 5.73 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001046/0.6346, allocations: 8.562 kB / 0.7172 GB, free: 5.723 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.6347, allocations: 49.69 kB / 0.7172 GB, free: 5.672 MB / 458.7 MB Notification: Performance of pre-optimization done (n=71): time 2.455e-06/0.6347, allocations: 0 / 0.7172 GB, free: 5.672 MB / 458.7 MB Notification: Performance of matching and sorting (n=71): time 0.009117/0.6438, allocations: 3.049 MB / 0.7202 GB, free: 3.02 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.844e-05/0.6439, allocations: 115.3 kB / 0.7203 GB, free: 2.883 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008408/0.6447, allocations: 0.6163 MB / 0.7209 GB, free: 2.41 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.663e-05/0.6448, allocations: 38.64 kB / 0.7209 GB, free: 2.375 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00023/0.6451, allocations: 386.8 kB / 0.7213 GB, free: 2.148 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002279/0.6453, allocations: 253.8 kB / 0.7215 GB, free: 1.93 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.628e-05/0.6453, allocations: 14.38 kB / 0.7216 GB, free: 1.926 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.6455, allocations: 331.1 kB / 0.7219 GB, free: 1.609 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004946/0.646, allocations: 318.4 kB / 0.7222 GB, free: 1.438 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000597/0.6466, allocations: 444.6 kB / 0.7226 GB, free: 1.117 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005444/0.6471, allocations: 349.5 kB / 0.7229 GB, free: 0.918 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.6471, allocations: 0 / 0.7229 GB, free: 0.918 MB / 458.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.009198/0.6563, allocations: 3.114 MB / 0.726 GB, free: 14.2 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004232/0.6568, allocations: 1.136 MB / 0.7271 GB, free: 13 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.6568, allocations: 4 kB / 0.7271 GB, free: 13 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003893/0.6607, allocations: 1.262 MB / 0.7283 GB, free: 11.91 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004316/0.6611, allocations: 94.52 kB / 0.7284 GB, free: 11.82 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002549/0.6637, allocations: 1.528 MB / 0.7299 GB, free: 10.64 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00103/0.6647, allocations: 158 kB / 0.73 GB, free: 10.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.74e-05/0.6648, allocations: 27.11 kB / 0.7301 GB, free: 10.48 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.6648, allocations: 4 kB / 0.7301 GB, free: 10.47 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008654/0.6735, allocations: 2.912 MB / 0.7329 GB, free: 7.969 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.6735, allocations: 4 kB / 0.7329 GB, free: 7.965 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003688/0.6772, allocations: 1.236 MB / 0.7341 GB, free: 6.895 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004273/0.6777, allocations: 91.89 kB / 0.7342 GB, free: 6.805 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01171/0.6894, allocations: 6.121 MB / 0.7402 GB, free: 2.449 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001144/0.6905, allocations: 147.9 kB / 0.7403 GB, free: 2.316 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.303e-05/0.6906, allocations: 30.3 kB / 0.7404 GB, free: 2.293 MB / 474.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.0002289/0.6909, allocations: 131.5 kB / 0.7405 GB, free: 2.176 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000182/0.691, allocations: 90.92 kB / 0.7406 GB, free: 2.086 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009117/0.7002, allocations: 3.167 MB / 0.7437 GB, free: 15.39 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.7002, allocations: 11.98 kB / 0.7437 GB, free: 15.38 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.7002, allocations: 3.953 kB / 0.7437 GB, free: 15.38 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.7002, allocations: 0 / 0.7437 GB, free: 15.38 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.01052/0.7107, allocations: 4.343 MB / 0.7479 GB, free: 11.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.7108, allocations: 4 kB / 0.7479 GB, free: 11.49 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003967/0.7112, allocations: 79.89 kB / 0.748 GB, free: 11.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00358/0.7148, allocations: 1.187 MB / 0.7492 GB, free: 10.22 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.668e-05/0.7149, allocations: 16 kB / 0.7492 GB, free: 10.21 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01236/0.7272, allocations: 6.394 MB / 0.7554 GB, free: 3.668 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.7272, allocations: 3.938 kB / 0.7554 GB, free: 3.664 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009941/0.7372, allocations: 3.794 MB / 0.7591 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003202/0.7375, allocations: 183.9 kB / 0.7593 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001776/0.7377, allocations: 12 kB / 0.7593 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009636/0.7387, allocations: 123.9 kB / 0.7594 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000395/0.7391, allocations: 152.5 kB / 0.7596 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.979e-05/0.7392, allocations: 19.98 kB / 0.7596 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0006987/0.7399, allocations: 0.4953 MB / 0.7601 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.91e-07/0.7399, allocations: 0 / 0.7601 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001442/0.7413, allocations: 471.2 kB / 0.7605 GB, free: 14.39 MB / 0.4948 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.01029/0.7516, allocations: 4.439 MB / 0.7649 GB, free: 9.906 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006667/0.7583, allocations: 2.477 MB / 0.7673 GB, free: 7.41 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.7583, allocations: 0 / 0.7673 GB, free: 7.41 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003079/0.7614, allocations: 1.18 MB / 0.7684 GB, free: 6.211 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007342/0.7621, allocations: 90.2 kB / 0.7685 GB, free: 6.129 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003255/0.7654, allocations: 1.461 MB / 0.77 GB, free: 4.629 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005239/0.766, allocations: 1.004 MB / 0.7709 GB, free: 3.594 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0005355/0.7665, allocations: 115.3 kB / 0.771 GB, free: 3.477 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003479/0.7669, allocations: 307.3 kB / 0.7713 GB, free: 3.176 MB / 0.4948 GB Notification: Performance of SimCode: time 8.11e-07/0.7669, allocations: 7.938 kB / 0.7713 GB, free: 3.168 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04588/0.8128, allocations: 28.19 MB / 0.7989 GB, free: 7.043 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001882/0.813, allocations: 166.9 kB / 0.799 GB, free: 6.816 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.889/3.702, allocations: 0 / 0.799 GB, free: 6.816 MB / 0.5261 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Wind_PSSE_WT4G_WT4G1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Wind_PSSE_WT4G_WT4G1.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1.pipe 2>&1)