Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESST4B.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESST4B,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESST4B",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESST4B,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESST4B",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 221.5 MB / 229.6 MB, free: 3.191 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 92.8 kB / 280.5 MB, free: 1.152 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5352/0.5352, allocations: 78.07 MB / 409.3 MB, free: 15.36 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.521e-05/1.524e-05, allocations: 0 / 485 MB, free: 3.969 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3828/0.3829, allocations: 69.36 MB / 0.5414 GB, free: 21.61 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.154/0.5369, allocations: 111.9 MB / 0.6507 GB, free: 8.648 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003099/0.5373, allocations: 95.92 kB / 0.6507 GB, free: 8.555 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.427/0.9643, allocations: 47.21 MB / 0.6969 GB, free: 105.7 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.474e-06/0.9643, allocations: 0 / 0.6969 GB, free: 105.7 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001212/0.9645, allocations: 37.06 kB / 0.6969 GB, free: 105.7 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: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.007261/0.9717, allocations: 2.324 MB / 0.6992 GB, free: 104.6 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.9718, allocations: 7.312 kB / 0.6992 GB, free: 104.6 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004021/0.9758, allocations: 0.6812 MB / 0.6998 GB, free: 104.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002318/0.9782, allocations: 1.099 MB / 0.7009 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003955/0.9786, allocations: 444 kB / 0.7013 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002012/0.9788, allocations: 74.06 kB / 0.7014 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00197/0.9808, allocations: 1.185 MB / 0.7026 GB, free: 102.9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001934/0.9827, allocations: 1.265 MB / 0.7038 GB, free: 102.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.9827, allocations: 0 / 0.7038 GB, free: 102.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001223/0.9829, allocations: 0 / 0.7038 GB, free: 102.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.041e-05/0.9829, allocations: 27.62 kB / 0.7038 GB, free: 102.3 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.009516/0.9924, allocations: 5.743 MB / 0.7094 GB, free: 98.12 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007713/1, allocations: 3.475 MB / 0.7128 GB, free: 96.37 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001284/1.001, allocations: 0.7424 MB / 0.7135 GB, free: 95.99 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001565/1.002, allocations: 24.19 kB / 0.7136 GB, free: 95.99 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.181e-05/1.002, allocations: 59.44 kB / 0.7136 GB, free: 95.93 MB / 490.7 MB Notification: Performance of pre-optimization done (n=136): time 3.447e-06/1.002, allocations: 0 / 0.7136 GB, free: 95.93 MB / 490.7 MB Notification: Performance of matching and sorting (n=136): time 0.01461/1.016, allocations: 5.081 MB / 0.7186 GB, free: 90.89 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.294e-05/1.016, allocations: 201.1 kB / 0.7188 GB, free: 90.65 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001776/1.018, allocations: 1.099 MB / 0.7198 GB, free: 89.54 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003777/1.019, allocations: 33.64 kB / 0.7199 GB, free: 89.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003764/1.019, allocations: 0.7024 MB / 0.7206 GB, free: 88.79 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004559/1.019, allocations: 472.9 kB / 0.721 GB, free: 88.32 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/1.02, allocations: 0 / 0.721 GB, free: 88.32 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.295e-05/1.02, allocations: 357.9 kB / 0.7214 GB, free: 87.97 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009063/1.021, allocations: 0.6133 MB / 0.722 GB, free: 87.36 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009282/1.022, allocations: 0.8204 MB / 0.7228 GB, free: 86.47 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/1.023, allocations: 0.674 MB / 0.7234 GB, free: 85.79 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/1.023, allocations: 4 kB / 0.7234 GB, free: 85.79 MB / 490.7 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.003519/1.026, allocations: 2.244 MB / 0.7256 GB, free: 83.54 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003194/1.026, allocations: 1.706 MB / 0.7273 GB, free: 81.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/1.027, allocations: 4 kB / 0.7273 GB, free: 81.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009789/1.036, allocations: 2.732 MB / 0.7299 GB, free: 78.94 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008269/1.037, allocations: 175.7 kB / 0.7301 GB, free: 78.77 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007874/1.045, allocations: 3.709 MB / 0.7337 GB, free: 75.04 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002387/1.047, allocations: 250.7 kB / 0.734 GB, free: 74.79 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001771/1.048, allocations: 51.98 kB / 0.734 GB, free: 74.74 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/1.048, allocations: 4 kB / 0.734 GB, free: 74.74 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003088/1.051, allocations: 1.994 MB / 0.736 GB, free: 72.74 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/1.051, allocations: 4.562 kB / 0.736 GB, free: 72.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009588/1.06, allocations: 2.697 MB / 0.7386 GB, free: 70.04 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008373/1.061, allocations: 179.7 kB / 0.7388 GB, free: 69.86 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007233/1.069, allocations: 3.463 MB / 0.7422 GB, free: 66.37 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002201/1.071, allocations: 242.7 kB / 0.7424 GB, free: 66.13 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001584/1.071, allocations: 51.98 kB / 0.7425 GB, free: 66.08 MB / 490.7 MB Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: constantLoad.P:VARIABLE(unit = "1" ) "Active power consumption" type: Real constantLoad.Q:VARIABLE(unit = "1" ) "Reactive power consumption" type: Real eSST4B.V_REF:VARIABLE(fixed = false protected = true ) type: Real $START.eSST4B.TransducerDelay.state:VARIABLE(fixed = false ) type: Real $START.eSST4B.DiffV.u2:VARIABLE(fixed = false ) "Connector of Real input signal 2" type: Real eSST4B.TransducerDelay.y_start:VARIABLE() = eSST4B.ECOMP0 "Output start value" type: Real eSST4B.ECOMP0:VARIABLE(fixed = false protected = true ) type: Real eSST4B.VA.u:VARIABLE() "Connector of Real input signal" type: Real eSST4B.add.y:VARIABLE() "Connector of Real output signal" type: Real eSST4B.Gain1.y:VARIABLE() "Output signal connector" type: Real eSST4B.Gain1.u:VARIABLE() "Input signal connector" type: Real eSST4B.DiffV.y:VARIABLE() "Connector of Real output signal" type: Real gENROU.PSIpp:VARIABLE(unit = "1" ) "Air-gap flux " type: Real eSST4B.VE0:VARIABLE(fixed = false protected = true ) type: Real $START.eSST4B.VM1.y:VARIABLE(fixed = false ) "Connector of Real output signal" type: Real eSST4B.VM1.y_start:VARIABLE() = eSST4B.VA0 "Initial or guess value of output (must be in the limits outMin .. outMax)" type: Real eSST4B.VA0:VARIABLE(fixed = false protected = true ) type: Real eSST4B.VB0:VARIABLE(fixed = false protected = true ) type: Real eSST4B.IN0:VARIABLE(fixed = false protected = true ) type: Real eSST4B.Ifd0:VARIABLE(fixed = false protected = true ) type: Real eSST4B.rectifierCommutationVoltageDrop.fEX.y:VARIABLE() type: Real eSST4B.rectifierCommutationVoltageDrop.division.y:VARIABLE() "Connector of Real output signal" type: Real eSST4B.rectifierCommutationVoltageDrop.division.u1:VARIABLE() "Connector of Real input signal 1" type: Real eSST4B.EFD:VARIABLE() "Excitation Voltage [pu]" type: Real eSST4B.add1.u1:VARIABLE() "Connector of Real input signal 1" type: Real eSST4B.Gain2.u:VARIABLE() "Input signal connector" type: Real eSST4B.Gain2.y:VARIABLE() "Output signal connector" type: Real eSST4B.add2.y:VARIABLE() "Connector of Real output signal" type: Real eSST4B.lV_Gate.u1:VARIABLE() "Connector of Real input signal 1" type: Real eSST4B.lV_Gate.y:VARIABLE() "Connector of Real output signal" type: Real eSST4B.maxLimiter.y:VARIABLE() "Connector of Real output signal" type: Real eSST4B.maxLimiter.u:VARIABLE() "Connector of Real input signal" type: Real eSST4B.VE:VARIABLE(protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 2 (eSST4B.VM1.local_reset,eSST4B.VR1.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {93} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005511/1.072, allocations: 158.3 kB / 0.7426 GB, free: 65.92 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01403/1.086, allocations: 5.09 MB / 0.7476 GB, free: 60.82 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008771/1.087, allocations: 173.8 kB / 0.7477 GB, free: 60.64 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01383/1.1, allocations: 5.204 MB / 0.7528 GB, free: 55.41 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-05/1.1, allocations: 15.95 kB / 0.7528 GB, free: 55.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/1.1, allocations: 0 / 0.7528 GB, free: 55.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-05/1.1, allocations: 11.97 kB / 0.7528 GB, free: 55.39 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.01687/1.117, allocations: 7.318 MB / 0.76 GB, free: 47.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.607e-05/1.117, allocations: 0 / 0.76 GB, free: 47.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001271/1.119, allocations: 187.8 kB / 0.7602 GB, free: 47.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006097/1.125, allocations: 2.057 MB / 0.7622 GB, free: 45.73 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003313/1.125, allocations: 15.98 kB / 0.7622 GB, free: 45.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01744/1.143, allocations: 9.283 MB / 0.7713 GB, free: 36.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/1.143, allocations: 7.969 kB / 0.7713 GB, free: 36.2 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01622/1.159, allocations: 6.24 MB / 0.7774 GB, free: 29.91 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001021/1.16, allocations: 278.6 kB / 0.7776 GB, free: 29.62 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001011/1.161, allocations: 4 kB / 0.7776 GB, free: 29.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002693/1.164, allocations: 187.8 kB / 0.7778 GB, free: 29.43 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001177/1.165, allocations: 297.1 kB / 0.7781 GB, free: 29.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002777/1.165, allocations: 35.98 kB / 0.7781 GB, free: 29.11 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001623/1.167, allocations: 0.8275 MB / 0.7789 GB, free: 28.28 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.3e-07/1.167, allocations: 0 / 0.7789 GB, free: 28.28 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00382/1.171, allocations: 0.7641 MB / 0.7797 GB, free: 27.52 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 13 (gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,eSST4B.VA.state,eSST4B.VR1.y,eSST4B.VM1.y,eSST4B.TransducerDelay.state,gENCLS.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 85 * 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: 0 * Non-linear torn systems: 2 {1 6,26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.01661/1.187, allocations: 6.99 MB / 0.7865 GB, free: 20.48 MB / 490.7 MB Error: Internal error function createNonlinearResidualEquations failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:3306:7-3306:48:writable] Error: Internal error createOdeSystem2 failed for Generic Jacobian via directional derivatives [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:3197:9-3197:50:writable] Error: Internal error function createOdeSystem failed for component {74, 82, 77, 79, 73, 68, 155, 156, 33, 124, 153, 154, 67, 72, 80, 78, 83, 75, 70, 69, 35, 37, 43, 56, 57, 45, 44, 46, 49, 48, 85, 39, 36, 38, 9, 11, 12, 13, 162, 20, 7, 10, 76, 64, 40, 58, 42, 52, 50, 51, 54, 17, 161, 24, 19, 8, 15, 165, 147, 148, 32, 117, 145, 146, 34, 123, 126, 125, 119, 121, 100, 99, 90, 97, 98, 91, 92, 29, 140, 139, 138, 137, 31, 118, 131, 136, 135, 132, 89, 134, 133, 30, 120:119, 136, 128, 137, 94, 87, 131, 129, 130, 148, 117, 141, 140, 86, 138, 139, 85, 84, 96, 97, 95, 93, 92, 98, 122, 121, 118, 120, 124, 150, 151, 149, 116, 146, 147, 14, 12, 22, 20, 48, 8, 7, 42, 43, 32, 33, 34, 47, 49, 50, 53, 1, 30, 28, 9, 3, 4, 5, 6, 19, 17, 18, 46, 51, 31, 27, 26, 25, 45, 44, 23, 24, 16, 158, 68, 69, 61, 63, 55, 57, 66, 160, 159, 99, 125, 157, 156, 161, 67, 56, 54, 59, 65} Size: 93 Generic Jacobian via directional derivatives [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:1369:5-1369:77:writable] Error: Internal error createEquationsForSystems failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:637:5-637:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]