Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.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/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.Wind.PSSE.WT4G.WT4E1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4E1") translateModel(OpenIPSL.Tests.Wind.PSSE.WT4G.WT4E1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.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.0009895/0.0009895, 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 3.2.3+maint.om/package.mo): time 1.242/1.242, allocations: 205.2 MB / 218.5 MB, free: 9.211 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.0008066/0.0008066, allocations: 90.91 kB / 266.6 MB, free: 9.277 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.06373/0.06373, allocations: 12.59 MB / 327.2 MB, free: 12.49 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2779/0.2779, allocations: 78.02 MB / 456.1 MB, free: 14.91 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.036e-05/3.048e-05, allocations: 8 kB / 0.5218 GB, free: 23.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09963/0.09968, allocations: 69.33 MB / 0.5895 GB, free: 2.5 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3585/0.4582, allocations: 108.7 MB / 0.6956 GB, free: 6.965 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002195/0.4584, allocations: 87.52 kB / 0.6957 GB, free: 6.922 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1022/0.5607, allocations: 38.1 MB / 0.7329 GB, free: 6.887 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.5607, allocations: 0 / 0.7329 GB, free: 6.887 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001104/0.5608, allocations: 47.94 kB / 0.7329 GB, free: 6.84 MB / 474.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.004733/0.5656, allocations: 2.073 MB / 0.735 GB, free: 4.859 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.5656, allocations: 15.98 kB / 0.735 GB, free: 4.844 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001875/0.5675, allocations: 442.4 kB / 0.7354 GB, free: 4.43 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001834/0.5693, allocations: 1.128 MB / 0.7365 GB, free: 3.543 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005637/0.5699, allocations: 0.5868 MB / 0.7371 GB, free: 2.91 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002164/0.5701, allocations: 135 kB / 0.7372 GB, free: 2.82 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002273/0.5724, allocations: 1.455 MB / 0.7386 GB, free: 1.797 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.524e-05/0.5725, allocations: 4 kB / 0.7386 GB, free: 1.793 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001318/0.5726, allocations: 49.25 kB / 0.7387 GB, free: 1.781 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.212e-05/0.5726, allocations: 35.94 kB / 0.7387 GB, free: 1.746 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001832/0.5745, allocations: 1.113 MB / 0.7398 GB, free: 1.055 MB / 474.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.009105/0.5836, allocations: 6.097 MB / 0.7458 GB, free: 12.23 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008632/0.5922, allocations: 3.298 MB / 0.749 GB, free: 9.383 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001011/0.5933, allocations: 0.6849 MB / 0.7496 GB, free: 9.023 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001165/0.5934, allocations: 28.98 kB / 0.7497 GB, free: 8.992 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00116/0.5946, allocations: 0.7584 MB / 0.7504 GB, free: 8.496 MB / 490.7 MB Notification: Performance of pre-optimization done (n=122): time 3.226e-06/0.5946, allocations: 4 kB / 0.7504 GB, free: 8.492 MB / 490.7 MB Notification: Performance of matching and sorting (n=122): time 0.006091/0.6007, allocations: 2.448 MB / 0.7528 GB, free: 6.48 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.579e-05/0.6008, allocations: 226.6 kB / 0.753 GB, free: 6.211 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001801/0.6026, allocations: 1.215 MB / 0.7542 GB, free: 4.988 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002196/0.6029, allocations: 53.73 kB / 0.7543 GB, free: 4.93 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005097/0.6034, allocations: 0.6782 MB / 0.7549 GB, free: 4.246 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004263/0.6038, allocations: 453.7 kB / 0.7554 GB, free: 3.797 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.6039, allocations: 36 kB / 0.7554 GB, free: 3.762 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.6041, allocations: 369.9 kB / 0.7557 GB, free: 3.395 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001073/0.6052, allocations: 0.6327 MB / 0.7564 GB, free: 2.762 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001317/0.6065, allocations: 0.8814 MB / 0.7572 GB, free: 1.809 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001222/0.6077, allocations: 0.7338 MB / 0.7579 GB, free: 1.07 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.197e-06/0.6077, allocations: 4 kB / 0.7579 GB, free: 1.066 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.004455/0.6122, allocations: 2.562 MB / 0.7604 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005381/0.6128, allocations: 1.816 MB / 0.7622 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.6128, allocations: 4.047 kB / 0.7622 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004854/0.6176, allocations: 1.653 MB / 0.7638 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001273/0.6189, allocations: 323.6 kB / 0.7641 GB, free: 10.53 MB / 0.4948 GB 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.003643/0.6226, allocations: 2.934 MB / 0.767 GB, free: 7.414 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001916/0.6245, allocations: 314.4 kB / 0.7673 GB, free: 7.105 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001791/0.6247, allocations: 63.98 kB / 0.7674 GB, free: 7.043 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.6247, allocations: 7.438 kB / 0.7674 GB, free: 7.039 MB / 0.4948 GB 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.003914/0.6287, allocations: 2.414 MB / 0.7697 GB, free: 4.566 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.6287, allocations: 7.938 kB / 0.7697 GB, free: 4.559 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004669/0.6334, allocations: 1.634 MB / 0.7713 GB, free: 2.91 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001179/0.6346, allocations: 295.6 kB / 0.7716 GB, free: 2.621 MB / 0.4948 GB 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.003662/0.6382, allocations: 2.942 MB / 0.7745 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001753/0.64, allocations: 258.7 kB / 0.7747 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000166/0.6402, allocations: 63.97 kB / 0.7748 GB, free: 15.18 MB / 0.5105 GB 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.0003997/0.6406, allocations: 222.4 kB / 0.775 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003223/0.6409, allocations: 177.8 kB / 0.7752 GB, free: 14.78 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007152/0.6481, allocations: 2.921 MB / 0.778 GB, free: 11.84 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/0.6481, allocations: 12 kB / 0.778 GB, free: 11.82 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.6481, allocations: 4 kB / 0.7781 GB, free: 11.82 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.056e-05/0.6482, allocations: 15.92 kB / 0.7781 GB, free: 11.8 MB / 0.5105 GB 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.01327/0.6614, allocations: 5.903 MB / 0.7838 GB, free: 5.777 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/0.6615, allocations: 0 / 0.7838 GB, free: 5.777 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001105/0.6626, allocations: 195.8 kB / 0.784 GB, free: 5.586 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00432/0.6669, allocations: 1.432 MB / 0.7854 GB, free: 4.145 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002149/0.6672, allocations: 27.98 kB / 0.7854 GB, free: 4.117 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004258/0.6715, allocations: 3.309 MB / 0.7887 GB, free: 0.6367 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.6715, allocations: 0 / 0.7887 GB, free: 0.6367 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01017/0.6816, allocations: 4.218 MB / 0.7928 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005759/0.6823, allocations: 274.8 kB / 0.7931 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003781/0.6826, allocations: 39.89 kB / 0.7931 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001611/0.6843, allocations: 207.8 kB / 0.7933 GB, free: 11.85 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004019/0.6847, allocations: 140.8 kB / 0.7934 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000119/0.6848, allocations: 32 kB / 0.7935 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001437/0.6863, allocations: 0.9085 MB / 0.7943 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6863, allocations: 0 / 0.7943 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001993/0.6883, allocations: 0.7522 MB / 0.7951 GB, free: 10.02 MB / 0.5261 GB 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.0003105/0.6886, allocations: 164.9 kB / 0.7952 GB, free: 9.84 MB / 0.5261 GB 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]