Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GGOV1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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/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 Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.PSSE.TG.GGOV1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GGOV1") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.GGOV1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GGOV1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001095/0.001095, allocations: 182.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.493/1.493, allocations: 205.1 MB / 221.8 MB, free: 8.465 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001026/0.001026, allocations: 96.17 kB / 269.2 MB, free: 8.438 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07296/0.07296, allocations: 12.6 MB / 329.1 MB, free: 12.39 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2966/0.2966, allocations: 78.52 MB / 457.8 MB, free: 13.72 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001758/0.001758, allocations: 109.5 kB / 0.5255 GB, free: 19.7 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1308, allocations: 68.13 MB / 0.592 GB, free: 15.65 MB / 394.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.GGOV1): time 0.01176/0.1426, allocations: 11.54 MB / 0.6032 GB, free: 4.055 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.008387/0.151, allocations: 4.085 MB / 0.6072 GB, free: 15.95 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00281/0.1539, allocations: 31.88 kB / 0.6073 GB, free: 15.92 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001553/0.1555, allocations: 345.6 kB / 0.6076 GB, free: 15.58 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00409/0.1596, allocations: 1.236 MB / 0.6088 GB, free: 14.35 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002747/0.1624, allocations: 1.263 MB / 0.61 GB, free: 13.1 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.004355/0.1667, allocations: 3.427 MB / 0.6134 GB, free: 9.664 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001313/0.1681, allocations: 0.7137 MB / 0.6141 GB, free: 8.918 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002034/0.1701, allocations: 1.135 MB / 0.6152 GB, free: 7.777 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002348/0.1725, allocations: 1.427 MB / 0.6166 GB, free: 6.344 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008459/0.1734, allocations: 144 kB / 0.6167 GB, free: 6.203 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001461/0.1748, allocations: 375.7 kB / 0.6171 GB, free: 5.836 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000945/0.1758, allocations: 0.5404 MB / 0.6176 GB, free: 5.293 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001582/0.1774, allocations: 1.238 MB / 0.6188 GB, free: 4.047 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003472/0.1809, allocations: 3.737 MB / 0.6225 GB, free: 304 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1809, allocations: 0 / 0.6225 GB, free: 304 kB / 410.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1809, allocations: 0 / 0.6225 GB, free: 304 kB / 410.7 MB Notification: Performance of Transformations before backend: time 6.588e-05/0.181, allocations: 4 kB / 0.6225 GB, free: 300 kB / 410.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.01608/0.1971, allocations: 4.744 MB / 0.6271 GB, free: 11.48 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.1971, allocations: 19.98 kB / 0.6271 GB, free: 11.46 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004551/0.2017, allocations: 0.8513 MB / 0.628 GB, free: 10.61 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003096/0.2048, allocations: 1.738 MB / 0.6296 GB, free: 8.797 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005414/0.2054, allocations: 0.521 MB / 0.6302 GB, free: 8.195 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003146/0.2057, allocations: 172 kB / 0.6303 GB, free: 8.027 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004252/0.2099, allocations: 2.127 MB / 0.6324 GB, free: 5.82 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.611e-05/0.21, allocations: 0 / 0.6324 GB, free: 5.82 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001612/0.2102, allocations: 64 kB / 0.6325 GB, free: 5.758 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.593e-05/0.2102, allocations: 36 kB / 0.6325 GB, free: 5.723 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004225/0.2144, allocations: 1.932 MB / 0.6344 GB, free: 3.785 MB / 426.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.2568/0.4712, allocations: 7.962 MB / 0.6422 GB, free: 31.79 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01027/0.4815, allocations: 3.484 MB / 0.6456 GB, free: 31.15 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002818/0.4844, allocations: 1.169 MB / 0.6467 GB, free: 31.12 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001736/0.4846, allocations: 35.12 kB / 0.6467 GB, free: 31.12 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.573e-05/0.4846, allocations: 53.72 kB / 0.6468 GB, free: 31.09 MB / 426.7 MB Notification: Performance of pre-optimization done (n=163): time 3.958e-06/0.4847, allocations: 0 / 0.6468 GB, free: 31.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=163): time 0.04681/0.5315, allocations: 11.18 MB / 0.6577 GB, free: 29.4 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001272/0.5316, allocations: 274.8 kB / 0.658 GB, free: 29.09 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004039/0.5357, allocations: 2.168 MB / 0.6601 GB, free: 27.93 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006766/0.5364, allocations: 61.83 kB / 0.6601 GB, free: 27.88 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007698/0.5372, allocations: 0.955 MB / 0.6611 GB, free: 27.16 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006785/0.5379, allocations: 0.5917 MB / 0.6617 GB, free: 26.67 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008478/0.5387, allocations: 478.3 kB / 0.6621 GB, free: 26.39 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.7e-05/0.5388, allocations: 305.8 kB / 0.6624 GB, free: 26.09 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002831/0.5416, allocations: 1.303 MB / 0.6637 GB, free: 25.43 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002937/0.5446, allocations: 1.664 MB / 0.6653 GB, free: 24.39 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005498/0.5501, allocations: 2.793 MB / 0.668 GB, free: 22.81 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.076e-06/0.5501, allocations: 0 / 0.668 GB, free: 22.81 MB / 426.7 MB Notification: Performance of matching and sorting (n=329) (initialization): time 0.009913/0.56, allocations: 4.458 MB / 0.6724 GB, free: 20.62 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.268e-05/0.5601, allocations: 9.969 kB / 0.6724 GB, free: 20.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.725e-05/0.5601, allocations: 7.562 kB / 0.6724 GB, free: 20.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008507/0.5686, allocations: 2.702 MB / 0.675 GB, free: 17.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002381/0.5711, allocations: 492.6 kB / 0.6755 GB, free: 17.53 MB / 426.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.006822/0.5779, allocations: 3.42 MB / 0.6788 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00354/0.5815, allocations: 357.5 kB / 0.6792 GB, free: 13.69 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005338/0.582, allocations: 83.98 kB / 0.6793 GB, free: 13.61 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003944/0.586, allocations: 1.563 MB / 0.6808 GB, free: 12.04 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00293/0.5889, allocations: 1.589 MB / 0.6823 GB, free: 10.34 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005203/0.5942, allocations: 2.654 MB / 0.6849 GB, free: 7.598 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.748e-06/0.5942, allocations: 1.203 kB / 0.6849 GB, free: 7.598 MB / 426.7 MB Notification: Performance of matching and sorting (n=329) (initialization_lambda0): time 0.01071/0.6049, allocations: 4.3 MB / 0.6891 GB, free: 3.293 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/0.605, allocations: 8 kB / 0.6891 GB, free: 3.285 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/0.605, allocations: 8 kB / 0.6892 GB, free: 3.277 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008548/0.6136, allocations: 2.694 MB / 0.6918 GB, free: 0.582 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002265/0.6159, allocations: 467.9 kB / 0.6922 GB, free: 156 kB / 426.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.007433/0.6233, allocations: 3.358 MB / 0.6955 GB, free: 12.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003547/0.6269, allocations: 310.9 kB / 0.6958 GB, free: 12.42 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005262/0.6274, allocations: 83.98 kB / 0.6959 GB, free: 12.34 MB / 442.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.001009/0.6285, allocations: 311.3 kB / 0.6962 GB, free: 12.06 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009788/0.6295, allocations: 241 kB / 0.6964 GB, free: 11.82 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0195/0.649, allocations: 5.443 MB / 0.7017 GB, free: 6.395 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.214e-05/0.6491, allocations: 16 kB / 0.7017 GB, free: 6.379 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.019e-05/0.6491, allocations: 0 / 0.7017 GB, free: 6.379 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.545e-05/0.6492, allocations: 7.969 kB / 0.7017 GB, free: 6.371 MB / 442.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.0258/0.675, allocations: 8.139 MB / 0.7097 GB, free: 14.17 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-05/0.675, allocations: 0 / 0.7097 GB, free: 14.17 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001494/0.6765, allocations: 237.1 kB / 0.7099 GB, free: 13.95 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007937/0.6845, allocations: 2.205 MB / 0.7121 GB, free: 11.73 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004818/0.685, allocations: 39.98 kB / 0.7121 GB, free: 11.7 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 "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.02623/0.7113, allocations: 9.919 MB / 0.7218 GB, free: 1.617 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.7113, allocations: 4 kB / 0.7218 GB, free: 1.613 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 "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.04741/0.7587, allocations: 14.23 MB / 0.7357 GB, free: 3.371 MB / 474.7 MB Error: post-optimization module symbolicJacobian (simulation) failed.