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.00215/0.00215, allocations: 106.5 kB / 16.41 MB, free: 6.488 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.516/1.516, allocations: 222.9 MB / 240.1 MB, free: 4.551 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.001559/0.001559, allocations: 192.4 kB / 290.4 MB, free: 2.266 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5374/0.5374, allocations: 78.54 MB / 419.1 MB, free: 3.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001806/0.001806, allocations: 75.88 kB / 0.5543 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3787/0.3805, allocations: 68.17 MB / 0.6209 GB, free: 9.727 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1): time 0.007572/0.3882, allocations: 7.967 MB / 0.6286 GB, free: 2.254 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005496/0.3937, allocations: 2.517 MB / 0.6311 GB, free: 15.73 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001518/0.3953, allocations: 12 kB / 0.6311 GB, free: 15.72 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001106/0.3964, allocations: 305.4 kB / 0.6314 GB, free: 15.42 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003839/0.4003, allocations: 1.197 MB / 0.6326 GB, free: 14.22 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001695/0.402, allocations: 0.6548 MB / 0.6332 GB, free: 13.57 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003339/0.4054, allocations: 2.291 MB / 0.6354 GB, free: 11.27 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006231/0.406, allocations: 381.1 kB / 0.6358 GB, free: 10.88 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001479/0.4075, allocations: 0.8638 MB / 0.6367 GB, free: 10.01 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001566/0.4091, allocations: 1.105 MB / 0.6377 GB, free: 8.902 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000308/0.4094, allocations: 172 kB / 0.6379 GB, free: 8.734 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007892/0.4102, allocations: 347.9 kB / 0.6382 GB, free: 8.391 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004114/0.4106, allocations: 450.2 kB / 0.6387 GB, free: 7.949 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008422/0.4115, allocations: 0.874 MB / 0.6395 GB, free: 7.07 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002496/0.414, allocations: 2.19 MB / 0.6416 GB, free: 4.875 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.414, allocations: 0 / 0.6416 GB, free: 4.875 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.414, allocations: 0 / 0.6416 GB, free: 4.875 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.478e-05/0.414, allocations: 0 / 0.6416 GB, free: 4.875 MB / 446.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.01469/0.4287, allocations: 3.797 MB / 0.6454 GB, free: 1.016 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.4288, allocations: 12.03 kB / 0.6454 GB, free: 1.004 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004718/0.4335, allocations: 0.7433 MB / 0.6461 GB, free: 264 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002168/0.4357, allocations: 1.092 MB / 0.6472 GB, free: 15.11 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004909/0.4362, allocations: 417 kB / 0.6476 GB, free: 14.64 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002323/0.4364, allocations: 104 kB / 0.6477 GB, free: 14.54 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002928/0.4394, allocations: 1.372 MB / 0.649 GB, free: 13.15 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/0.4394, allocations: 0 / 0.649 GB, free: 13.15 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001238/0.4396, allocations: 36 kB / 0.649 GB, free: 13.11 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.401e-05/0.4396, allocations: 24 kB / 0.6491 GB, free: 13.09 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002917/0.4425, allocations: 1.3 MB / 0.6503 GB, free: 11.79 MB / 462.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.00886/0.4514, allocations: 4.645 MB / 0.6549 GB, free: 6.938 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008543/0.4599, allocations: 2.901 MB / 0.6577 GB, free: 3.898 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002256/0.4623, allocations: 0.8996 MB / 0.6586 GB, free: 2.988 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001533/0.4624, allocations: 28.97 kB / 0.6586 GB, free: 2.961 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002376/0.4648, allocations: 1.046 MB / 0.6596 GB, free: 1.891 MB / 462.1 MB Notification: Performance of pre-optimization done (n=124): time 3.386e-06/0.4648, allocations: 0 / 0.6596 GB, free: 1.891 MB / 462.1 MB Notification: Performance of matching and sorting (n=124): time 0.04251/0.5074, allocations: 9.906 MB / 0.6693 GB, free: 7.945 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.502e-05/0.5075, allocations: 115.8 kB / 0.6694 GB, free: 7.805 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002887/0.5104, allocations: 1.345 MB / 0.6707 GB, free: 6.445 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000446/0.5109, allocations: 49.7 kB / 0.6708 GB, free: 6.391 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006192/0.5115, allocations: 0.5686 MB / 0.6713 GB, free: 5.816 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008406/0.5123, allocations: 453.5 kB / 0.6718 GB, free: 5.367 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001202/0.5136, allocations: 327.4 kB / 0.6721 GB, free: 5.043 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.5137, allocations: 313 kB / 0.6724 GB, free: 4.734 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002429/0.5161, allocations: 0.9526 MB / 0.6733 GB, free: 3.781 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002501/0.5187, allocations: 1.147 MB / 0.6744 GB, free: 2.59 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004749/0.5234, allocations: 2.054 MB / 0.6764 GB, free: 500 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.08e-05/0.5235, allocations: 4 kB / 0.6764 GB, free: 496 kB / 478.1 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.01125/0.5347, allocations: 3.816 MB / 0.6801 GB, free: 12.65 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.04e-05/0.5348, allocations: 11.92 kB / 0.6802 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.914e-05/0.5348, allocations: 7.938 kB / 0.6802 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009999/0.5448, allocations: 2.675 MB / 0.6828 GB, free: 9.953 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001643/0.5465, allocations: 299.5 kB / 0.6831 GB, free: 9.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007216/0.5538, allocations: 2.688 MB / 0.6857 GB, free: 6.945 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002776/0.5566, allocations: 246.3 kB / 0.6859 GB, free: 6.703 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003857/0.557, allocations: 67.97 kB / 0.686 GB, free: 6.637 MB / 494.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.001005/0.558, allocations: 293.5 kB / 0.6863 GB, free: 6.34 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005922/0.5586, allocations: 150.1 kB / 0.6864 GB, free: 6.191 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01694/0.5755, allocations: 4.759 MB / 0.6911 GB, free: 1.414 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.95e-05/0.5756, allocations: 19.94 kB / 0.6911 GB, free: 1.395 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.289e-05/0.5756, allocations: 0 / 0.6911 GB, free: 1.395 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.826e-05/0.5757, allocations: 3.984 kB / 0.6911 GB, free: 1.391 MB / 494.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.02118/0.5969, allocations: 6.86 MB / 0.6978 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.247e-05/0.5969, allocations: 0 / 0.6978 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009921/0.5979, allocations: 147.7 kB / 0.6979 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008077/0.606, allocations: 2.138 MB / 0.7 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00035/0.6065, allocations: 28 kB / 0.7 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02746/0.6339, allocations: 10.06 MB / 0.7099 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.634, allocations: 0 / 0.7099 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0193/0.6533, allocations: 5.912 MB / 0.7156 GB, free: 7.906 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007175/0.654, allocations: 270.8 kB / 0.7159 GB, free: 7.621 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005755/0.6546, allocations: 20 kB / 0.7159 GB, free: 7.602 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001979/0.6566, allocations: 139.8 kB / 0.716 GB, free: 7.465 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009735/0.6576, allocations: 261.3 kB / 0.7163 GB, free: 7.207 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001964/0.6579, allocations: 35.98 kB / 0.7163 GB, free: 7.172 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001798/0.6597, allocations: 0.9173 MB / 0.7172 GB, free: 6.254 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6597, allocations: 0 / 0.7172 GB, free: 6.254 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001998/0.6617, allocations: 0.5034 MB / 0.7177 GB, free: 5.75 MB / 0.5137 GB 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.0004612/0.6622, allocations: 151 kB / 0.7179 GB, free: 5.598 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009044/0.6712, allocations: 2.81 MB / 0.7206 GB, free: 2.781 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.6712, allocations: 4.062 kB / 0.7206 GB, free: 2.777 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006342/0.6776, allocations: 1.911 MB / 0.7225 GB, free: 0.8594 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001686/0.6793, allocations: 139.1 kB / 0.7226 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006415/0.6857, allocations: 2.981 MB / 0.7255 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009336/0.6867, allocations: 1.204 MB / 0.7267 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005615/0.6873, allocations: 99.41 kB / 0.7268 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of SimCode: time 7.52e-07/0.6873, allocations: 4 kB / 0.7268 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of Templates: time 0.03767/0.725, allocations: 25.08 MB / 0.7513 GB, free: 3.266 MB / 0.545 GB 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 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe 2>&1)