Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GGOV1.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.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 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.GGOV1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GGOV1") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.GGOV1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GGOV1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 183.1 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.367/1.367, allocations: 222.9 MB / 239.7 MB, free: 10.97 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.001004/0.001004, allocations: 94.02 kB / 289.9 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4418/0.4418, allocations: 78.49 MB / 418.5 MB, free: 8.801 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 67.88 kB / 497.5 MB, free: 10.63 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2525, allocations: 68.12 MB / 0.5523 GB, free: 20.2 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.GGOV1): time 0.008199/0.2607, allocations: 11.47 MB / 0.5635 GB, free: 8.684 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.006525/0.2673, allocations: 4.105 MB / 0.5675 GB, free: 4.574 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001785/0.2691, allocations: 31.88 kB / 0.5676 GB, free: 4.543 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009219/0.27, allocations: 345.6 kB / 0.5679 GB, free: 4.203 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002647/0.2727, allocations: 1.227 MB / 0.5691 GB, free: 2.977 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001951/0.2747, allocations: 1.266 MB / 0.5703 GB, free: 1.723 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003179/0.2779, allocations: 3.431 MB / 0.5737 GB, free: 14.28 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001185/0.2791, allocations: 0.7175 MB / 0.5744 GB, free: 13.54 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00179/0.2809, allocations: 1.124 MB / 0.5755 GB, free: 12.41 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00221/0.2831, allocations: 1.427 MB / 0.5769 GB, free: 10.97 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007057/0.2838, allocations: 148 kB / 0.577 GB, free: 10.83 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001143/0.285, allocations: 375.7 kB / 0.5774 GB, free: 10.46 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007439/0.2857, allocations: 0.5404 MB / 0.5779 GB, free: 9.918 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001608/0.2874, allocations: 1.231 MB / 0.5791 GB, free: 8.68 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003586/0.291, allocations: 3.737 MB / 0.5827 GB, free: 4.93 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.291, allocations: 4 kB / 0.5827 GB, free: 4.926 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.291, allocations: 4 kB / 0.5827 GB, free: 4.922 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001033/0.2911, allocations: 0 / 0.5827 GB, free: 4.922 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: 377 * Number of variables: 377 Notification: Performance of Generate backend data structure: time 0.01614/0.3072, allocations: 4.736 MB / 0.5874 GB, free: 120 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.335e-05/0.3073, allocations: 8.031 kB / 0.5874 GB, free: 112 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00465/0.312, allocations: 0.8475 MB / 0.5882 GB, free: 15.25 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003228/0.3152, allocations: 1.706 MB / 0.5899 GB, free: 13.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005392/0.3158, allocations: 0.521 MB / 0.5904 GB, free: 12.87 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003064/0.3161, allocations: 179.8 kB / 0.5906 GB, free: 12.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004178/0.3203, allocations: 2.123 MB / 0.5926 GB, free: 10.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.909e-05/0.3203, allocations: 8 kB / 0.5926 GB, free: 10.49 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001602/0.3205, allocations: 63.94 kB / 0.5927 GB, free: 10.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.741e-05/0.3205, allocations: 36 kB / 0.5927 GB, free: 10.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004281/0.3248, allocations: 1.932 MB / 0.5946 GB, free: 8.453 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.01294/0.3378, allocations: 7.972 MB / 0.6024 GB, free: 220 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009909/0.3477, allocations: 3.487 MB / 0.6058 GB, free: 12.59 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002615/0.3504, allocations: 1.177 MB / 0.607 GB, free: 11.41 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001653/0.3505, allocations: 21.22 kB / 0.607 GB, free: 11.4 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.282e-05/0.3506, allocations: 59.86 kB / 0.607 GB, free: 11.33 MB / 426.7 MB Notification: Performance of pre-optimization done (n=163): time 3.997e-06/0.3506, allocations: 0 / 0.607 GB, free: 11.33 MB / 426.7 MB Notification: Performance of matching and sorting (n=163): time 0.04668/0.3973, allocations: 11.18 MB / 0.6179 GB, free: 84 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001445/0.3975, allocations: 282.3 kB / 0.6182 GB, free: 15.75 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003234/0.4007, allocations: 2.143 MB / 0.6203 GB, free: 13.58 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003674/0.4011, allocations: 65.69 kB / 0.6204 GB, free: 13.51 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000693/0.4018, allocations: 0.9509 MB / 0.6213 GB, free: 12.54 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007358/0.4025, allocations: 0.5931 MB / 0.6219 GB, free: 11.94 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008103/0.4033, allocations: 485.1 kB / 0.6223 GB, free: 11.46 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.039e-05/0.4034, allocations: 301.1 kB / 0.6226 GB, free: 11.16 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002833/0.4063, allocations: 1.297 MB / 0.6239 GB, free: 9.859 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003083/0.4094, allocations: 1.666 MB / 0.6255 GB, free: 8.078 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005731/0.4151, allocations: 2.786 MB / 0.6282 GB, free: 5.176 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/0.4151, allocations: 0 / 0.6282 GB, free: 5.176 MB / 442.7 MB Notification: Performance of matching and sorting (n=329) (initialization): time 0.01088/0.426, allocations: 4.458 MB / 0.6326 GB, free: 0.668 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.4261, allocations: 4 kB / 0.6326 GB, free: 0.6641 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/0.4261, allocations: 8 kB / 0.6326 GB, free: 0.6562 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009502/0.4356, allocations: 2.707 MB / 0.6353 GB, free: 13.94 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002294/0.4379, allocations: 499.3 kB / 0.6357 GB, free: 13.45 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(gGOV1.min_select.u) - gGOV1.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.007066/0.445, allocations: 3.416 MB / 0.6391 GB, free: 9.957 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003065/0.4481, allocations: 357.5 kB / 0.6394 GB, free: 9.605 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002189/0.4483, allocations: 91.97 kB / 0.6395 GB, free: 9.516 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003237/0.4516, allocations: 1.551 MB / 0.641 GB, free: 7.957 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002794/0.4544, allocations: 1.592 MB / 0.6426 GB, free: 6.25 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005213/0.4596, allocations: 2.646 MB / 0.6451 GB, free: 3.488 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.264e-06/0.4596, allocations: 8 kB / 0.6452 GB, free: 3.48 MB / 458.7 MB Notification: Performance of matching and sorting (n=329) (initialization_lambda0): time 0.01004/0.4697, allocations: 4.297 MB / 0.6494 GB, free: 15.13 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.4697, allocations: 4 kB / 0.6494 GB, free: 15.13 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.4697, allocations: 8 kB / 0.6494 GB, free: 15.12 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009169/0.4789, allocations: 2.692 MB / 0.652 GB, free: 12.42 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002352/0.4813, allocations: 475.5 kB / 0.6524 GB, free: 11.96 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(gGOV1.min_select.u) - gGOV1.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.007016/0.4883, allocations: 3.361 MB / 0.6557 GB, free: 8.523 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003041/0.4913, allocations: 306 kB / 0.656 GB, free: 8.223 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003552/0.4917, allocations: 91.98 kB / 0.6561 GB, free: 8.133 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 (gGOV1.gGOV1_Power.s7.local_reset,gGOV1.gGOV1_Power.s2.local_reset,gGOV1.gGOV1_Turb.s3.local_reset,gGOV1.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 (272): * Single equations (assignments): 270 * 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.0005409/0.4923, allocations: 316.6 kB / 0.6564 GB, free: 7.82 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005834/0.4929, allocations: 237 kB / 0.6566 GB, free: 7.586 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01811/0.511, allocations: 5.435 MB / 0.6619 GB, free: 2.129 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.871e-05/0.511, allocations: 16 kB / 0.662 GB, free: 2.113 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/0.5111, allocations: 0 / 0.662 GB, free: 2.113 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.342e-05/0.5111, allocations: 11.97 kB / 0.662 GB, free: 2.102 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.02157/0.5327, allocations: 8.137 MB / 0.6699 GB, free: 9.812 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.521e-05/0.5327, allocations: 0 / 0.6699 GB, free: 9.812 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00141/0.5342, allocations: 235.7 kB / 0.6701 GB, free: 9.582 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007706/0.5419, allocations: 2.201 MB / 0.6723 GB, free: 7.367 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003072/0.5422, allocations: 35.98 kB / 0.6723 GB, free: 7.332 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 "gGOV1.V.u = min(gGOV1.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.2399/0.7821, allocations: 9.913 MB / 0.682 GB, free: 113.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.7821, allocations: 1.125 kB / 0.682 GB, free: 113.3 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 "gGOV1.V.u = min(gGOV1.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.04547/0.8276, allocations: 14.23 MB / 0.6959 GB, free: 109.7 MB / 490.7 MB Error: post-optimization module symbolicJacobian (simulation) failed.