Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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/Modelica 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1096/0.1096, allocations: 12.61 MB / 28.86 MB, free: 244 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 115.4 kB / 32.45 MB, free: 3.398 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.309/1.309, allocations: 205.1 MB / 241 MB, free: 12.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 195.3 kB / 291.3 MB, free: 13.41 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4236/0.4236, allocations: 78.52 MB / 419.9 MB, free: 11.27 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002651/0.002651, allocations: 131.8 kB / 0.4895 GB, free: 10.07 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2708/0.2735, allocations: 68.11 MB / 0.556 GB, free: 32.96 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1): time 0.007042/0.2805, allocations: 8.018 MB / 0.5638 GB, free: 26.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004342/0.2849, allocations: 2.475 MB / 0.5662 GB, free: 24.79 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007239/0.2857, allocations: 11.94 kB / 0.5663 GB, free: 24.79 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006991/0.2864, allocations: 309.4 kB / 0.5665 GB, free: 24.54 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002306/0.2887, allocations: 1.2 MB / 0.5677 GB, free: 23.58 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001281/0.29, allocations: 0.6643 MB / 0.5684 GB, free: 23.08 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00225/0.2923, allocations: 2.281 MB / 0.5706 GB, free: 21.71 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005068/0.2928, allocations: 372.6 kB / 0.571 GB, free: 21.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009732/0.2938, allocations: 0.8709 MB / 0.5718 GB, free: 20.95 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009734/0.2948, allocations: 1.099 MB / 0.5729 GB, free: 20.19 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002451/0.295, allocations: 172.2 kB / 0.573 GB, free: 20.19 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007325/0.2957, allocations: 350.2 kB / 0.5734 GB, free: 20.11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003381/0.2961, allocations: 452.2 kB / 0.5738 GB, free: 19.73 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008017/0.2969, allocations: 0.8752 MB / 0.5747 GB, free: 19.05 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00215/0.2991, allocations: 2.186 MB / 0.5768 GB, free: 17.42 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.2991, allocations: 0 / 0.5768 GB, free: 17.42 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.2991, allocations: 0 / 0.5768 GB, free: 17.42 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.52e-05/0.2991, allocations: 1.344 kB / 0.5768 GB, free: 17.42 MB / 398.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.01314/0.3123, allocations: 3.794 MB / 0.5805 GB, free: 14.18 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.3123, allocations: 11.98 kB / 0.5805 GB, free: 14.16 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004564/0.3169, allocations: 0.751 MB / 0.5812 GB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001999/0.3189, allocations: 1.092 MB / 0.5823 GB, free: 12.27 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003208/0.3193, allocations: 424.9 kB / 0.5827 GB, free: 11.78 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001774/0.3195, allocations: 104 kB / 0.5828 GB, free: 11.68 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002264/0.3217, allocations: 1.368 MB / 0.5842 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/0.3218, allocations: 0 / 0.5842 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/0.3219, allocations: 36 kB / 0.5842 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/0.3219, allocations: 20 kB / 0.5842 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002324/0.3242, allocations: 1.296 MB / 0.5855 GB, free: 8.945 MB / 398.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.007189/0.3314, allocations: 4.665 MB / 0.59 GB, free: 4.074 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006733/0.3382, allocations: 2.882 MB / 0.5928 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001658/0.3399, allocations: 0.9034 MB / 0.5937 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001429/0.34, allocations: 24.97 kB / 0.5937 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002074/0.3421, allocations: 1.052 MB / 0.5948 GB, free: 15.04 MB / 414.1 MB Notification: Performance of pre-optimization done (n=124): time 3.176e-06/0.3421, allocations: 0 / 0.5948 GB, free: 15.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=124): time 0.03956/0.3817, allocations: 9.898 MB / 0.6044 GB, free: 5.098 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.084e-05/0.3818, allocations: 119.8 kB / 0.6046 GB, free: 4.953 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002256/0.3841, allocations: 1.349 MB / 0.6059 GB, free: 3.59 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003489/0.3845, allocations: 53.7 kB / 0.6059 GB, free: 3.531 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004254/0.3849, allocations: 0.5686 MB / 0.6065 GB, free: 2.957 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005225/0.3854, allocations: 453.6 kB / 0.6069 GB, free: 2.508 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006717/0.3861, allocations: 331.4 kB / 0.6072 GB, free: 2.18 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.3862, allocations: 305.1 kB / 0.6075 GB, free: 1.879 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002075/0.3883, allocations: 0.9565 MB / 0.6085 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002139/0.3905, allocations: 1.151 MB / 0.6096 GB, free: 15.72 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004084/0.3946, allocations: 2.05 MB / 0.6116 GB, free: 13.62 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.3946, allocations: 0 / 0.6116 GB, free: 13.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.009857/0.4044, allocations: 3.819 MB / 0.6153 GB, free: 9.789 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.4045, allocations: 8 kB / 0.6153 GB, free: 9.781 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/0.4045, allocations: 7.938 kB / 0.6153 GB, free: 9.773 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009308/0.4138, allocations: 2.671 MB / 0.6179 GB, free: 7.105 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001569/0.4154, allocations: 287.6 kB / 0.6182 GB, free: 6.824 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006302/0.4218, allocations: 2.7 MB / 0.6208 GB, free: 4.102 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002491/0.4243, allocations: 242.3 kB / 0.6211 GB, free: 3.863 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002769/0.4246, allocations: 63.98 kB / 0.6211 GB, free: 3.801 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.0006736/0.4253, allocations: 301.4 kB / 0.6214 GB, free: 3.496 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004143/0.4257, allocations: 150.1 kB / 0.6216 GB, free: 3.348 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01518/0.4409, allocations: 4.759 MB / 0.6262 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.448e-05/0.4409, allocations: 12 kB / 0.6262 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.4409, allocations: 0 / 0.6262 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.648e-05/0.441, allocations: 11.97 kB / 0.6262 GB, free: 14.54 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.0191/0.4601, allocations: 6.852 MB / 0.6329 GB, free: 7.543 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-05/0.4602, allocations: 0 / 0.6329 GB, free: 7.543 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009525/0.4611, allocations: 147.8 kB / 0.6331 GB, free: 7.398 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007447/0.4686, allocations: 2.138 MB / 0.6352 GB, free: 5.258 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002823/0.4689, allocations: 31.92 kB / 0.6352 GB, free: 5.227 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02553/0.4944, allocations: 10.06 MB / 0.645 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.4945, allocations: 7.922 kB / 0.645 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0182/0.5127, allocations: 5.916 MB / 0.6508 GB, free: 5.062 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007026/0.5134, allocations: 262.8 kB / 0.651 GB, free: 4.785 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003613/0.5138, allocations: 24 kB / 0.6511 GB, free: 4.762 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001688/0.5155, allocations: 135.8 kB / 0.6512 GB, free: 4.629 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008081/0.5163, allocations: 265.2 kB / 0.6515 GB, free: 4.367 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001083/0.5164, allocations: 35.98 kB / 0.6515 GB, free: 4.332 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00139/0.5178, allocations: 0.9056 MB / 0.6524 GB, free: 3.426 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5179, allocations: 0 / 0.6524 GB, free: 3.426 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001464/0.5193, allocations: 0.519 MB / 0.6529 GB, free: 2.906 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.0003136/0.5196, allocations: 152.7 kB / 0.653 GB, free: 2.754 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008384/0.528, allocations: 2.806 MB / 0.6558 GB, free: 15.95 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.5281, allocations: 0 / 0.6558 GB, free: 15.95 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00595/0.534, allocations: 1.924 MB / 0.6576 GB, free: 14.01 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001197/0.5353, allocations: 137 kB / 0.6578 GB, free: 13.88 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005535/0.5408, allocations: 2.937 MB / 0.6606 GB, free: 10.91 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007765/0.5416, allocations: 1.211 MB / 0.6618 GB, free: 9.664 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005894/0.5422, allocations: 137.7 kB / 0.662 GB, free: 9.527 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000374/0.5426, allocations: 91.42 kB / 0.662 GB, free: 9.438 MB / 478.1 MB Notification: Performance of SimCode: time 8.01e-07/0.5426, allocations: 0 / 0.662 GB, free: 9.438 MB / 478.1 MB Notification: Performance of Templates: time 0.03977/0.5824, allocations: 29.11 MB / 0.6905 GB, free: 12.33 MB / 0.4981 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe 2>&1)