Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.Controls.PSSE.TG.TGOV1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 104.5 kB / 16.35 MB, free: 5.879 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 222.9 MB / 240 MB, free: 4.531 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.001208/0.001208, allocations: 184.5 kB / 290.3 MB, free: 2.27 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4331/0.4331, allocations: 78.53 MB / 419 MB, free: 3.07 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 75.88 kB / 498.9 MB, free: 5.621 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1161, allocations: 68.18 MB / 0.5538 GB, free: 1.41 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1): time 0.1884/0.3046, allocations: 7.969 MB / 0.5616 GB, free: 35.83 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003824/0.3085, allocations: 2.504 MB / 0.564 GB, free: 35.15 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005733/0.3091, allocations: 11.91 kB / 0.564 GB, free: 35.15 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006557/0.3097, allocations: 307.5 kB / 0.5643 GB, free: 35.14 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002177/0.3119, allocations: 1.194 MB / 0.5655 GB, free: 34.75 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001184/0.3131, allocations: 0.6655 MB / 0.5661 GB, free: 34.69 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001801/0.3149, allocations: 2.272 MB / 0.5683 GB, free: 34.26 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004237/0.3154, allocations: 370.7 kB / 0.5687 GB, free: 34.18 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007531/0.3161, allocations: 0.8703 MB / 0.5695 GB, free: 33.97 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008584/0.317, allocations: 1.103 MB / 0.5706 GB, free: 33.7 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002015/0.3172, allocations: 176.2 kB / 0.5708 GB, free: 33.7 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005105/0.3177, allocations: 352.1 kB / 0.5711 GB, free: 33.69 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002667/0.318, allocations: 450.5 kB / 0.5716 GB, free: 33.59 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005268/0.3185, allocations: 0.8743 MB / 0.5724 GB, free: 33.29 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001448/0.32, allocations: 2.184 MB / 0.5745 GB, free: 32.81 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.32, allocations: 0 / 0.5745 GB, free: 32.81 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.32, allocations: 1.281 kB / 0.5745 GB, free: 32.81 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.315e-05/0.32, allocations: 0 / 0.5745 GB, free: 32.81 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.01236/0.3324, allocations: 3.808 MB / 0.5783 GB, free: 31.6 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.3325, allocations: 8.531 kB / 0.5783 GB, free: 31.6 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004297/0.3368, allocations: 0.7425 MB / 0.579 GB, free: 31.43 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001638/0.3384, allocations: 1.094 MB / 0.5801 GB, free: 30.72 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003545/0.3388, allocations: 422.6 kB / 0.5805 GB, free: 30.33 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001987/0.339, allocations: 106.2 kB / 0.5806 GB, free: 30.3 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002447/0.3414, allocations: 1.365 MB / 0.5819 GB, free: 29.78 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.3415, allocations: 2.781 kB / 0.5819 GB, free: 29.78 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/0.3416, allocations: 33.72 kB / 0.5819 GB, free: 29.75 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.66e-05/0.3416, allocations: 27 kB / 0.582 GB, free: 29.75 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002659/0.3443, allocations: 1.302 MB / 0.5832 GB, free: 29.31 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.007243/0.3515, allocations: 4.654 MB / 0.5878 GB, free: 26.62 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007481/0.359, allocations: 2.888 MB / 0.5906 GB, free: 25.46 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001821/0.3609, allocations: 0.9003 MB / 0.5915 GB, free: 25.1 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000144/0.361, allocations: 24.41 kB / 0.5915 GB, free: 25.09 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001982/0.363, allocations: 1.045 MB / 0.5925 GB, free: 24.69 MB / 430.1 MB Notification: Performance of pre-optimization done (n=124): time 2.926e-06/0.363, allocations: 1.688 kB / 0.5925 GB, free: 24.69 MB / 430.1 MB Notification: Performance of matching and sorting (n=124): time 0.03944/0.4025, allocations: 9.902 MB / 0.6022 GB, free: 23.08 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/0.4026, allocations: 116.7 kB / 0.6023 GB, free: 22.95 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002029/0.4046, allocations: 1.348 MB / 0.6036 GB, free: 22.31 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002943/0.4049, allocations: 55.11 kB / 0.6037 GB, free: 22.26 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003142/0.4052, allocations: 0.5742 MB / 0.6042 GB, free: 21.75 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003686/0.4056, allocations: 451.8 kB / 0.6047 GB, free: 21.36 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005601/0.4062, allocations: 327.8 kB / 0.605 GB, free: 21.16 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.248e-05/0.4062, allocations: 309 kB / 0.6053 GB, free: 20.86 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001913/0.4081, allocations: 0.9504 MB / 0.6062 GB, free: 20.39 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001975/0.4101, allocations: 1.152 MB / 0.6073 GB, free: 19.71 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003773/0.4139, allocations: 2.047 MB / 0.6093 GB, free: 18.59 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.283e-06/0.4139, allocations: 1.469 kB / 0.6093 GB, free: 18.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.009259/0.4232, allocations: 3.821 MB / 0.6131 GB, free: 16.69 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.4233, allocations: 7.062 kB / 0.6131 GB, free: 16.69 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/0.4233, allocations: 13.61 kB / 0.6131 GB, free: 16.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008601/0.4319, allocations: 2.674 MB / 0.6157 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001436/0.4334, allocations: 295.5 kB / 0.616 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00529/0.4387, allocations: 2.693 MB / 0.6186 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002219/0.4409, allocations: 242.9 kB / 0.6188 GB, free: 11.76 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001572/0.4411, allocations: 71.97 kB / 0.6189 GB, free: 11.69 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 173 * 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 {(30,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0005186/0.4416, allocations: 293.5 kB / 0.6192 GB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002611/0.4419, allocations: 150.8 kB / 0.6193 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01371/0.4556, allocations: 4.756 MB / 0.624 GB, free: 6.465 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-05/0.4556, allocations: 19.92 kB / 0.624 GB, free: 6.445 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.208e-05/0.4557, allocations: 4 kB / 0.624 GB, free: 6.441 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-05/0.4557, allocations: 7.984 kB / 0.624 GB, free: 6.434 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 postOpt removeSimpleEquations (simulation): time 0.01762/0.4734, allocations: 6.849 MB / 0.6307 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-05/0.4734, allocations: 0 / 0.6307 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009336/0.4743, allocations: 147.7 kB / 0.6308 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007423/0.4818, allocations: 2.147 MB / 0.6329 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003006/0.4821, allocations: 20 kB / 0.6329 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02563/0.5078, allocations: 10.06 MB / 0.6428 GB, free: 2.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.5078, allocations: 1.125 kB / 0.6428 GB, free: 2.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0181/0.5259, allocations: 5.916 MB / 0.6485 GB, free: 12.96 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00065/0.5266, allocations: 266.8 kB / 0.6488 GB, free: 12.68 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004285/0.527, allocations: 24 kB / 0.6488 GB, free: 12.66 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00175/0.5288, allocations: 135.8 kB / 0.649 GB, free: 12.53 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008538/0.5297, allocations: 269.2 kB / 0.6492 GB, free: 12.27 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001551/0.5298, allocations: 37.39 kB / 0.6492 GB, free: 12.23 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001618/0.5315, allocations: 0.9095 MB / 0.6501 GB, free: 11.32 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5315, allocations: 0 / 0.6501 GB, free: 11.32 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001652/0.5331, allocations: 0.5074 MB / 0.6506 GB, free: 10.81 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,tGOV1.imLeadLag.TF.x_scaled[1],tGOV1.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 80 * 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 {(26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003489/0.5335, allocations: 149 kB / 0.6508 GB, free: 10.66 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008485/0.542, allocations: 2.815 MB / 0.6535 GB, free: 7.848 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.542, allocations: 0 / 0.6535 GB, free: 7.848 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006158/0.5482, allocations: 1.917 MB / 0.6554 GB, free: 5.922 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001581/0.5498, allocations: 138.5 kB / 0.6555 GB, free: 5.789 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006028/0.5558, allocations: 2.924 MB / 0.6584 GB, free: 2.898 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008382/0.5567, allocations: 1.211 MB / 0.6596 GB, free: 1.656 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000629/0.5574, allocations: 142.4 kB / 0.6597 GB, free: 1.52 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004136/0.5578, allocations: 87.42 kB / 0.6598 GB, free: 1.434 MB / 462.1 MB Notification: Performance of SimCode: time 1.893e-06/0.5578, allocations: 112 / 0.6598 GB, free: 1.434 MB / 462.1 MB Notification: Performance of Templates: time 0.04514/0.6029, allocations: 29.12 MB / 0.6882 GB, free: 4.465 MB / 494.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe 2>&1)