Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.Wind.PSSE.WT4G.WT4E1.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/OpenIPSL 2.0.0-master/package.mo", uses=false) Using package OpenIPSL with version 2.0.0-beta.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.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.Examples.Wind.PSSE.WT4G.WT4E1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Wind.PSSE.WT4G.WT4E1") translateModel(OpenIPSL.Examples.Wind.PSSE.WT4G.WT4E1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Wind.PSSE.WT4G.WT4E1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001555/0.001555, allocations: 172.1 kB / 16.12 MB, free: 5.66 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.596/1.596, allocations: 205.4 MB / 222.3 MB, free: 8.934 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.0008214/0.0008214, allocations: 83.92 kB / 270.6 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.3964/0.3964, allocations: 42.29 MB / 361.2 MB, free: 49.36 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004551/0.0004552, allocations: 12 kB / 429.4 MB, free: 7.82 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1383, allocations: 57.56 MB / 487 MB, free: 14.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3308/0.4692, allocations: 102.1 MB / 0.5753 GB, free: 5.602 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002457/0.4694, allocations: 87.94 kB / 0.5754 GB, free: 5.516 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1078/0.5772, allocations: 38.23 MB / 0.6127 GB, free: 15.18 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.5773, allocations: 4 kB / 0.6127 GB, free: 15.17 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002113/0.5775, allocations: 43.94 kB / 0.6128 GB, free: 15.13 MB / 442.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.00738/0.5849, allocations: 2.37 MB / 0.6151 GB, free: 12.7 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.585, allocations: 8.031 kB / 0.6151 GB, free: 12.69 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002359/0.5873, allocations: 447.7 kB / 0.6155 GB, free: 12.25 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003229/0.5906, allocations: 1.196 MB / 0.6167 GB, free: 11 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007548/0.5914, allocations: 0.5874 MB / 0.6173 GB, free: 10.31 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005104/0.5919, allocations: 139.9 kB / 0.6174 GB, free: 10.18 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004582/0.5965, allocations: 1.777 MB / 0.6192 GB, free: 8.32 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.827e-05/0.5965, allocations: 3.938 kB / 0.6192 GB, free: 8.316 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002509/0.5968, allocations: 59.98 kB / 0.6192 GB, free: 8.258 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.208e-05/0.5968, allocations: 28 kB / 0.6192 GB, free: 8.23 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00382/0.6007, allocations: 1.532 MB / 0.6207 GB, free: 6.691 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 preOpt removeSimpleEquations (simulation): time 0.0131/0.6138, allocations: 6.093 MB / 0.6267 GB, free: 384 kB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01112/0.625, allocations: 3.882 MB / 0.6305 GB, free: 12.41 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002176/0.6272, allocations: 0.9914 MB / 0.6314 GB, free: 11.41 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001285/0.6273, allocations: 29.03 kB / 0.6315 GB, free: 11.39 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002515/0.6299, allocations: 1.072 MB / 0.6325 GB, free: 10.3 MB / 458.7 MB Notification: Performance of pre-optimization done (n=122): time 4.468e-06/0.6299, allocations: 0 / 0.6325 GB, free: 10.3 MB / 458.7 MB Notification: Performance of matching and sorting (n=122): time 0.02221/0.6521, allocations: 7.022 MB / 0.6394 GB, free: 3.207 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001295/0.6523, allocations: 227 kB / 0.6396 GB, free: 2.938 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0027/0.655, allocations: 1.396 MB / 0.641 GB, free: 1.531 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002305/0.6553, allocations: 61.73 kB / 0.641 GB, free: 1.465 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006606/0.6559, allocations: 0.6859 MB / 0.6417 GB, free: 0.7734 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005565/0.6565, allocations: 445.8 kB / 0.6421 GB, free: 340 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001547/0.6567, allocations: 32 kB / 0.6421 GB, free: 308 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001988/0.6569, allocations: 377.8 kB / 0.6425 GB, free: 15.93 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002178/0.6591, allocations: 0.9448 MB / 0.6434 GB, free: 14.98 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002464/0.6615, allocations: 1.201 MB / 0.6446 GB, free: 13.71 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004432/0.6661, allocations: 2.076 MB / 0.6466 GB, free: 11.56 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.518e-06/0.6661, allocations: 3.938 kB / 0.6466 GB, free: 11.56 MB / 474.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.007481/0.6736, allocations: 3.374 MB / 0.6499 GB, free: 8.121 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002117/0.6738, allocations: 261.1 kB / 0.6502 GB, free: 7.797 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/0.6738, allocations: 7.984 kB / 0.6502 GB, free: 7.789 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005903/0.6797, allocations: 2.051 MB / 0.6522 GB, free: 5.719 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001293/0.681, allocations: 319.5 kB / 0.6525 GB, free: 5.406 MB / 474.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.00463/0.6857, allocations: 3.142 MB / 0.6556 GB, free: 2.078 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002032/0.6877, allocations: 310.4 kB / 0.6558 GB, free: 1.773 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001759/0.6879, allocations: 63.98 kB / 0.6559 GB, free: 1.711 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.586e-06/0.6879, allocations: 4 kB / 0.6559 GB, free: 1.707 MB / 474.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.006705/0.6946, allocations: 3.072 MB / 0.6589 GB, free: 14.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/0.6947, allocations: 4 kB / 0.6589 GB, free: 14.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005553/0.7002, allocations: 1.969 MB / 0.6608 GB, free: 12.59 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001099/0.7013, allocations: 287.6 kB / 0.6611 GB, free: 12.3 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.004347/0.7057, allocations: 3.106 MB / 0.6641 GB, free: 9.027 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001809/0.7075, allocations: 262.7 kB / 0.6644 GB, free: 8.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001896/0.7077, allocations: 67.92 kB / 0.6645 GB, free: 8.703 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 () * Number of clocked 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.001166/0.7089, allocations: 458.3 kB / 0.6649 GB, free: 8.238 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005163/0.7094, allocations: 169.9 kB / 0.6651 GB, free: 8.07 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009751/0.7192, allocations: 3.713 MB / 0.6687 GB, free: 4.328 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.02e-05/0.7192, allocations: 15.94 kB / 0.6687 GB, free: 4.312 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.7193, allocations: 0 / 0.6687 GB, free: 4.312 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.581e-05/0.7193, allocations: 11.97 kB / 0.6687 GB, free: 4.301 MB / 490.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.2457/0.965, allocations: 6.708 MB / 0.6753 GB, free: 118.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.615e-05/0.9651, allocations: 1.703 kB / 0.6753 GB, free: 118.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001157/0.9663, allocations: 196.9 kB / 0.6755 GB, free: 118.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00552/0.9718, allocations: 1.806 MB / 0.6772 GB, free: 118.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002922/0.9721, allocations: 31.31 kB / 0.6772 GB, free: 118.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005563/0.9777, allocations: 3.868 MB / 0.681 GB, free: 117.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.9777, allocations: 0 / 0.681 GB, free: 117.1 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01243/0.9901, allocations: 5.301 MB / 0.6862 GB, free: 116.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000598/0.9908, allocations: 281.2 kB / 0.6865 GB, free: 116.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002585/0.9911, allocations: 32.58 kB / 0.6865 GB, free: 116.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001342/0.9924, allocations: 203.9 kB / 0.6867 GB, free: 116.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003226/0.9927, allocations: 142.9 kB / 0.6868 GB, free: 116.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.631e-05/0.9928, allocations: 42.02 kB / 0.6869 GB, free: 116.6 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001202/0.994, allocations: 0.9293 MB / 0.6878 GB, free: 116.5 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.9941, allocations: 0 / 0.6878 GB, free: 116.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00156/0.9956, allocations: 0.75 MB / 0.6885 GB, free: 116.5 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) * Number of clocked states: 0 () * 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.0002857/0.9959, allocations: 166.4 kB / 0.6887 GB, free: 116.4 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:3397:9-3397:50:writable] Error: Internal error function createOdeSystem failed for component torn linear Equationsystem{{{112:145}, {15:6}}, {47:146} Size: 1 [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:1495:5-1495:77:writable] Error: Internal error createEquationsForSystems failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:762:5-762:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]