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.0009175/0.0009177, allocations: 180.2 kB / 7.651 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.259/1.259, allocations: 205.3 MB / 213.4 MB, free: 1.727 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008362/0.0008362, allocations: 86.66 kB / 261.4 MB, free: 1.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06245/0.06245, allocations: 12.2 MB / 321.5 MB, free: 15.59 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4264/0.4264, allocations: 78.05 MB / 450.3 MB, free: 9.367 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.356e-05/1.359e-05, allocations: 0 / 0.5142 GB, free: 42.19 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1181, allocations: 69.25 MB / 0.5819 GB, free: 1.289 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1276/0.2457, allocations: 100.4 MB / 0.6799 GB, free: 12.75 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002442/0.246, allocations: 87.94 kB / 0.68 GB, free: 12.67 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3091/0.5551, allocations: 19.8 MB / 0.6993 GB, free: 98.59 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.5552, allocations: 1.75 kB / 0.6993 GB, free: 98.59 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.123e-05/0.5552, allocations: 14.84 kB / 0.6993 GB, free: 98.59 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.003026/0.5583, allocations: 1.306 MB / 0.7006 GB, free: 97.96 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.5583, allocations: 9.188 kB / 0.7006 GB, free: 97.96 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001655/0.56, allocations: 329.8 kB / 0.7009 GB, free: 97.9 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009511/0.5609, allocations: 0.6089 MB / 0.7015 GB, free: 97.62 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003208/0.5613, allocations: 317.5 kB / 0.7018 GB, free: 97.33 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.5614, allocations: 34.97 kB / 0.7019 GB, free: 97.33 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001024/0.5624, allocations: 0.5799 MB / 0.7024 GB, free: 97.33 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/0.5635, allocations: 0.6606 MB / 0.7031 GB, free: 97.24 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.5636, allocations: 0 / 0.7031 GB, free: 97.24 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.403e-05/0.5636, allocations: 0.8438 kB / 0.7031 GB, free: 97.24 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.582e-05/0.5637, allocations: 14.62 kB / 0.7031 GB, free: 97.24 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.005057/0.5687, allocations: 2.983 MB / 0.706 GB, free: 96.22 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006636/0.5754, allocations: 2.383 MB / 0.7083 GB, free: 95.71 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005731/0.576, allocations: 403.1 kB / 0.7087 GB, free: 95.69 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.74e-05/0.5761, allocations: 21.98 kB / 0.7087 GB, free: 95.69 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.5761, allocations: 44.53 kB / 0.7088 GB, free: 95.64 MB / 474.7 MB Notification: Performance of pre-optimization done (n=71): time 2.565e-06/0.5761, allocations: 0 / 0.7088 GB, free: 95.64 MB / 474.7 MB Notification: Performance of matching and sorting (n=71): time 0.008264/0.5844, allocations: 2.985 MB / 0.7117 GB, free: 95.4 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/0.5845, allocations: 117.5 kB / 0.7118 GB, free: 95.27 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007279/0.5852, allocations: 0.5599 MB / 0.7124 GB, free: 95.15 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 9.79e-05/0.5853, allocations: 29.45 kB / 0.7124 GB, free: 95.12 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001773/0.5855, allocations: 388.8 kB / 0.7128 GB, free: 94.96 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001875/0.5857, allocations: 236.8 kB / 0.713 GB, free: 94.8 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.507e-05/0.5857, allocations: 0 / 0.713 GB, free: 94.8 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 5.577e-05/0.5858, allocations: 345.1 kB / 0.7133 GB, free: 94.49 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003866/0.5862, allocations: 302 kB / 0.7136 GB, free: 94.35 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004275/0.5866, allocations: 426.5 kB / 0.714 GB, free: 94.07 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000415/0.587, allocations: 329.5 kB / 0.7143 GB, free: 93.92 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.187e-06/0.5871, allocations: 0 / 0.7143 GB, free: 93.92 MB / 474.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.008018/0.5951, allocations: 3.048 MB / 0.7173 GB, free: 93.27 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001975/0.5953, allocations: 1.143 MB / 0.7184 GB, free: 92.05 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.5953, allocations: 6.562 kB / 0.7184 GB, free: 92.05 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003427/0.5988, allocations: 1.211 MB / 0.7196 GB, free: 91.64 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004365/0.5992, allocations: 90.28 kB / 0.7197 GB, free: 91.57 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002317/0.6015, allocations: 1.62 MB / 0.7213 GB, free: 90.02 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001071/0.6026, allocations: 141.9 kB / 0.7214 GB, free: 89.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.696e-05/0.6027, allocations: 28.39 kB / 0.7214 GB, free: 89.88 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.428e-06/0.6027, allocations: 4 kB / 0.7214 GB, free: 89.88 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007463/0.6102, allocations: 2.829 MB / 0.7242 GB, free: 87.25 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.6102, allocations: 4 kB / 0.7242 GB, free: 87.24 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003233/0.6134, allocations: 1.18 MB / 0.7254 GB, free: 86.06 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004381/0.6139, allocations: 99.89 kB / 0.7255 GB, free: 85.96 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009822/0.6237, allocations: 5.926 MB / 0.7312 GB, free: 79.92 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001226/0.625, allocations: 123.6 kB / 0.7314 GB, free: 79.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.787e-05/0.625, allocations: 33.05 kB / 0.7314 GB, free: 79.77 MB / 474.7 MB 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.0003024/0.6254, allocations: 112.9 kB / 0.7315 GB, free: 79.65 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008231/0.6336, allocations: 3.002 MB / 0.7344 GB, free: 76.64 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001852/0.6338, allocations: 86.95 kB / 0.7345 GB, free: 76.55 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0083/0.6421, allocations: 3.081 MB / 0.7375 GB, free: 73.46 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.6421, allocations: 8 kB / 0.7375 GB, free: 73.45 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/0.6421, allocations: 0 / 0.7375 GB, free: 73.45 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/0.6421, allocations: 7.984 kB / 0.7375 GB, free: 73.44 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 postOpt removeSimpleEquations (simulation): time 0.009231/0.6514, allocations: 4.205 MB / 0.7416 GB, free: 69.16 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.246e-06/0.6514, allocations: 4 kB / 0.7417 GB, free: 69.16 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000443/0.6519, allocations: 79.84 kB / 0.7417 GB, free: 69.08 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003218/0.6551, allocations: 1.179 MB / 0.7429 GB, free: 67.9 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.402e-05/0.6552, allocations: 7.984 kB / 0.7429 GB, free: 67.89 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009754/0.665, allocations: 6.242 MB / 0.749 GB, free: 61.53 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.798e-06/0.665, allocations: 4 kB / 0.749 GB, free: 61.53 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008809/0.6738, allocations: 3.723 MB / 0.7526 GB, free: 57.78 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004217/0.6742, allocations: 179.9 kB / 0.7528 GB, free: 57.58 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001342/0.6744, allocations: 0 / 0.7528 GB, free: 57.58 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009013/0.6753, allocations: 107.9 kB / 0.7529 GB, free: 57.48 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004084/0.6757, allocations: 160.4 kB / 0.753 GB, free: 57.32 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.965e-05/0.6758, allocations: 27.92 kB / 0.7531 GB, free: 57.29 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004856/0.6763, allocations: 443.2 kB / 0.7535 GB, free: 56.86 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6763, allocations: 4 kB / 0.7535 GB, free: 56.86 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001276/0.6776, allocations: 431.1 kB / 0.7539 GB, free: 56.43 MB / 474.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.008888/0.6865, allocations: 4.357 MB / 0.7582 GB, free: 52.04 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005982/0.6925, allocations: 2.408 MB / 0.7605 GB, free: 49.62 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.6925, allocations: 0 / 0.7605 GB, free: 49.62 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002728/0.6952, allocations: 1.146 MB / 0.7616 GB, free: 48.46 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007525/0.696, allocations: 70.75 kB / 0.7617 GB, free: 48.4 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002538/0.6985, allocations: 1.405 MB / 0.7631 GB, free: 46.96 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003407/0.6989, allocations: 1.008 MB / 0.7641 GB, free: 45.92 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00044/0.6993, allocations: 114.7 kB / 0.7642 GB, free: 45.81 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002738/0.6996, allocations: 307.3 kB / 0.7645 GB, free: 45.51 MB / 474.7 MB Notification: Performance of SimCode: time 8.71e-07/0.6996, allocations: 3.938 kB / 0.7645 GB, free: 45.5 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04236/0.742, allocations: 26.08 MB / 0.7899 GB, free: 19.49 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001333/0.7422, allocations: 123.3 kB / 0.7901 GB, free: 19.3 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.704/3.446, allocations: 4 kB / 0.7901 GB, free: 19.29 MB / 474.7 MB (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)