Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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_OpenIPSL.Examples.Wind.PSSE.WT4G.WT4G1") translateModel(OpenIPSL.Examples.Wind.PSSE.WT4G.WT4G1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.001778/0.001779, allocations: 180.1 kB / 16.12 MB, free: 5.559 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.603/1.603, allocations: 205.4 MB / 222.3 MB, free: 9.012 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.0007869/0.0007868, allocations: 86.36 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.3465/0.3465, allocations: 42.29 MB / 361.2 MB, free: 49.5 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004648/0.0004648, allocations: 20 kB / 429.4 MB, free: 7.82 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1201, allocations: 57.55 MB / 487 MB, free: 14.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3442/0.4643, allocations: 94.6 MB / 0.568 GB, free: 13.18 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003178/0.4647, allocations: 87.95 kB / 0.568 GB, free: 13.09 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05813/0.5229, allocations: 20.11 MB / 0.5877 GB, free: 8.918 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.987e-06/0.5229, allocations: 3.984 kB / 0.5877 GB, free: 8.914 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.402e-05/0.523, allocations: 19.98 kB / 0.5877 GB, free: 8.895 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.004484/0.5275, allocations: 1.484 MB / 0.5892 GB, free: 7.359 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.5275, allocations: 8.031 kB / 0.5892 GB, free: 7.352 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001883/0.5294, allocations: 329.1 kB / 0.5895 GB, free: 7.031 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001329/0.5308, allocations: 0.6521 MB / 0.5901 GB, free: 6.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000431/0.5312, allocations: 348.5 kB / 0.5904 GB, free: 5.945 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001825/0.5314, allocations: 60 kB / 0.5905 GB, free: 5.887 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002051/0.5335, allocations: 0.9579 MB / 0.5914 GB, free: 4.906 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/0.5335, allocations: 0 / 0.5914 GB, free: 4.906 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.481e-05/0.5336, allocations: 24 kB / 0.5915 GB, free: 4.883 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.666e-05/0.5336, allocations: 16 kB / 0.5915 GB, free: 4.867 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001989/0.5356, allocations: 0.8717 MB / 0.5923 GB, free: 3.992 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.006295/0.542, allocations: 3.087 MB / 0.5953 GB, free: 0.7656 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007338/0.5493, allocations: 2.727 MB / 0.598 GB, free: 13.95 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001442/0.5508, allocations: 0.6163 MB / 0.5986 GB, free: 13.32 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001227/0.5509, allocations: 13.31 kB / 0.5986 GB, free: 13.31 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.769e-05/0.551, allocations: 47.06 kB / 0.5987 GB, free: 13.26 MB / 426.7 MB Notification: Performance of pre-optimization done (n=71): time 5.47e-06/0.551, allocations: 0 / 0.5987 GB, free: 13.26 MB / 426.7 MB Notification: Performance of matching and sorting (n=71): time 0.02338/0.5744, allocations: 6.888 MB / 0.6054 GB, free: 6.336 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.943e-05/0.5745, allocations: 119.4 kB / 0.6055 GB, free: 6.195 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001268/0.5758, allocations: 0.7157 MB / 0.6062 GB, free: 5.469 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001427/0.576, allocations: 37.7 kB / 0.6062 GB, free: 5.426 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000302/0.5763, allocations: 384.7 kB / 0.6066 GB, free: 5.043 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003381/0.5766, allocations: 257.7 kB / 0.6069 GB, free: 4.789 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.033e-05/0.5767, allocations: 12 kB / 0.6069 GB, free: 4.777 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.5769, allocations: 337.9 kB / 0.6072 GB, free: 4.441 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001248/0.5781, allocations: 0.5134 MB / 0.6077 GB, free: 3.93 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00131/0.5794, allocations: 0.6467 MB / 0.6083 GB, free: 3.238 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002533/0.582, allocations: 1.152 MB / 0.6094 GB, free: 2.047 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/0.582, allocations: 4 kB / 0.6094 GB, free: 2.043 MB / 426.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.01105/0.5931, allocations: 3.708 MB / 0.6131 GB, free: 14.32 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001372/0.5932, allocations: 182.2 kB / 0.6132 GB, free: 14.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.5933, allocations: 4 kB / 0.6132 GB, free: 14.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005186/0.5985, allocations: 1.637 MB / 0.6148 GB, free: 12.45 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005183/0.599, allocations: 95.83 kB / 0.6149 GB, free: 12.36 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02077/0.6198, allocations: 8.635 MB / 0.6234 GB, free: 3.578 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001428/0.6213, allocations: 163.4 kB / 0.6235 GB, free: 3.418 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001635/0.6215, allocations: 23.98 kB / 0.6235 GB, free: 3.395 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.6215, allocations: 4 kB / 0.6236 GB, free: 3.391 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0106/0.6321, allocations: 3.434 MB / 0.6269 GB, free: 15.95 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.6321, allocations: 4 kB / 0.6269 GB, free: 15.94 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004763/0.6369, allocations: 1.546 MB / 0.6284 GB, free: 14.39 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005282/0.6375, allocations: 99.89 kB / 0.6285 GB, free: 14.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01838/0.6559, allocations: 7.997 MB / 0.6363 GB, free: 6.164 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/0.6572, allocations: 143.5 kB / 0.6365 GB, free: 6.023 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001164/0.6573, allocations: 28 kB / 0.6365 GB, free: 5.996 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.0005561/0.6579, allocations: 277 kB / 0.6368 GB, free: 5.715 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002909/0.6582, allocations: 98.75 kB / 0.6368 GB, free: 5.617 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01098/0.6692, allocations: 3.737 MB / 0.6405 GB, free: 1.867 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-05/0.6692, allocations: 12 kB / 0.6405 GB, free: 1.855 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.6692, allocations: 0 / 0.6405 GB, free: 1.855 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.758e-05/0.6692, allocations: 3.984 kB / 0.6405 GB, free: 1.852 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.01301/0.6823, allocations: 4.946 MB / 0.6453 GB, free: 12.81 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.6823, allocations: 0 / 0.6453 GB, free: 12.81 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004476/0.6828, allocations: 71.91 kB / 0.6454 GB, free: 12.74 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004681/0.6875, allocations: 1.577 MB / 0.647 GB, free: 11.16 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/0.6876, allocations: 16 kB / 0.647 GB, free: 11.14 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01946/0.7071, allocations: 8.542 MB / 0.6553 GB, free: 2.445 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.7071, allocations: 0 / 0.6553 GB, free: 2.445 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0127/0.7198, allocations: 4.568 MB / 0.6598 GB, free: 13.84 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005596/0.7204, allocations: 183.8 kB / 0.6599 GB, free: 13.64 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002283/0.7207, allocations: 23.98 kB / 0.66 GB, free: 13.62 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009948/0.7217, allocations: 111.9 kB / 0.6601 GB, free: 13.51 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005739/0.7222, allocations: 164.3 kB / 0.6602 GB, free: 13.35 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.515e-05/0.7223, allocations: 16 kB / 0.6602 GB, free: 13.34 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009307/0.7233, allocations: 0.5068 MB / 0.6607 GB, free: 12.84 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.763e-06/0.7233, allocations: 0 / 0.6607 GB, free: 12.84 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002082/0.7254, allocations: 0.5148 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.0002735/0.7257, allocations: 132 kB / 0.6614 GB, free: 12.18 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008838/0.7345, allocations: 3.336 MB / 0.6646 GB, free: 8.828 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.7345, allocations: 0 / 0.6646 GB, free: 8.828 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003749/0.7383, allocations: 1.407 MB / 0.666 GB, free: 7.41 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001135/0.7395, allocations: 99.77 kB / 0.6661 GB, free: 7.309 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003776/0.7433, allocations: 2.029 MB / 0.6681 GB, free: 5.258 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006436/0.7439, allocations: 0.9987 MB / 0.6691 GB, free: 4.234 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003654/0.7443, allocations: 68.89 kB / 0.6691 GB, free: 4.168 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001548/0.7445, allocations: 43.42 kB / 0.6692 GB, free: 4.125 MB / 490.7 MB Notification: Performance of SimCode: time 7.11e-07/0.7445, allocations: 0 / 0.6692 GB, free: 4.125 MB / 490.7 MB Notification: Performance of Templates: time 0.24/0.9845, allocations: 22.69 MB / 0.6913 GB, free: 130.7 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.Wind.PSSE.WT4G.WT4G1.makefile (rm -f OpenIPSL_OpenIPSL.Examples.Wind.PSSE.WT4G.WT4G1.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.Wind.PSSE.WT4G.WT4G1.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.Wind.PSSE.WT4G.WT4G1.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.Wind.PSSE.WT4G.WT4G1.sim & ./OpenIPSL_OpenIPSL.Examples.Wind.PSSE.WT4G.WT4G1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.Wind.PSSE.WT4G.WT4G1.pipe 2>&1)