Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4E1.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.Wind.PSSE.WT4G.WT4E1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4E1") translateModel(OpenIPSL.Tests.Wind.PSSE.WT4G.WT4E1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4E1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009248/0.0009248, allocations: 175.2 kB / 12.73 MB, free: 2.59 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.314/1.314, allocations: 221.4 MB / 234.6 MB, free: 14.4 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.0008148/0.0008146, allocations: 89.28 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4624/0.4624, allocations: 78.08 MB / 414.6 MB, free: 10.99 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.347e-05/2.373e-05, allocations: 3.984 kB / 491.8 MB, free: 14.05 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.3401, allocations: 69.34 MB / 0.548 GB, free: 20.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1391/0.4792, allocations: 107 MB / 0.6524 GB, free: 9.555 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002211/0.4795, allocations: 83.94 kB / 0.6525 GB, free: 9.473 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3975/0.8769, allocations: 38.85 MB / 0.6905 GB, free: 105.6 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.877, allocations: 0 / 0.6905 GB, free: 105.6 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001104/0.8771, allocations: 38.31 kB / 0.6905 GB, free: 105.6 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 317 * Number of variables: 317 Notification: Performance of Generate backend data structure: time 0.005236/0.8823, allocations: 2.073 MB / 0.6925 GB, free: 104.6 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.8824, allocations: 18.59 kB / 0.6925 GB, free: 104.6 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002067/0.8845, allocations: 442 kB / 0.693 GB, free: 104.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002079/0.8866, allocations: 1.095 MB / 0.694 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004921/0.8871, allocations: 0.5884 MB / 0.6946 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002206/0.8873, allocations: 145.1 kB / 0.6948 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002273/0.8896, allocations: 1.452 MB / 0.6962 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.641e-05/0.8896, allocations: 2.344 kB / 0.6962 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000162/0.8898, allocations: 55.38 kB / 0.6962 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.092e-05/0.8898, allocations: 31.44 kB / 0.6963 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001768/0.8916, allocations: 1.118 MB / 0.6973 GB, free: 102.7 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.008566/0.9002, allocations: 6.073 MB / 0.7033 GB, free: 99.09 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008144/0.9083, allocations: 3.313 MB / 0.7065 GB, free: 97.99 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009991/0.9094, allocations: 0.6862 MB / 0.7072 GB, free: 97.64 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001126/0.9095, allocations: 20.36 kB / 0.7072 GB, free: 97.64 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001146/0.9106, allocations: 0.7736 MB / 0.708 GB, free: 97.27 MB / 490.7 MB Notification: Performance of pre-optimization done (n=122): time 3.266e-06/0.9107, allocations: 3.156 kB / 0.708 GB, free: 97.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=122): time 0.006036/0.9167, allocations: 2.442 MB / 0.7103 GB, free: 96.39 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.271e-05/0.9168, allocations: 231.8 kB / 0.7106 GB, free: 96.14 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001934/0.9188, allocations: 1.203 MB / 0.7117 GB, free: 95.16 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002576/0.919, allocations: 53.7 kB / 0.7118 GB, free: 95.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003955/0.9194, allocations: 0.6712 MB / 0.7124 GB, free: 94.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003778/0.9198, allocations: 447 kB / 0.7129 GB, free: 94.11 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.784e-05/0.9199, allocations: 43 kB / 0.7129 GB, free: 94.07 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.92, allocations: 365.9 kB / 0.7133 GB, free: 93.72 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001/0.9211, allocations: 0.6363 MB / 0.7139 GB, free: 93.09 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001091/0.9222, allocations: 0.8845 MB / 0.7147 GB, free: 92.16 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/0.9232, allocations: 0.7335 MB / 0.7155 GB, free: 91.48 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.9232, allocations: 0 / 0.7155 GB, free: 91.48 MB / 490.7 MB Warning: The linear system: 1 : -wT4E1.P = (-pwLine2.vs.re) * pwLine2.is.re - pwLine2.vs.im * pwLine2.is.im 2 : wT4E1.p0 = wT4E1.P 3 : $START.wT4E1.P = wT4E1.p0 [ 0.0 , 0.0 , -1.0 ; 1.0 , 0.0 , -1.0 ; -1.0 , 0.0 , 0.0 ] * [ wT4E1.p0 ; $START.wT4E1.P ; wT4E1.P ] = [ (-pwLine2.vs.im) * pwLine2.is.im - pwLine2.vs.re * pwLine2.is.re ; 0.0 ; 0.0 ] might be structurally or numerically singular for variable $START.wT4E1.P since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of matching and sorting (n=227) (initialization): time 0.003846/0.9271, allocations: 2.55 MB / 0.718 GB, free: 89 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003362/0.9274, allocations: 1.824 MB / 0.7197 GB, free: 87.08 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.9274, allocations: 4 kB / 0.7197 GB, free: 87.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004567/0.932, allocations: 1.648 MB / 0.7213 GB, free: 85.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001396/0.9334, allocations: 320.1 kB / 0.7217 GB, free: 85.43 MB / 490.7 MB Error: Internal error IndexReduction.pantelidesIndexReduction failed! Found empty set of continuous equations. Use -d=bltdump to get more information. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Error: Internal error IndexReduction.pantelidesIndexReduction failed! Found empty set of continuous equations. Use -d=bltdump to get more information. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003464/0.9369, allocations: 2.948 MB / 0.7245 GB, free: 82.45 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002156/0.9391, allocations: 308.4 kB / 0.7248 GB, free: 82.19 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001572/0.9393, allocations: 63.28 kB / 0.7249 GB, free: 82.13 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/0.9393, allocations: 11.94 kB / 0.7249 GB, free: 82.12 MB / 490.7 MB Warning: The linear system: 1 : -wT4E1.P = (-pwLine2.vs.re) * pwLine2.is.re - pwLine2.vs.im * pwLine2.is.im 2 : $START.wT4E1.P = wT4E1.p0 3 : wT4E1.p0 = wT4E1.P [ -1.0 , 0.0 , 0.0 ; 0.0 , -1.0 , 0.0 ; -1.0 , 1.0 , 0.0 ] * [ wT4E1.P ; wT4E1.p0 ; $START.wT4E1.P ] = [ (-pwLine2.vs.im) * pwLine2.is.im - pwLine2.vs.re * pwLine2.is.re ; 0.0 ; 0.0 ] might be structurally or numerically singular for variable $START.wT4E1.P since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003391/0.9427, allocations: 2.406 MB / 0.7272 GB, free: 79.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.9427, allocations: 8 kB / 0.7273 GB, free: 79.78 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004227/0.9469, allocations: 1.634 MB / 0.7289 GB, free: 78.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/0.9481, allocations: 299.6 kB / 0.7291 GB, free: 78.11 MB / 490.7 MB Error: Internal error IndexReduction.pantelidesIndexReduction failed! Found empty set of continuous equations. Use -d=bltdump to get more information. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Error: Internal error IndexReduction.pantelidesIndexReduction failed! Found empty set of continuous equations. Use -d=bltdump to get more information. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003094/0.9512, allocations: 2.936 MB / 0.732 GB, free: 75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001807/0.953, allocations: 258.7 kB / 0.7323 GB, free: 74.75 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001247/0.9532, allocations: 60 kB / 0.7323 GB, free: 74.69 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,wT4E1.integratorLimVar.ReachUpper,wT4E1.integratorLimVar.ReachLower,wT4E1.integratorLimVar.Rising,wT4E1.integratorLimVar.Falling,wT4E1.integratorLimVar.Reinit,wT4E1.windControlEmulator1.integrator.local_reset,wT4E1.activePowerController.K2.local_reset,wT4E1.K6.local_reset,wT4G1.K.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (163): * Single equations (assignments): 160 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,0.0%) 2} * Non-linear torn systems: 1 {21 34} Notification: Performance of prepare postOptimizeDAE: time 0.0003783/0.9535, allocations: 233.8 kB / 0.7325 GB, free: 74.45 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002946/0.9538, allocations: 169.9 kB / 0.7327 GB, free: 74.28 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006562/0.9604, allocations: 2.916 MB / 0.7355 GB, free: 71.34 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/0.9605, allocations: 12 kB / 0.7356 GB, free: 71.32 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.9605, allocations: 4 kB / 0.7356 GB, free: 71.32 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.386e-05/0.9605, allocations: 3.984 kB / 0.7356 GB, free: 71.32 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.01219/0.9727, allocations: 5.92 MB / 0.7413 GB, free: 65.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.121e-05/0.9727, allocations: 0 / 0.7413 GB, free: 65.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00109/0.9738, allocations: 195.8 kB / 0.7415 GB, free: 65.11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003928/0.9778, allocations: 1.424 MB / 0.7429 GB, free: 63.68 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002033/0.978, allocations: 35.98 kB / 0.743 GB, free: 63.64 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003606/0.9816, allocations: 3.303 MB / 0.7462 GB, free: 60.18 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.9816, allocations: 0 / 0.7462 GB, free: 60.18 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009217/0.9908, allocations: 4.226 MB / 0.7503 GB, free: 55.92 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006069/0.9915, allocations: 274.9 kB / 0.7506 GB, free: 55.63 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002397/0.9917, allocations: 28 kB / 0.7506 GB, free: 55.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001387/0.9931, allocations: 203.8 kB / 0.7508 GB, free: 55.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003321/0.9935, allocations: 144.7 kB / 0.7509 GB, free: 55.26 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.383e-05/0.9936, allocations: 43.98 kB / 0.751 GB, free: 55.21 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00113/0.9947, allocations: 0.8883 MB / 0.7518 GB, free: 54.33 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.9947, allocations: 0 / 0.7518 GB, free: 54.33 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001691/0.9964, allocations: 0.7484 MB / 0.7526 GB, free: 53.58 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 16 (gENCLS2_1.omega,gENCLS2_1.delta,gENCLS2_1.eq,wT4G1.K1.state,wT4G1.K.y,wT4G1.K2.state,wT4E1.K6.y,wT4E1.activePowerController.K2.y,wT4E1.activePowerController.K3.x,wT4E1.activePowerController.K5.state,wT4E1.PF_Controller.K0.state,wT4E1.windControlEmulator1.K.state,wT4E1.windControlEmulator1.K8.state,wT4E1.windControlEmulator1.K8_extra.state,wT4E1.windControlEmulator1.integrator.y,wT4E1.integratorLimVar.w) * Number of discrete variables: 6 ($whenCondition1,wT4E1.integratorLimVar.ReachUpper,wT4E1.integratorLimVar.ReachLower,wT4E1.integratorLimVar.Rising,wT4E1.integratorLimVar.Falling,wT4E1.integratorLimVar.Reinit) * Number of discrete states: 5 (wT4E1.integratorLimVar.Reinit,wT4E1.integratorLimVar.ReachLower,wT4E1.integratorLimVar.ReachUpper,wT4E1.integratorLimVar.Falling,wT4E1.integratorLimVar.Rising) * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 1 {18 27} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002669/0.9967, allocations: 167.2 kB / 0.7527 GB, free: 53.41 MB / 490.7 MB Error: A torn linear system has no symbolic jacobian and currently there are no means to solve that numerically. Please compile with the module "calculateStrongComponentJacobians" to provide symbolic jacobians for torn linear systems. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:3299:9-3299:50:writable] Error: Internal error function createOdeSystem failed for component torn linear Equationsystem{{{112:145}, {15:6}}, {47:146} Size: 1 [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:1476:5-1476:77:writable] Error: Internal error createEquationsForSystems failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:744:5-744:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]