Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESST4B,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESST4B",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESST4B,fileNamePrefix="OpenIPSL_dev_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.0009399/0.00094, 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.405/1.405, allocations: 221.5 MB / 229.6 MB, free: 7.574 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.0008801/0.00088, allocations: 94.14 kB / 280.5 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5043/0.5043, allocations: 78.94 MB / 410.2 MB, free: 5.953 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.951e-05/2.949e-05, allocations: 4 kB / 486 MB, free: 11.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.1727, allocations: 69.52 MB / 0.5425 GB, free: 5.82 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5365/0.7093, allocations: 112.6 MB / 0.6525 GB, free: 1.402 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002822/0.7096, allocations: 85.27 kB / 0.6525 GB, free: 1.32 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1263/0.836, allocations: 45.69 MB / 0.6972 GB, free: 3.637 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.913e-06/0.836, allocations: 0 / 0.6972 GB, free: 3.637 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001671/0.8362, allocations: 32 kB / 0.6972 GB, free: 3.605 MB / 0.4948 GB 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.007531/0.8437, allocations: 2.342 MB / 0.6995 GB, free: 1.211 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.8438, allocations: 8.031 kB / 0.6995 GB, free: 1.203 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004775/0.8486, allocations: 0.7937 MB / 0.7003 GB, free: 416 kB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002956/0.8515, allocations: 1.129 MB / 0.7014 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005725/0.8521, allocations: 438.6 kB / 0.7018 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000463/0.8526, allocations: 79.89 kB / 0.7019 GB, free: 14.64 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002682/0.8553, allocations: 1.176 MB / 0.703 GB, free: 13.46 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002784/0.8581, allocations: 1.262 MB / 0.7042 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.615e-05/0.8581, allocations: 4 kB / 0.7042 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000153/0.8583, allocations: 0 / 0.7042 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.371e-05/0.8583, allocations: 28 kB / 0.7043 GB, free: 12.11 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 preOpt removeSimpleEquations (simulation): time 0.01154/0.8699, allocations: 5.799 MB / 0.7099 GB, free: 6.07 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008764/0.8787, allocations: 3.476 MB / 0.7133 GB, free: 2.465 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001238/0.8799, allocations: 0.7374 MB / 0.714 GB, free: 1.723 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001827/0.8801, allocations: 29.28 kB / 0.7141 GB, free: 1.691 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.901e-05/0.8802, allocations: 51.12 kB / 0.7141 GB, free: 1.637 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=136): time 4.348e-06/0.8802, allocations: 7.984 kB / 0.7141 GB, free: 1.629 MB / 0.5105 GB Notification: Performance of matching and sorting (n=136): time 0.01595/0.8961, allocations: 5.088 MB / 0.7191 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/0.8963, allocations: 197.2 kB / 0.7193 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002553/0.8989, allocations: 1.134 MB / 0.7204 GB, free: 11.15 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002985/0.8992, allocations: 33.7 kB / 0.7204 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007042/0.8999, allocations: 0.7063 MB / 0.7211 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007308/0.9006, allocations: 472.9 kB / 0.7216 GB, free: 9.926 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000152/0.9008, allocations: 0 / 0.7216 GB, free: 9.926 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001991/0.901, allocations: 361.9 kB / 0.7219 GB, free: 9.566 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001236/0.9022, allocations: 0.6172 MB / 0.7225 GB, free: 8.949 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001367/0.9036, allocations: 0.8204 MB / 0.7233 GB, free: 8.062 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00156/0.9052, allocations: 0.6779 MB / 0.724 GB, free: 7.387 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/0.9052, allocations: 0.6562 kB / 0.724 GB, free: 7.387 MB / 0.5261 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.004522/0.9097, allocations: 2.236 MB / 0.7262 GB, free: 5.137 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007387/0.9105, allocations: 1.706 MB / 0.7278 GB, free: 3.277 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/0.9105, allocations: 4 kB / 0.7278 GB, free: 3.273 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01066/0.9212, allocations: 2.718 MB / 0.7305 GB, free: 0.5586 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008447/0.922, allocations: 179.7 kB / 0.7307 GB, free: 392 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009051/0.9311, allocations: 3.705 MB / 0.7343 GB, free: 12.65 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002502/0.9336, allocations: 255.5 kB / 0.7345 GB, free: 12.4 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002447/0.9339, allocations: 60.66 kB / 0.7346 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.9339, allocations: 4 kB / 0.7346 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003906/0.9378, allocations: 1.998 MB / 0.7365 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.9379, allocations: 7.938 kB / 0.7365 GB, free: 10.33 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01043/0.9483, allocations: 2.695 MB / 0.7392 GB, free: 7.637 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008553/0.9492, allocations: 175.7 kB / 0.7393 GB, free: 7.465 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008206/0.9574, allocations: 3.465 MB / 0.7427 GB, free: 3.977 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002434/0.9599, allocations: 235.5 kB / 0.7429 GB, free: 3.746 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002303/0.9601, allocations: 51.98 kB / 0.743 GB, free: 3.695 MB / 0.5417 GB 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.0006432/0.9608, allocations: 174 kB / 0.7432 GB, free: 3.531 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01547/0.9763, allocations: 5.093 MB / 0.7481 GB, free: 14.42 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009486/0.9773, allocations: 173.8 kB / 0.7483 GB, free: 14.25 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01578/0.9931, allocations: 5.204 MB / 0.7534 GB, free: 9.016 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.428e-05/0.9931, allocations: 19.98 kB / 0.7534 GB, free: 8.996 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/0.9931, allocations: 0 / 0.7534 GB, free: 8.996 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.961e-05/0.9932, allocations: 7.984 kB / 0.7534 GB, free: 8.988 MB / 0.5573 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.01949/1.013, allocations: 7.351 MB / 0.7606 GB, free: 1.516 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.137e-05/1.013, allocations: 0 / 0.7606 GB, free: 1.516 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001186/1.014, allocations: 191.8 kB / 0.7608 GB, free: 1.328 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3841/1.398, allocations: 2.051 MB / 0.7628 GB, free: 133 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003811/1.398, allocations: 16.72 kB / 0.7628 GB, free: 133 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01743/1.416, allocations: 9.284 MB / 0.7719 GB, free: 130.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/1.416, allocations: 0 / 0.7719 GB, free: 130.6 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01738/1.433, allocations: 6.233 MB / 0.7779 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00105/1.434, allocations: 290.8 kB / 0.7782 GB, free: 130 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00034/1.435, allocations: 1.188 kB / 0.7782 GB, free: 130 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001846/1.437, allocations: 184.1 kB / 0.7784 GB, free: 130 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001017/1.438, allocations: 290.2 kB / 0.7787 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001163/1.438, allocations: 39.2 kB / 0.7787 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001383/1.439, allocations: 0.8569 MB / 0.7796 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of sort global known variables: time 9.32e-07/1.439, allocations: 0.6562 kB / 0.7796 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002607/1.442, allocations: 0.776 MB / 0.7803 GB, free: 129.8 MB / 0.5573 GB 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.01898/1.461, allocations: 6.985 MB / 0.7871 GB, free: 128.7 MB / 0.5573 GB 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]