Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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: translateModel(OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1") translateModel(OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 174.5 kB / 7.647 MB, free: 1.422 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.333/1.333, allocations: 221.5 MB / 229.6 MB, free: 7.598 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.0008082/0.0008082, allocations: 96.3 kB / 280.5 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5114/0.5114, allocations: 78.12 MB / 409.4 MB, free: 6.465 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.394e-05/1.398e-05, allocations: 3.938 kB / 485 MB, free: 12.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1158, allocations: 69.35 MB / 0.5413 GB, free: 6.961 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3501/0.466, allocations: 98.87 MB / 0.6379 GB, free: 0.9219 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001929/0.4662, allocations: 85.59 kB / 0.638 GB, free: 0.8398 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05653/0.5227, allocations: 20.36 MB / 0.6578 GB, free: 12.56 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.5228, allocations: 0 / 0.6578 GB, free: 12.56 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.535e-05/0.5229, allocations: 16 kB / 0.6579 GB, free: 12.54 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.003521/0.5264, allocations: 1.293 MB / 0.6591 GB, free: 11.21 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.5264, allocations: 8.219 kB / 0.6591 GB, free: 11.2 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001803/0.5282, allocations: 328.5 kB / 0.6594 GB, free: 10.88 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001143/0.5294, allocations: 0.602 MB / 0.66 GB, free: 10.24 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003601/0.5298, allocations: 320.6 kB / 0.6603 GB, free: 9.867 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001506/0.5299, allocations: 39.91 kB / 0.6604 GB, free: 9.828 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00107/0.531, allocations: 0.5805 MB / 0.6609 GB, free: 9.25 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/0.5322, allocations: 0.6635 MB / 0.6616 GB, free: 8.562 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.5322, allocations: 0 / 0.6616 GB, free: 8.562 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.738e-05/0.5323, allocations: 0 / 0.6616 GB, free: 8.562 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.36e-05/0.5323, allocations: 19.94 kB / 0.6616 GB, free: 8.543 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.005466/0.5378, allocations: 2.976 MB / 0.6645 GB, free: 5.441 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006565/0.5443, allocations: 2.382 MB / 0.6668 GB, free: 2.969 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005756/0.5449, allocations: 407.4 kB / 0.6672 GB, free: 2.566 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.686e-05/0.545, allocations: 17.05 kB / 0.6672 GB, free: 2.551 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.5451, allocations: 39.12 kB / 0.6673 GB, free: 2.5 MB / 474.7 MB Notification: Performance of pre-optimization done (n=71): time 4.439e-06/0.5451, allocations: 4 kB / 0.6673 GB, free: 2.496 MB / 474.7 MB Notification: Performance of matching and sorting (n=71): time 0.009291/0.5544, allocations: 2.984 MB / 0.6702 GB, free: 15.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.178e-05/0.5545, allocations: 119.3 kB / 0.6703 GB, free: 15.36 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008639/0.5553, allocations: 0.5624 MB / 0.6709 GB, free: 14.79 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000107/0.5555, allocations: 26.36 kB / 0.6709 GB, free: 14.76 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002504/0.5557, allocations: 380.5 kB / 0.6713 GB, free: 14.39 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002758/0.556, allocations: 240.4 kB / 0.6715 GB, free: 14.15 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.212e-05/0.5561, allocations: 0 / 0.6715 GB, free: 14.15 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.5562, allocations: 334 kB / 0.6718 GB, free: 13.82 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004993/0.5567, allocations: 309.5 kB / 0.6721 GB, free: 13.52 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005728/0.5573, allocations: 415 kB / 0.6725 GB, free: 13.07 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005274/0.5578, allocations: 333.5 kB / 0.6728 GB, free: 12.75 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.745e-06/0.5578, allocations: 8 kB / 0.6728 GB, free: 12.74 MB / 490.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.009602/0.5674, allocations: 3.048 MB / 0.6758 GB, free: 9.676 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004027/0.5679, allocations: 1.142 MB / 0.6769 GB, free: 8.445 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/0.5679, allocations: 3.953 kB / 0.6769 GB, free: 8.441 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004138/0.572, allocations: 1.209 MB / 0.6781 GB, free: 7.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000487/0.5726, allocations: 95.89 kB / 0.6782 GB, free: 7.137 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002867/0.5754, allocations: 1.609 MB / 0.6798 GB, free: 5.504 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001206/0.5767, allocations: 150 kB / 0.6799 GB, free: 5.359 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/0.5768, allocations: 23.98 kB / 0.6799 GB, free: 5.336 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.5768, allocations: 4 kB / 0.6799 GB, free: 5.332 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009027/0.5858, allocations: 2.837 MB / 0.6827 GB, free: 2.488 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/0.5859, allocations: 4.25 kB / 0.6827 GB, free: 2.484 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0039/0.5898, allocations: 1.172 MB / 0.6838 GB, free: 1.309 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000498/0.5903, allocations: 99.89 kB / 0.6839 GB, free: 1.211 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01166/0.602, allocations: 5.931 MB / 0.6897 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/0.6031, allocations: 127.6 kB / 0.6899 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-05/0.6033, allocations: 24 kB / 0.6899 GB, free: 11.01 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.0002793/0.6035, allocations: 126.2 kB / 0.69 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002651/0.6038, allocations: 86.97 kB / 0.6901 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009625/0.6134, allocations: 3.086 MB / 0.6931 GB, free: 7.688 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/0.6135, allocations: 8 kB / 0.6931 GB, free: 7.68 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.6135, allocations: 2.938 kB / 0.6931 GB, free: 7.68 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.6135, allocations: 7.984 kB / 0.6931 GB, free: 7.672 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.01109/0.6246, allocations: 4.194 MB / 0.6972 GB, free: 3.391 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.6246, allocations: 0 / 0.6972 GB, free: 3.391 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000439/0.6251, allocations: 75.91 kB / 0.6973 GB, free: 3.316 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003795/0.6289, allocations: 1.189 MB / 0.6984 GB, free: 2.125 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.048e-05/0.629, allocations: 8 kB / 0.6984 GB, free: 2.117 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01214/0.6411, allocations: 6.243 MB / 0.7045 GB, free: 11.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.6412, allocations: 0 / 0.7045 GB, free: 11.75 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01009/0.6512, allocations: 3.716 MB / 0.7082 GB, free: 8.004 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003055/0.6516, allocations: 183.9 kB / 0.7083 GB, free: 7.805 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001792/0.6518, allocations: 8.781 kB / 0.7084 GB, free: 7.797 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009903/0.6528, allocations: 110.8 kB / 0.7085 GB, free: 7.691 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000378/0.6532, allocations: 156.5 kB / 0.7086 GB, free: 7.539 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.744e-05/0.6532, allocations: 16 kB / 0.7086 GB, free: 7.523 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005768/0.6538, allocations: 451.2 kB / 0.7091 GB, free: 7.086 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6538, allocations: 0 / 0.7091 GB, free: 7.086 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001474/0.6553, allocations: 431.1 kB / 0.7095 GB, free: 6.664 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.000237/0.6556, allocations: 132 kB / 0.7096 GB, free: 6.523 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006685/0.6623, allocations: 2.417 MB / 0.712 GB, free: 4.094 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.6623, allocations: 0.9375 kB / 0.712 GB, free: 4.094 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003066/0.6654, allocations: 1.142 MB / 0.7131 GB, free: 2.945 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006329/0.666, allocations: 72.95 kB / 0.7131 GB, free: 2.879 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002517/0.6685, allocations: 1.274 MB / 0.7144 GB, free: 1.57 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005054/0.6691, allocations: 1.012 MB / 0.7154 GB, free: 0.5273 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005357/0.6696, allocations: 111.4 kB / 0.7155 GB, free: 428 kB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.6697, allocations: 35.44 kB / 0.7155 GB, free: 396 kB / 0.5105 GB Notification: Performance of SimCode: time 5.61e-07/0.6697, allocations: 0 / 0.7155 GB, free: 396 kB / 0.5105 GB Notification: Performance of Templates: time 0.02899/0.6987, allocations: 19.27 MB / 0.7343 GB, free: 13.28 MB / 0.5417 GB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1.sim & ./OpenIPSL_release_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1.pipe 2>&1)