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.0009787/0.0009785, allocations: 91.53 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 223.3 MB / 240 MB, free: 5.527 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.001277/0.001277, allocations: 176.5 kB / 291.3 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5185/0.5185, allocations: 91.92 MB / 434.3 MB, free: 10.26 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005139/0.0005139, allocations: 12 kB / 0.5054 GB, free: 7.258 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3861/0.3866, allocations: 72.47 MB / 0.5762 GB, free: 36.75 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1): time 0.006142/0.3928, allocations: 7.833 MB / 0.5838 GB, free: 31.43 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004677/0.3976, allocations: 2.527 MB / 0.5863 GB, free: 29.65 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001165/0.3988, allocations: 14.81 kB / 0.5863 GB, free: 29.65 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008301/0.3996, allocations: 241.3 kB / 0.5865 GB, free: 29.55 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002234/0.4018, allocations: 0.8734 MB / 0.5874 GB, free: 28.98 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001373/0.4032, allocations: 0.7065 MB / 0.5881 GB, free: 28.6 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001824/0.4051, allocations: 2.012 MB / 0.5901 GB, free: 27.65 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004515/0.4055, allocations: 329.1 kB / 0.5904 GB, free: 27.49 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008917/0.4064, allocations: 0.7324 MB / 0.5911 GB, free: 27.17 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009841/0.4074, allocations: 0.9924 MB / 0.5921 GB, free: 26.73 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002218/0.4076, allocations: 86.44 kB / 0.5921 GB, free: 26.73 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006178/0.4083, allocations: 259.5 kB / 0.5924 GB, free: 26.67 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000328/0.4086, allocations: 354.2 kB / 0.5927 GB, free: 26.47 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006481/0.4093, allocations: 0.7926 MB / 0.5935 GB, free: 25.95 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001278/0.4105, allocations: 1.616 MB / 0.5951 GB, free: 25.49 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.4106, allocations: 0 / 0.5951 GB, free: 25.49 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4106, allocations: 0 / 0.5951 GB, free: 25.49 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.363e-05/0.4106, allocations: 0 / 0.5951 GB, free: 25.49 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.01163/0.4222, allocations: 3.293 MB / 0.5983 GB, free: 24.23 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.4223, allocations: 8.438 kB / 0.5983 GB, free: 24.23 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004972/0.4273, allocations: 0.7468 MB / 0.599 GB, free: 24.07 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002273/0.4296, allocations: 1.091 MB / 0.6001 GB, free: 23.36 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000428/0.43, allocations: 437.8 kB / 0.6005 GB, free: 22.97 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002419/0.4303, allocations: 99.34 kB / 0.6006 GB, free: 22.94 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003204/0.4335, allocations: 1.452 MB / 0.602 GB, free: 22.41 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.51e-05/0.4335, allocations: 0 / 0.602 GB, free: 22.41 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000118/0.4336, allocations: 40.06 kB / 0.6021 GB, free: 22.38 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.339e-05/0.4337, allocations: 21.09 kB / 0.6021 GB, free: 22.38 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003056/0.4367, allocations: 1.389 MB / 0.6034 GB, free: 21.93 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.009288/0.446, allocations: 4.75 MB / 0.6081 GB, free: 19.22 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009129/0.4552, allocations: 3.449 MB / 0.6114 GB, free: 17.98 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002417/0.4576, allocations: 0.9892 MB / 0.6124 GB, free: 17.6 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001335/0.4578, allocations: 20.95 kB / 0.6124 GB, free: 17.59 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002429/0.4602, allocations: 1.125 MB / 0.6135 GB, free: 17.19 MB / 430.1 MB Notification: Performance of pre-optimization done (n=124): time 3.186e-06/0.4603, allocations: 0 / 0.6135 GB, free: 17.19 MB / 430.1 MB Notification: Performance of matching and sorting (n=124): time 0.04394/0.5042, allocations: 12.11 MB / 0.6254 GB, free: 10.82 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.922e-05/0.5043, allocations: 115.8 kB / 0.6255 GB, free: 10.68 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002057/0.5064, allocations: 1.349 MB / 0.6268 GB, free: 9.312 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004189/0.5068, allocations: 57.58 kB / 0.6268 GB, free: 9.25 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003441/0.5071, allocations: 0.5609 MB / 0.6274 GB, free: 8.684 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004505/0.5076, allocations: 457.6 kB / 0.6278 GB, free: 8.23 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002177/0.5078, allocations: 165.6 kB / 0.628 GB, free: 8.062 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.631e-05/0.5079, allocations: 305.1 kB / 0.6283 GB, free: 7.762 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001926/0.5098, allocations: 1.042 MB / 0.6293 GB, free: 6.719 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001994/0.5118, allocations: 1.229 MB / 0.6305 GB, free: 5.445 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003768/0.5156, allocations: 2.214 MB / 0.6326 GB, free: 3.184 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/0.5156, allocations: 0 / 0.6326 GB, free: 3.184 MB / 430.1 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.01025/0.5259, allocations: 4.292 MB / 0.6368 GB, free: 14.88 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/0.5259, allocations: 7.938 kB / 0.6368 GB, free: 14.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/0.526, allocations: 7.938 kB / 0.6369 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01027/0.5362, allocations: 3.05 MB / 0.6398 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001655/0.5379, allocations: 299.6 kB / 0.6401 GB, free: 11.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007063/0.545, allocations: 3.012 MB / 0.6431 GB, free: 8.477 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002719/0.5478, allocations: 290.4 kB / 0.6433 GB, free: 8.191 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001939/0.548, allocations: 63.98 kB / 0.6434 GB, free: 8.129 MB / 446.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.0007264/0.5487, allocations: 301.4 kB / 0.6437 GB, free: 7.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003367/0.5491, allocations: 158 kB / 0.6438 GB, free: 7.664 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01777/0.5668, allocations: 5.799 MB / 0.6495 GB, free: 1.848 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.553e-05/0.5669, allocations: 12 kB / 0.6495 GB, free: 1.836 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/0.5669, allocations: 0 / 0.6495 GB, free: 1.836 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.714e-05/0.567, allocations: 3.984 kB / 0.6495 GB, free: 1.832 MB / 446.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.02172/0.5887, allocations: 7.915 MB / 0.6572 GB, free: 9.766 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.467e-05/0.5888, allocations: 4.031 kB / 0.6572 GB, free: 9.762 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/0.5898, allocations: 143.7 kB / 0.6574 GB, free: 9.621 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008445/0.5982, allocations: 2.513 MB / 0.6598 GB, free: 7.102 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003426/0.5986, allocations: 24 kB / 0.6599 GB, free: 7.078 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02649/0.6251, allocations: 10.33 MB / 0.6699 GB, free: 12.6 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.6252, allocations: 4 kB / 0.67 GB, free: 12.6 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02077/0.6459, allocations: 7.043 MB / 0.6768 GB, free: 5.523 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007769/0.6468, allocations: 266.8 kB / 0.6771 GB, free: 5.242 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000312/0.6471, allocations: 28 kB / 0.6771 GB, free: 5.215 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001711/0.6488, allocations: 183.8 kB / 0.6773 GB, free: 5.035 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008282/0.6497, allocations: 249.3 kB / 0.6775 GB, free: 4.789 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001037/0.6498, allocations: 32 kB / 0.6776 GB, free: 4.758 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001469/0.6512, allocations: 0.9172 MB / 0.6784 GB, free: 3.84 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6513, allocations: 0 / 0.6784 GB, free: 3.84 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00178/0.653, allocations: 0.519 MB / 0.679 GB, free: 3.32 MB / 478.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.000352/0.6534, allocations: 146.4 kB / 0.6791 GB, free: 3.172 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009214/0.6626, allocations: 3.146 MB / 0.6822 GB, free: 24 kB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/0.6627, allocations: 256 / 0.6822 GB, free: 24 kB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006695/0.6694, allocations: 2.163 MB / 0.6843 GB, free: 13.84 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001551/0.671, allocations: 134.2 kB / 0.6844 GB, free: 13.71 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005893/0.6769, allocations: 3.652 MB / 0.688 GB, free: 10.03 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007187/0.6776, allocations: 1.204 MB / 0.6891 GB, free: 8.797 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005446/0.6782, allocations: 99.41 kB / 0.6892 GB, free: 8.699 MB / 494.1 MB Notification: Performance of SimCode: time 7.52e-07/0.6782, allocations: 0 / 0.6892 GB, free: 8.699 MB / 494.1 MB Notification: Performance of Templates: time 0.03401/0.7122, allocations: 24.79 MB / 0.7135 GB, free: 15.91 MB / 0.5137 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)