Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GGOV1DU.conf.json 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/Modelica 4.0.0+maint.om/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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.PSSE.TG.GGOV1DU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GGOV1DU") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.GGOV1DU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GGOV1DU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 182.5 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.217/1.217, allocations: 222.9 MB / 239.7 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000985/0.000985, allocations: 102.7 kB / 289.9 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3963/0.3963, allocations: 78.52 MB / 418.5 MB, free: 8.52 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 63.91 kB / 497.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2673/0.2685, allocations: 68.16 MB / 0.5524 GB, free: 19.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.GGOV1DU): time 0.00769/0.2762, allocations: 11.57 MB / 0.5637 GB, free: 8.254 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.005825/0.2821, allocations: 4.166 MB / 0.5678 GB, free: 4.086 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001285/0.2834, allocations: 35.88 kB / 0.5678 GB, free: 4.051 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008553/0.2843, allocations: 349.5 kB / 0.5682 GB, free: 3.707 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002459/0.2868, allocations: 1.246 MB / 0.5694 GB, free: 2.461 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001912/0.2887, allocations: 1.315 MB / 0.5707 GB, free: 1.164 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002979/0.2917, allocations: 3.485 MB / 0.5741 GB, free: 13.67 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009488/0.2926, allocations: 0.7217 MB / 0.5748 GB, free: 12.91 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001321/0.294, allocations: 1.143 MB / 0.5759 GB, free: 11.77 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001395/0.2954, allocations: 1.454 MB / 0.5773 GB, free: 10.3 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002958/0.2957, allocations: 152 kB / 0.5774 GB, free: 10.16 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006927/0.2964, allocations: 367.7 kB / 0.5778 GB, free: 9.797 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004326/0.2968, allocations: 0.5521 MB / 0.5783 GB, free: 9.242 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009651/0.2978, allocations: 1.242 MB / 0.5795 GB, free: 7.992 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002999/0.3008, allocations: 3.807 MB / 0.5833 GB, free: 4.172 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3008, allocations: 0 / 0.5833 GB, free: 4.172 MB / 394.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.3008, allocations: 0 / 0.5833 GB, free: 4.172 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.086e-05/0.3009, allocations: 0 / 0.5833 GB, free: 4.172 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 383 * Number of variables: 383 Notification: Performance of Generate backend data structure: time 0.01543/0.3163, allocations: 4.791 MB / 0.5879 GB, free: 15.31 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.3164, allocations: 8.031 kB / 0.5879 GB, free: 15.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004421/0.3208, allocations: 0.8513 MB / 0.5888 GB, free: 14.45 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002963/0.3238, allocations: 1.738 MB / 0.5905 GB, free: 12.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005272/0.3243, allocations: 0.5211 MB / 0.591 GB, free: 12.04 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003235/0.3247, allocations: 175.8 kB / 0.5912 GB, free: 11.86 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003964/0.3286, allocations: 2.174 MB / 0.5933 GB, free: 9.609 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.637e-05/0.3287, allocations: 3.938 kB / 0.5933 GB, free: 9.605 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001531/0.3288, allocations: 64 kB / 0.5933 GB, free: 9.543 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.536e-05/0.3289, allocations: 36 kB / 0.5934 GB, free: 9.508 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004166/0.333, allocations: 1.979 MB / 0.5953 GB, free: 7.523 MB / 410.7 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.01327/0.3463, allocations: 8.079 MB / 0.6032 GB, free: 15.18 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009573/0.3559, allocations: 3.531 MB / 0.6066 GB, free: 11.52 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002711/0.3587, allocations: 1.189 MB / 0.6078 GB, free: 10.32 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001645/0.3589, allocations: 41.27 kB / 0.6078 GB, free: 10.28 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.265e-05/0.3589, allocations: 55.81 kB / 0.6079 GB, free: 10.21 MB / 426.7 MB Notification: Performance of pre-optimization done (n=165): time 3.306e-06/0.3589, allocations: 0 / 0.6079 GB, free: 10.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=165): time 0.04298/0.4019, allocations: 10.99 MB / 0.6186 GB, free: 15.16 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001367/0.4021, allocations: 308 kB / 0.6189 GB, free: 14.79 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003244/0.4053, allocations: 2.175 MB / 0.6211 GB, free: 12.59 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002232/0.4055, allocations: 65.7 kB / 0.6211 GB, free: 12.52 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006905/0.4062, allocations: 0.9666 MB / 0.6221 GB, free: 11.54 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000531/0.4068, allocations: 0.5892 MB / 0.6226 GB, free: 10.95 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007859/0.4076, allocations: 489.2 kB / 0.6231 GB, free: 10.46 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.052e-05/0.4077, allocations: 305.1 kB / 0.6234 GB, free: 10.16 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002788/0.4105, allocations: 1.32 MB / 0.6247 GB, free: 8.832 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003063/0.4135, allocations: 1.687 MB / 0.6263 GB, free: 7.027 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00555/0.4191, allocations: 2.818 MB / 0.6291 GB, free: 4.094 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.745e-06/0.4191, allocations: 4 kB / 0.6291 GB, free: 4.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=331) (initialization): time 0.01077/0.4299, allocations: 4.583 MB / 0.6336 GB, free: 15.46 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.4299, allocations: 11.94 kB / 0.6336 GB, free: 15.45 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/0.43, allocations: 8 kB / 0.6336 GB, free: 15.44 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009185/0.4392, allocations: 2.703 MB / 0.6362 GB, free: 12.72 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002297/0.4415, allocations: 0.4954 MB / 0.6367 GB, free: 12.22 MB / 458.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/Differentiate.mo:267:5-267:157:writable] Error: Derivative of expression "$res_NLSJac1_1 := min(gGOV1DU.min_select.u) - gGOV1DU.V.u" w.r.t. "dummyVarNLSJac1" is non-existent. Error: Internal error SymbolicJacobian.deriveAll failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2440:7-2440:87:writable] Error: Internal error function generateSymbolicJacobian failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2231:9-2231:79:writable] Error: Internal error function createJacobian failed Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006858/0.4484, allocations: 3.432 MB / 0.6401 GB, free: 8.719 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002958/0.4513, allocations: 369.4 kB / 0.6404 GB, free: 8.355 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002201/0.4516, allocations: 88.08 kB / 0.6405 GB, free: 8.27 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003214/0.4548, allocations: 1.563 MB / 0.642 GB, free: 6.699 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002764/0.4576, allocations: 1.597 MB / 0.6436 GB, free: 4.984 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005104/0.4627, allocations: 2.662 MB / 0.6462 GB, free: 2.207 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.713e-06/0.4627, allocations: 8 kB / 0.6462 GB, free: 2.199 MB / 458.7 MB Notification: Performance of matching and sorting (n=331) (initialization_lambda0): time 0.01044/0.4731, allocations: 4.407 MB / 0.6505 GB, free: 13.74 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.4732, allocations: 8 kB / 0.6505 GB, free: 13.73 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.4732, allocations: 8 kB / 0.6505 GB, free: 13.73 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009102/0.4823, allocations: 2.691 MB / 0.6531 GB, free: 11.03 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002006/0.4843, allocations: 471.4 kB / 0.6536 GB, free: 10.57 MB / 474.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/Differentiate.mo:267:5-267:157:writable] Error: Derivative of expression "$res_NLSJac3_1 := min(gGOV1DU.min_select.u) - gGOV1DU.V.u" w.r.t. "dummyVarNLSJac3" is non-existent. Error: Internal error SymbolicJacobian.deriveAll failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2440:7-2440:87:writable] Error: Internal error function generateSymbolicJacobian failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2231:9-2231:79:writable] Error: Internal error function createJacobian failed Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006586/0.4909, allocations: 3.362 MB / 0.6569 GB, free: 7.133 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002715/0.4936, allocations: 306 kB / 0.6572 GB, free: 6.832 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002088/0.4939, allocations: 91.97 kB / 0.6572 GB, free: 6.742 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 (gGOV1DU.gGOV1_Power.s7.local_reset,gGOV1DU.gGOV1_Power.s2.local_reset,gGOV1DU.gGOV1_Turb.s3.local_reset,gGOV1DU.gGOV1_Temp.s6.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (274): * Single equations (assignments): 272 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (30,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0005133/0.4944, allocations: 312.8 kB / 0.6575 GB, free: 6.43 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004201/0.4948, allocations: 237 kB / 0.6578 GB, free: 6.195 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0176/0.5124, allocations: 5.49 MB / 0.6631 GB, free: 0.6836 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2e-05/0.5125, allocations: 16 kB / 0.6631 GB, free: 0.668 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.156e-06/0.5125, allocations: 0 / 0.6631 GB, free: 0.668 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.632e-05/0.5125, allocations: 7.969 kB / 0.6631 GB, free: 0.6602 MB / 474.7 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.02108/0.5336, allocations: 8.238 MB / 0.6712 GB, free: 8.273 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-05/0.5337, allocations: 4.078 kB / 0.6712 GB, free: 8.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001279/0.5349, allocations: 239.7 kB / 0.6714 GB, free: 8.035 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007441/0.5424, allocations: 2.197 MB / 0.6736 GB, free: 5.828 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002015/0.5426, allocations: 39.98 kB / 0.6736 GB, free: 5.789 MB / 490.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/Differentiate.mo:267:5-267:157:writable] Error: Derivative of expression "gGOV1DU.V.u = min(gGOV1DU.min_select.u)" w.r.t. "dummyVarNLSJac4" is non-existent. Error: Internal error SymbolicJacobian.deriveAll failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2440:7-2440:87:writable] Error: Internal error function generateSymbolicJacobian failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2231:9-2231:79:writable] Error: Internal error function createJacobian failed Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2334/0.776, allocations: 9.919 MB / 0.6833 GB, free: 113.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.7761, allocations: 1.312 kB / 0.6833 GB, free: 113.2 MB / 490.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/Differentiate.mo:267:5-267:157:writable] Error: Derivative of expression "gGOV1DU.V.u = min(gGOV1DU.min_select.u)" w.r.t. "dummyVarA" is non-existent. Error: Internal error SymbolicJacobian.deriveAll failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2440:7-2440:87:writable] Error: Internal error function generateSymbolicJacobian failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2231:9-2231:79:writable] Error: Internal error function createJacobian failed Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04316/0.8192, allocations: 14.29 MB / 0.6973 GB, free: 109.2 MB / 490.7 MB Error: post-optimization module symbolicJacobian (simulation) failed.