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.001036/0.001036, allocations: 169 kB / 7.646 MB, free: 1.426 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.352/1.352, allocations: 221.5 MB / 229.6 MB, free: 7.562 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.0009199/0.00092, allocations: 101.8 kB / 280.5 MB, free: 5.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4669/0.4669, allocations: 78.95 MB / 410.2 MB, free: 6.027 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.838e-05/1.853e-05, allocations: 0 / 486 MB, free: 11.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1443, allocations: 69.51 MB / 0.5425 GB, free: 5.812 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4183/0.5626, allocations: 99.45 MB / 0.6396 GB, free: 14.5 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002046/0.5629, allocations: 83.95 kB / 0.6397 GB, free: 14.42 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05604/0.6189, allocations: 20.53 MB / 0.6598 GB, free: 10.01 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.619, allocations: 4 kB / 0.6598 GB, free: 10 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.876e-05/0.6191, allocations: 15.98 kB / 0.6598 GB, free: 9.988 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.003564/0.6226, allocations: 1.301 MB / 0.6611 GB, free: 8.645 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.6227, allocations: 8.031 kB / 0.6611 GB, free: 8.637 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001836/0.6245, allocations: 322.5 kB / 0.6614 GB, free: 8.32 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001214/0.6258, allocations: 0.6097 MB / 0.662 GB, free: 7.672 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003786/0.6262, allocations: 320.6 kB / 0.6623 GB, free: 7.301 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001719/0.6263, allocations: 37.56 kB / 0.6623 GB, free: 7.266 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001126/0.6275, allocations: 0.5767 MB / 0.6629 GB, free: 6.691 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001184/0.6287, allocations: 0.6627 MB / 0.6635 GB, free: 6.004 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.6287, allocations: 4 kB / 0.6635 GB, free: 6 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.827e-05/0.6288, allocations: 0 / 0.6635 GB, free: 6 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.392e-05/0.6288, allocations: 16 kB / 0.6636 GB, free: 5.984 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.00566/0.6345, allocations: 2.983 MB / 0.6665 GB, free: 2.875 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006505/0.641, allocations: 2.378 MB / 0.6688 GB, free: 412 kB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005814/0.6416, allocations: 403.4 kB / 0.6692 GB, free: 4 kB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001103/0.6417, allocations: 8.609 kB / 0.6692 GB, free: 15.99 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.6417, allocations: 51 kB / 0.6692 GB, free: 15.94 MB / 490.7 MB Notification: Performance of pre-optimization done (n=71): time 2.074e-06/0.6418, allocations: 0 / 0.6692 GB, free: 15.94 MB / 490.7 MB Notification: Performance of matching and sorting (n=71): time 0.009377/0.6511, allocations: 2.993 MB / 0.6722 GB, free: 12.93 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.078e-05/0.6512, allocations: 111.4 kB / 0.6723 GB, free: 12.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009061/0.6521, allocations: 0.5586 MB / 0.6728 GB, free: 12.23 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000123/0.6523, allocations: 29.7 kB / 0.6728 GB, free: 12.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002521/0.6525, allocations: 380.5 kB / 0.6732 GB, free: 11.82 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002954/0.6528, allocations: 240.4 kB / 0.6734 GB, free: 11.59 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.108e-05/0.6529, allocations: 0 / 0.6734 GB, free: 11.59 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.653, allocations: 334 kB / 0.6737 GB, free: 11.25 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004927/0.6535, allocations: 309.5 kB / 0.674 GB, free: 10.95 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005501/0.6541, allocations: 427 kB / 0.6744 GB, free: 10.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005637/0.6547, allocations: 332.5 kB / 0.6748 GB, free: 10.17 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.6547, allocations: 0 / 0.6748 GB, free: 10.17 MB / 490.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.009224/0.6639, allocations: 3.049 MB / 0.6777 GB, free: 7.109 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003863/0.6643, allocations: 1.133 MB / 0.6788 GB, free: 5.887 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/0.6643, allocations: 11.89 kB / 0.6789 GB, free: 5.875 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004008/0.6684, allocations: 1.211 MB / 0.68 GB, free: 4.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004937/0.6689, allocations: 94.52 kB / 0.6801 GB, free: 4.57 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002811/0.6717, allocations: 1.611 MB / 0.6817 GB, free: 2.934 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/0.6729, allocations: 143.5 kB / 0.6818 GB, free: 2.793 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/0.673, allocations: 27.98 kB / 0.6819 GB, free: 2.766 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.6731, allocations: 4 kB / 0.6819 GB, free: 2.762 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008709/0.6818, allocations: 2.829 MB / 0.6846 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.6818, allocations: 4 kB / 0.6846 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003779/0.6856, allocations: 1.176 MB / 0.6858 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004913/0.6861, allocations: 103.8 kB / 0.6859 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01164/0.6978, allocations: 5.938 MB / 0.6917 GB, free: 8.578 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/0.699, allocations: 127.6 kB / 0.6918 GB, free: 8.453 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001102/0.6991, allocations: 25.22 kB / 0.6918 GB, free: 8.43 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.0003012/0.6994, allocations: 135.4 kB / 0.692 GB, free: 8.293 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009401/0.7088, allocations: 2.987 MB / 0.6949 GB, free: 5.297 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003662/0.7092, allocations: 86.91 kB / 0.695 GB, free: 5.211 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00915/0.7184, allocations: 3.081 MB / 0.698 GB, free: 2.109 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.325e-05/0.7185, allocations: 8 kB / 0.698 GB, free: 2.102 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.7185, allocations: 7.938 kB / 0.698 GB, free: 2.094 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.347e-05/0.7185, allocations: 0 / 0.698 GB, free: 2.094 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.01093/0.7294, allocations: 4.2 MB / 0.7021 GB, free: 13.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/0.7295, allocations: 0 / 0.7021 GB, free: 13.81 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004625/0.7299, allocations: 84.55 kB / 0.7022 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003663/0.7336, allocations: 1.175 MB / 0.7033 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.557e-05/0.7337, allocations: 3.984 kB / 0.7033 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01196/0.7457, allocations: 6.246 MB / 0.7094 GB, free: 6.168 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/0.7458, allocations: 0 / 0.7094 GB, free: 6.168 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01014/0.7559, allocations: 3.724 MB / 0.7131 GB, free: 2.418 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003416/0.7563, allocations: 183 kB / 0.7132 GB, free: 2.223 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001963/0.7565, allocations: 12.98 kB / 0.7132 GB, free: 2.211 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001005/0.7575, allocations: 107.9 kB / 0.7133 GB, free: 2.105 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004153/0.7579, allocations: 152.5 kB / 0.7135 GB, free: 1.957 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.511e-05/0.758, allocations: 19.98 kB / 0.7135 GB, free: 1.938 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006072/0.7586, allocations: 447.2 kB / 0.7139 GB, free: 1.504 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.11e-07/0.7586, allocations: 0 / 0.7139 GB, free: 1.504 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001656/0.7603, allocations: 431.1 kB / 0.7143 GB, free: 1.082 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.0107/0.771, allocations: 4.354 MB / 0.7186 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007125/0.7782, allocations: 2.417 MB / 0.721 GB, free: 10.26 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.7782, allocations: 4 kB / 0.721 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003204/0.7814, allocations: 1.142 MB / 0.7221 GB, free: 9.102 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008909/0.7823, allocations: 64.36 kB / 0.7221 GB, free: 9.043 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003465/0.7858, allocations: 1.397 MB / 0.7235 GB, free: 7.605 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005726/0.7864, allocations: 1.012 MB / 0.7245 GB, free: 6.562 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0005714/0.787, allocations: 115.5 kB / 0.7246 GB, free: 6.449 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003457/0.7874, allocations: 303.3 kB / 0.7249 GB, free: 6.152 MB / 0.5261 GB Notification: Performance of SimCode: time 1.002e-06/0.7874, allocations: 0 / 0.7249 GB, free: 6.152 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05152/0.8389, allocations: 26.01 MB / 0.7503 GB, free: 12.37 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001793/0.8391, allocations: 118.6 kB / 0.7504 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.839/3.678, allocations: 7.938 kB / 0.7504 GB, free: 12.17 MB / 0.5573 GB (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)