Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.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 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_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.001332/0.001332, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.401/1.401, allocations: 222.9 MB / 240.1 MB, free: 4.332 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.001692/0.001692, allocations: 188.5 kB / 290.4 MB, free: 2.066 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5625/0.5625, allocations: 91.9 MB / 432.4 MB, free: 9.141 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002179/0.002179, allocations: 80.16 kB / 0.5734 GB, free: 33.43 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1667, allocations: 71.28 MB / 0.643 GB, free: 3.555 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1): time 0.008658/0.1755, allocations: 7.993 MB / 0.6508 GB, free: 11.52 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005706/0.1812, allocations: 2.497 MB / 0.6533 GB, free: 9.016 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001345/0.1826, allocations: 12 kB / 0.6533 GB, free: 9.004 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009543/0.1836, allocations: 317.4 kB / 0.6536 GB, free: 8.691 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00278/0.1864, allocations: 0.9865 MB / 0.6545 GB, free: 7.699 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001828/0.1882, allocations: 0.7645 MB / 0.6553 GB, free: 6.941 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002968/0.1912, allocations: 2.131 MB / 0.6574 GB, free: 4.805 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007117/0.1919, allocations: 373.6 kB / 0.6577 GB, free: 4.414 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001536/0.1935, allocations: 0.8521 MB / 0.6585 GB, free: 3.559 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001919/0.1954, allocations: 1.089 MB / 0.6596 GB, free: 2.465 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006655/0.1961, allocations: 176 kB / 0.6598 GB, free: 2.293 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001562/0.1977, allocations: 347.8 kB / 0.6601 GB, free: 1.953 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001055/0.1987, allocations: 446.2 kB / 0.6605 GB, free: 1.516 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002051/0.2008, allocations: 0.8585 MB / 0.6614 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003874/0.2047, allocations: 2.18 MB / 0.6635 GB, free: 14.46 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.2047, allocations: 0 / 0.6635 GB, free: 14.46 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.2047, allocations: 0 / 0.6635 GB, free: 14.46 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.345e-05/0.2048, allocations: 0 / 0.6635 GB, free: 14.46 MB / 478.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.01437/0.2192, allocations: 3.504 MB / 0.6669 GB, free: 10.9 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/0.2193, allocations: 12.03 kB / 0.6669 GB, free: 10.89 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005125/0.2244, allocations: 0.7394 MB / 0.6677 GB, free: 10.15 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002747/0.2272, allocations: 1.092 MB / 0.6687 GB, free: 9.004 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005515/0.2277, allocations: 417 kB / 0.6691 GB, free: 8.527 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004392/0.2282, allocations: 108 kB / 0.6692 GB, free: 8.422 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00365/0.2319, allocations: 1.372 MB / 0.6706 GB, free: 7.035 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.669e-05/0.2319, allocations: 0 / 0.6706 GB, free: 7.035 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001725/0.2321, allocations: 36 kB / 0.6706 GB, free: 7 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.521e-05/0.2321, allocations: 24 kB / 0.6706 GB, free: 6.977 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003418/0.2355, allocations: 1.296 MB / 0.6719 GB, free: 5.676 MB / 478.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.01024/0.2458, allocations: 4.645 MB / 0.6764 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00855/0.2544, allocations: 2.898 MB / 0.6793 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00203/0.2564, allocations: 0.9001 MB / 0.6801 GB, free: 12.87 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001637/0.2566, allocations: 20.98 kB / 0.6802 GB, free: 12.85 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002442/0.2591, allocations: 1.047 MB / 0.6812 GB, free: 11.78 MB / 494.1 MB Notification: Performance of pre-optimization done (n=124): time 4.288e-06/0.2591, allocations: 0 / 0.6812 GB, free: 11.78 MB / 494.1 MB Notification: Performance of matching and sorting (n=124): time 0.04218/0.3013, allocations: 9.906 MB / 0.6909 GB, free: 1.832 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.489e-05/0.3014, allocations: 119.8 kB / 0.691 GB, free: 1.691 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003072/0.3045, allocations: 1.357 MB / 0.6923 GB, free: 328 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004666/0.305, allocations: 53.64 kB / 0.6923 GB, free: 268 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006457/0.3057, allocations: 0.5686 MB / 0.6929 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009348/0.3066, allocations: 453.5 kB / 0.6933 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001336/0.308, allocations: 323.4 kB / 0.6936 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.3081, allocations: 313.1 kB / 0.6939 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002452/0.3106, allocations: 0.9526 MB / 0.6949 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002499/0.3131, allocations: 1.147 MB / 0.696 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004743/0.3179, allocations: 2.05 MB / 0.698 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.18e-05/0.3179, allocations: 0 / 0.698 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of matching and sorting (n=229) (initialization): time 0.0112/0.3291, allocations: 3.823 MB / 0.7017 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.9e-05/0.3292, allocations: 8 kB / 0.7017 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/0.3292, allocations: 3.938 kB / 0.7017 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009896/0.3391, allocations: 2.667 MB / 0.7043 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00167/0.3408, allocations: 299.5 kB / 0.7046 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006955/0.3478, allocations: 2.683 MB / 0.7072 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002731/0.3506, allocations: 250.3 kB / 0.7075 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003692/0.351, allocations: 67.92 kB / 0.7076 GB, free: 0.5273 MB / 0.4981 GB 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.0009758/0.352, allocations: 290.6 kB / 0.7078 GB, free: 240 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005943/0.3526, allocations: 158.1 kB / 0.708 GB, free: 80 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01683/0.3694, allocations: 4.763 MB / 0.7126 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.703e-05/0.3695, allocations: 12 kB / 0.7126 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.355e-05/0.3695, allocations: 3.984 kB / 0.7126 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.714e-05/0.3696, allocations: 3.984 kB / 0.7126 GB, free: 11.27 MB / 0.5137 GB 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.02124/0.3908, allocations: 6.86 MB / 0.7193 GB, free: 4.262 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.196e-05/0.3909, allocations: 0 / 0.7193 GB, free: 4.262 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/0.3919, allocations: 151.8 kB / 0.7195 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008296/0.4002, allocations: 2.134 MB / 0.7216 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003637/0.4006, allocations: 24 kB / 0.7216 GB, free: 1.953 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02868/0.4293, allocations: 10.06 MB / 0.7314 GB, free: 7.738 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.997e-06/0.4294, allocations: 4 kB / 0.7314 GB, free: 7.734 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02034/0.4497, allocations: 5.912 MB / 0.7372 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008598/0.4506, allocations: 266.8 kB / 0.7375 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006832/0.4513, allocations: 24 kB / 0.7375 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002084/0.4534, allocations: 135.8 kB / 0.7376 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001057/0.4545, allocations: 257.3 kB / 0.7379 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002292/0.4548, allocations: 35.98 kB / 0.7379 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001877/0.4567, allocations: 0.9134 MB / 0.7388 GB, free: 152 kB / 0.5294 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4567, allocations: 0 / 0.7388 GB, free: 152 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002298/0.459, allocations: 0.5191 MB / 0.7393 GB, free: 15.62 MB / 0.545 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.0004802/0.4595, allocations: 143 kB / 0.7394 GB, free: 15.48 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009428/0.4689, allocations: 2.833 MB / 0.7422 GB, free: 12.65 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/0.469, allocations: 0 / 0.7422 GB, free: 12.65 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006716/0.4757, allocations: 1.907 MB / 0.7441 GB, free: 10.73 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00187/0.4776, allocations: 129 kB / 0.7442 GB, free: 10.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006983/0.4846, allocations: 2.97 MB / 0.7471 GB, free: 7.594 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001059/0.4857, allocations: 1.204 MB / 0.7483 GB, free: 6.359 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006409/0.4864, allocations: 103.4 kB / 0.7484 GB, free: 6.258 MB / 0.545 GB Notification: Performance of SimCode: time 1.202e-06/0.4864, allocations: 0 / 0.7484 GB, free: 6.258 MB / 0.545 GB Notification: Performance of Templates: time 0.3933/0.8796, allocations: 25.08 MB / 0.7728 GB, free: 117.3 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe 2>&1)