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/ModelicaServices 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/Complex 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1") translateModel(OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.001044, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 222.9 MB / 239.2 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 196.4 kB / 289.5 MB, free: 2.316 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5123/0.5123, allocations: 91.9 MB / 431.6 MB, free: 9.227 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001658/0.001659, allocations: 84.16 kB / 0.5019 GB, free: 7.684 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3711/0.3728, allocations: 71.27 MB / 0.5715 GB, free: 36.74 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1): time 0.005079/0.3779, allocations: 5.221 MB / 0.5766 GB, free: 33.82 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00304/0.381, allocations: 1.548 MB / 0.5781 GB, free: 32.91 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004588/0.3815, allocations: 9.219 kB / 0.5781 GB, free: 32.91 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004839/0.382, allocations: 169.5 kB / 0.5783 GB, free: 32.82 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007353/0.3828, allocations: 330.6 kB / 0.5786 GB, free: 32.59 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001345/0.3841, allocations: 0.7361 MB / 0.5793 GB, free: 32.19 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008281/0.385, allocations: 1.141 MB / 0.5804 GB, free: 31.62 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000354/0.3853, allocations: 274.6 kB / 0.5807 GB, free: 31.5 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003734/0.3857, allocations: 470.9 kB / 0.5811 GB, free: 31.26 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006112/0.3863, allocations: 0.584 MB / 0.5817 GB, free: 30.98 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001288/0.3865, allocations: 97.06 kB / 0.5818 GB, free: 30.98 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002882/0.3868, allocations: 151.9 kB / 0.5819 GB, free: 30.96 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001682/0.3869, allocations: 247.6 kB / 0.5822 GB, free: 30.8 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003163/0.3873, allocations: 490.8 kB / 0.5826 GB, free: 30.48 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009015/0.3882, allocations: 1.203 MB / 0.5838 GB, free: 29.94 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3882, allocations: 0 / 0.5838 GB, free: 29.94 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3882, allocations: 0 / 0.5838 GB, free: 29.94 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.185e-05/0.3882, allocations: 1.188 kB / 0.5838 GB, free: 29.94 MB / 430.1 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.00493/0.3931, allocations: 1.849 MB / 0.5856 GB, free: 29.02 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/0.3932, allocations: 10.19 kB / 0.5856 GB, free: 29.02 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002542/0.3958, allocations: 449.1 kB / 0.586 GB, free: 28.91 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009828/0.3968, allocations: 0.6626 MB / 0.5867 GB, free: 28.43 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003285/0.3971, allocations: 328 kB / 0.587 GB, free: 28.12 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/0.3972, allocations: 59.38 kB / 0.5871 GB, free: 28.11 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001777/0.399, allocations: 0.906 MB / 0.5879 GB, free: 27.74 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/0.399, allocations: 1.062 kB / 0.5879 GB, free: 27.74 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.41e-05/0.3991, allocations: 21.69 kB / 0.588 GB, free: 27.73 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.849e-05/0.3991, allocations: 14 kB / 0.588 GB, free: 27.73 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001732/0.4009, allocations: 0.8043 MB / 0.5888 GB, free: 27.47 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.00513/0.406, allocations: 2.986 MB / 0.5917 GB, free: 25.67 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006712/0.4127, allocations: 2.161 MB / 0.5938 GB, free: 24.94 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001322/0.4141, allocations: 0.562 MB / 0.5943 GB, free: 24.73 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.721e-05/0.4142, allocations: 10.44 kB / 0.5944 GB, free: 24.72 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.4142, allocations: 46.5 kB / 0.5944 GB, free: 24.67 MB / 430.1 MB Notification: Performance of pre-optimization done (n=71): time 3.877e-06/0.4143, allocations: 0 / 0.5944 GB, free: 24.67 MB / 430.1 MB Notification: Performance of matching and sorting (n=71): time 0.0215/0.4358, allocations: 5.343 MB / 0.5996 GB, free: 23.69 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.03e-05/0.4359, allocations: 115.9 kB / 0.5997 GB, free: 23.56 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001422/0.4373, allocations: 0.7231 MB / 0.6004 GB, free: 23.24 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001631/0.4375, allocations: 36.02 kB / 0.6005 GB, free: 23.2 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002647/0.4378, allocations: 386.8 kB / 0.6008 GB, free: 22.89 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003567/0.4381, allocations: 254.4 kB / 0.6011 GB, free: 22.69 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003017/0.4385, allocations: 123.2 kB / 0.6012 GB, free: 22.62 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.705e-05/0.4385, allocations: 332.2 kB / 0.6015 GB, free: 22.31 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001186/0.4397, allocations: 475.2 kB / 0.602 GB, free: 22.15 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001221/0.441, allocations: 0.5791 MB / 0.6025 GB, free: 21.86 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002436/0.4434, allocations: 1.038 MB / 0.6035 GB, free: 21.38 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.709e-06/0.4434, allocations: 0.8125 kB / 0.6035 GB, free: 21.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.01091/0.4543, allocations: 3.022 MB / 0.6065 GB, free: 20.7 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.85e-05/0.4544, allocations: 5.656 kB / 0.6065 GB, free: 20.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.4544, allocations: 4.547 kB / 0.6065 GB, free: 20.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005221/0.4597, allocations: 1.407 MB / 0.6079 GB, free: 20.45 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005406/0.4602, allocations: 92.97 kB / 0.608 GB, free: 20.44 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.021/0.4813, allocations: 8.426 MB / 0.6162 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001393/0.4827, allocations: 119.8 kB / 0.6163 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001778/0.4829, allocations: 31.02 kB / 0.6163 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001569/0.4845, allocations: 0.5739 MB / 0.6169 GB, free: 15.28 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001069/0.4855, allocations: 0.5613 MB / 0.6174 GB, free: 14.86 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001923/0.4875, allocations: 0.9955 MB / 0.6184 GB, free: 13.82 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.15e-06/0.4875, allocations: 0 / 0.6184 GB, free: 13.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.009157/0.4967, allocations: 2.888 MB / 0.6212 GB, free: 10.92 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.4967, allocations: 8 kB / 0.6212 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.4967, allocations: 0 / 0.6212 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004093/0.5008, allocations: 1.333 MB / 0.6225 GB, free: 9.574 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004486/0.5013, allocations: 95.89 kB / 0.6226 GB, free: 9.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01625/0.5176, allocations: 7.865 MB / 0.6303 GB, free: 1.469 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001195/0.5188, allocations: 115.5 kB / 0.6304 GB, free: 1.355 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001369/0.519, allocations: 27.98 kB / 0.6305 GB, free: 1.328 MB / 430.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(18,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0003117/0.5193, allocations: 221 kB / 0.6307 GB, free: 1.105 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000334/0.5196, allocations: 86.97 kB / 0.6308 GB, free: 1.02 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01038/0.53, allocations: 3.046 MB / 0.6337 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-05/0.5301, allocations: 8 kB / 0.6337 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.5301, allocations: 0 / 0.6337 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-05/0.5301, allocations: 7.984 kB / 0.6337 GB, free: 13.94 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.01303/0.5432, allocations: 4.251 MB / 0.6379 GB, free: 9.586 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.49e-05/0.5432, allocations: 0 / 0.6379 GB, free: 9.586 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004731/0.5437, allocations: 79.89 kB / 0.638 GB, free: 9.508 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004768/0.5485, allocations: 1.331 MB / 0.6393 GB, free: 8.168 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001743/0.5487, allocations: 19.98 kB / 0.6393 GB, free: 8.148 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02063/0.5694, allocations: 8.328 MB / 0.6474 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.5694, allocations: 3.938 kB / 0.6474 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01221/0.5816, allocations: 3.799 MB / 0.6511 GB, free: 11.84 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004467/0.5821, allocations: 187.8 kB / 0.6513 GB, free: 11.63 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002498/0.5824, allocations: 20 kB / 0.6513 GB, free: 11.61 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001112/0.5835, allocations: 83.89 kB / 0.6514 GB, free: 11.53 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006405/0.5842, allocations: 152.4 kB / 0.6516 GB, free: 11.38 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-05/0.5842, allocations: 24.11 kB / 0.6516 GB, free: 11.36 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009791/0.5852, allocations: 0.5108 MB / 0.6521 GB, free: 10.86 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5853, allocations: 0 / 0.6521 GB, free: 10.86 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002377/0.5876, allocations: 0.4953 MB / 0.6526 GB, free: 10.36 MB / 462.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(18,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002575/0.5879, allocations: 123.4 kB / 0.6527 GB, free: 10.23 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009355/0.5973, allocations: 2.986 MB / 0.6556 GB, free: 7.219 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/0.5973, allocations: 0 / 0.6556 GB, free: 7.219 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003835/0.6012, allocations: 1.241 MB / 0.6568 GB, free: 5.969 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001149/0.6023, allocations: 103.2 kB / 0.6569 GB, free: 5.867 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003707/0.6061, allocations: 1.723 MB / 0.6586 GB, free: 4.125 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005979/0.6067, allocations: 1.003 MB / 0.6596 GB, free: 3.094 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003332/0.607, allocations: 69.2 kB / 0.6596 GB, free: 3.027 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001658/0.6072, allocations: 67.3 kB / 0.6597 GB, free: 2.965 MB / 462.1 MB Notification: Performance of SimCode: time 9.11e-07/0.6072, allocations: 0 / 0.6597 GB, free: 2.965 MB / 462.1 MB Notification: Performance of Templates: time 0.04286/0.6501, allocations: 26.08 MB / 0.6852 GB, free: 8.898 MB / 494.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1.makefile (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 & ./OpenIPSL_dev_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1.pipe 2>&1)