Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.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/OpenIPSL 2.0.0-master/package.mo", uses=false) Using package OpenIPSL with version 2.0.0-beta.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/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: translateModel(OpenIPSL.Examples.Wind.PSSE.WT4G.WT4G1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Wind.PSSE.WT4G.WT4G1") translateModel(OpenIPSL.Examples.Wind.PSSE.WT4G.WT4G1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Wind.PSSE.WT4G.WT4G1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001162/0.001162, allocations: 171.1 kB / 16.11 MB, free: 5.551 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.57/1.57, allocations: 205.4 MB / 222.3 MB, free: 9.016 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.0009591/0.0009591, allocations: 94.3 kB / 270.6 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.3367/0.3367, allocations: 42.29 MB / 361.2 MB, free: 49.4 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000463/0.0004631, allocations: 12 kB / 429.4 MB, free: 7.824 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1405, allocations: 57.55 MB / 487 MB, free: 14.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3943/0.5349, allocations: 94.6 MB / 0.568 GB, free: 13.19 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002653/0.5352, allocations: 91.94 kB / 0.568 GB, free: 13.1 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05806/0.5933, allocations: 20.12 MB / 0.5877 GB, free: 8.914 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.5933, allocations: 0 / 0.5877 GB, free: 8.914 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.502e-05/0.5934, allocations: 16 kB / 0.5877 GB, free: 8.898 MB / 410.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.004519/0.598, allocations: 1.48 MB / 0.5891 GB, free: 7.367 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.598, allocations: 8.031 kB / 0.5892 GB, free: 7.359 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001928/0.6, allocations: 337 kB / 0.5895 GB, free: 7.031 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00146/0.6014, allocations: 0.6481 MB / 0.5901 GB, free: 6.344 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004599/0.6019, allocations: 344.5 kB / 0.5904 GB, free: 5.953 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002128/0.6021, allocations: 67.09 kB / 0.5905 GB, free: 5.891 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002081/0.6042, allocations: 0.9657 MB / 0.5914 GB, free: 4.902 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/0.6043, allocations: 0 / 0.5914 GB, free: 4.902 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.209e-05/0.6044, allocations: 24 kB / 0.5915 GB, free: 4.879 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.512e-05/0.6044, allocations: 12 kB / 0.5915 GB, free: 4.867 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002025/0.6064, allocations: 0.8757 MB / 0.5923 GB, free: 3.988 MB / 410.7 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.006637/0.6131, allocations: 3.09 MB / 0.5954 GB, free: 0.7578 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007456/0.6205, allocations: 2.719 MB / 0.598 GB, free: 13.95 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001395/0.622, allocations: 0.6241 MB / 0.5986 GB, free: 13.32 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.947e-05/0.6221, allocations: 12.55 kB / 0.5986 GB, free: 13.3 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.447e-05/0.6221, allocations: 39.12 kB / 0.5987 GB, free: 13.26 MB / 426.7 MB Notification: Performance of pre-optimization done (n=71): time 2.785e-06/0.6222, allocations: 4 kB / 0.5987 GB, free: 13.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=71): time 0.0233/0.6455, allocations: 6.889 MB / 0.6054 GB, free: 6.332 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.624e-05/0.6456, allocations: 107.4 kB / 0.6055 GB, free: 6.203 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001244/0.6468, allocations: 0.7274 MB / 0.6062 GB, free: 5.465 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001503/0.647, allocations: 37.7 kB / 0.6062 GB, free: 5.422 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002864/0.6473, allocations: 380.7 kB / 0.6066 GB, free: 5.043 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000353/0.6477, allocations: 252.3 kB / 0.6068 GB, free: 4.793 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.409e-05/0.6477, allocations: 16 kB / 0.6069 GB, free: 4.777 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.6479, allocations: 333.9 kB / 0.6072 GB, free: 4.445 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001317/0.6492, allocations: 0.5173 MB / 0.6077 GB, free: 3.93 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001334/0.6506, allocations: 0.6428 MB / 0.6083 GB, free: 3.242 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002535/0.6531, allocations: 1.156 MB / 0.6094 GB, free: 2.047 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.6531, allocations: 4 kB / 0.6094 GB, free: 2.043 MB / 426.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.01103/0.6642, allocations: 3.716 MB / 0.6131 GB, free: 14.31 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001372/0.6643, allocations: 170.2 kB / 0.6132 GB, free: 14.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.6644, allocations: 8 kB / 0.6132 GB, free: 14.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005031/0.6694, allocations: 1.641 MB / 0.6148 GB, free: 12.45 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004921/0.6699, allocations: 95.83 kB / 0.6149 GB, free: 12.35 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02076/0.6907, allocations: 8.633 MB / 0.6234 GB, free: 3.578 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001549/0.6923, allocations: 163.4 kB / 0.6235 GB, free: 3.418 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001997/0.6925, allocations: 28 kB / 0.6236 GB, free: 3.391 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.6926, allocations: 4 kB / 0.6236 GB, free: 3.387 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0105/0.7031, allocations: 3.434 MB / 0.6269 GB, free: 15.95 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.7031, allocations: 0 / 0.6269 GB, free: 15.95 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00473/0.7079, allocations: 1.546 MB / 0.6284 GB, free: 14.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005114/0.7084, allocations: 99.83 kB / 0.6285 GB, free: 14.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01857/0.727, allocations: 7.997 MB / 0.6363 GB, free: 6.168 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/0.7282, allocations: 143.5 kB / 0.6365 GB, free: 6.027 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001346/0.7284, allocations: 23.98 kB / 0.6365 GB, free: 6.004 MB / 458.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 () * 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 (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.0006266/0.729, allocations: 277 kB / 0.6368 GB, free: 5.723 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003367/0.7294, allocations: 94.81 kB / 0.6368 GB, free: 5.629 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01116/0.7406, allocations: 3.741 MB / 0.6405 GB, free: 1.875 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.668e-05/0.7406, allocations: 11.94 kB / 0.6405 GB, free: 1.863 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.7406, allocations: 0 / 0.6405 GB, free: 1.863 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.012e-05/0.7407, allocations: 7.984 kB / 0.6405 GB, free: 1.855 MB / 458.7 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.01338/0.754, allocations: 4.938 MB / 0.6453 GB, free: 12.81 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.36e-05/0.7541, allocations: 0 / 0.6453 GB, free: 12.81 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005798/0.7547, allocations: 83.89 kB / 0.6454 GB, free: 12.73 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005705/0.7604, allocations: 1.573 MB / 0.647 GB, free: 11.15 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001308/0.7606, allocations: 16 kB / 0.647 GB, free: 11.14 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02002/0.7806, allocations: 8.542 MB / 0.6553 GB, free: 2.445 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.7807, allocations: 0 / 0.6553 GB, free: 2.445 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01221/0.7929, allocations: 4.564 MB / 0.6598 GB, free: 13.85 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004002/0.7934, allocations: 187.8 kB / 0.6599 GB, free: 13.64 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002269/0.7936, allocations: 16 kB / 0.66 GB, free: 13.63 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/0.7947, allocations: 124 kB / 0.6601 GB, free: 13.51 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005082/0.7952, allocations: 164.3 kB / 0.6602 GB, free: 13.35 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.745e-05/0.7953, allocations: 19.94 kB / 0.6603 GB, free: 13.33 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008736/0.7961, allocations: 0.5068 MB / 0.6607 GB, free: 12.83 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.7962, allocations: 0 / 0.6607 GB, free: 12.83 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002303/0.7985, allocations: 0.507 MB / 0.6612 GB, free: 12.32 MB / 490.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 () * 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 (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.000322/0.7988, allocations: 139.2 kB / 0.6614 GB, free: 12.18 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009754/0.8086, allocations: 3.328 MB / 0.6646 GB, free: 8.828 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.8086, allocations: 3.938 kB / 0.6646 GB, free: 8.824 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003726/0.8123, allocations: 1.407 MB / 0.666 GB, free: 7.406 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/0.8135, allocations: 92.22 kB / 0.6661 GB, free: 7.312 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003752/0.8173, allocations: 2.02 MB / 0.6681 GB, free: 5.27 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006746/0.818, allocations: 1.014 MB / 0.6691 GB, free: 4.23 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003581/0.8184, allocations: 64.91 kB / 0.6691 GB, free: 4.168 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000164/0.8186, allocations: 51.42 kB / 0.6692 GB, free: 4.117 MB / 490.7 MB Notification: Performance of SimCode: time 1.112e-06/0.8186, allocations: 0 / 0.6692 GB, free: 4.117 MB / 490.7 MB Notification: Performance of Templates: time 0.2389/1.057, allocations: 22.69 MB / 0.6913 GB, free: 130.6 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Wind.PSSE.WT4G.WT4G1.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.Wind.PSSE.WT4G.WT4G1.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.Wind.PSSE.WT4G.WT4G1.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.Wind.PSSE.WT4G.WT4G1.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.Wind.PSSE.WT4G.WT4G1.sim & ./OpenIPSL_release_OpenIPSL.Examples.Wind.PSSE.WT4G.WT4G1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.Wind.PSSE.WT4G.WT4G1.pipe 2>&1)