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: translateModel(OpenIPSL.Tests.Controls.PSSE.ES.ESST4B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESST4B") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.ESST4B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESST4B") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 176.1 kB / 7.643 MB, free: 1.414 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.422/1.422, allocations: 221.5 MB / 229.6 MB, free: 7.578 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.0008636/0.0008636, allocations: 89.75 kB / 280.5 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5501/0.5501, allocations: 78.06 MB / 409.3 MB, free: 6.301 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.292e-05/2.303e-05, allocations: 0 / 484.9 MB, free: 12.24 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.19/0.19, allocations: 69.36 MB / 0.5413 GB, free: 6.816 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4646/0.6547, allocations: 111.9 MB / 0.6506 GB, free: 3.621 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002668/0.655, allocations: 83.95 kB / 0.6506 GB, free: 3.539 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1377/0.7927, allocations: 47.21 MB / 0.6967 GB, free: 4.332 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7927, allocations: 0 / 0.6967 GB, free: 4.332 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001892/0.7929, allocations: 39.94 kB / 0.6968 GB, free: 4.293 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.008387/0.8013, allocations: 2.33 MB / 0.6991 GB, free: 1.91 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.897e-05/0.8014, allocations: 8.688 kB / 0.6991 GB, free: 1.902 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00464/0.8061, allocations: 0.6805 MB / 0.6997 GB, free: 1.219 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003747/0.8098, allocations: 1.092 MB / 0.7008 GB, free: 80 kB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006823/0.8105, allocations: 442.6 kB / 0.7012 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006194/0.8112, allocations: 83.84 kB / 0.7013 GB, free: 15.49 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003282/0.8145, allocations: 1.18 MB / 0.7025 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003253/0.8177, allocations: 1.259 MB / 0.7037 GB, free: 12.99 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.588e-05/0.8178, allocations: 0 / 0.7037 GB, free: 12.99 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001863/0.818, allocations: 0 / 0.7037 GB, free: 12.99 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.163e-05/0.818, allocations: 28 kB / 0.7037 GB, free: 12.96 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.01312/0.8312, allocations: 5.747 MB / 0.7093 GB, free: 6.969 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009137/0.8403, allocations: 3.472 MB / 0.7127 GB, free: 3.367 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00141/0.8418, allocations: 0.7368 MB / 0.7134 GB, free: 2.625 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002064/0.842, allocations: 25.3 kB / 0.7135 GB, free: 2.598 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.539e-05/0.8421, allocations: 55.8 kB / 0.7135 GB, free: 2.535 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=136): time 3.206e-06/0.8421, allocations: 0 / 0.7135 GB, free: 2.535 MB / 0.5105 GB Notification: Performance of matching and sorting (n=136): time 0.01625/0.8584, allocations: 5.083 MB / 0.7185 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/0.8585, allocations: 193.8 kB / 0.7187 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002536/0.8611, allocations: 1.103 MB / 0.7197 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0004596/0.8616, allocations: 29.7 kB / 0.7198 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007343/0.8623, allocations: 0.7063 MB / 0.7205 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009012/0.8632, allocations: 476.9 kB / 0.7209 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002173/0.8634, allocations: 0 / 0.7209 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001949/0.8636, allocations: 362.4 kB / 0.7213 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001311/0.865, allocations: 0.6133 MB / 0.7219 GB, free: 9.895 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001413/0.8664, allocations: 0.8204 MB / 0.7227 GB, free: 9.012 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001655/0.8681, allocations: 0.6779 MB / 0.7233 GB, free: 8.336 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-05/0.8681, allocations: 3.938 kB / 0.7233 GB, free: 8.332 MB / 0.5261 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.005043/0.8731, allocations: 2.236 MB / 0.7255 GB, free: 6.082 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007059/0.8739, allocations: 1.712 MB / 0.7272 GB, free: 4.219 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.8739, allocations: 7.188 kB / 0.7272 GB, free: 4.215 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01076/0.8847, allocations: 2.724 MB / 0.7298 GB, free: 1.492 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008539/0.8855, allocations: 183.7 kB / 0.73 GB, free: 1.312 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008932/0.8945, allocations: 3.693 MB / 0.7336 GB, free: 13.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002431/0.8969, allocations: 258.6 kB / 0.7339 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002669/0.8972, allocations: 53.86 kB / 0.7339 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.8973, allocations: 4 kB / 0.7339 GB, free: 13.28 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00399/0.9013, allocations: 2.001 MB / 0.7359 GB, free: 11.28 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.9013, allocations: 4.562 kB / 0.7359 GB, free: 11.28 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01063/0.9119, allocations: 2.698 MB / 0.7385 GB, free: 8.582 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008448/0.9128, allocations: 175.7 kB / 0.7387 GB, free: 8.41 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008726/0.9215, allocations: 3.467 MB / 0.7421 GB, free: 4.918 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002584/0.9242, allocations: 230.8 kB / 0.7423 GB, free: 4.691 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002769/0.9245, allocations: 51.98 kB / 0.7423 GB, free: 4.641 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.0007579/0.9252, allocations: 170 kB / 0.7425 GB, free: 4.477 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007158/0.926, allocations: 165.9 kB / 0.7427 GB, free: 4.312 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01615/0.9421, allocations: 5.2 MB / 0.7477 GB, free: 15.09 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-05/0.9422, allocations: 20 kB / 0.7478 GB, free: 15.07 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/0.9422, allocations: 0 / 0.7478 GB, free: 15.07 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.75e-05/0.9423, allocations: 11.95 kB / 0.7478 GB, free: 15.05 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.02043/0.9627, allocations: 7.324 MB / 0.7549 GB, free: 7.605 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.611e-05/0.9628, allocations: 0 / 0.7549 GB, free: 7.605 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001217/0.964, allocations: 183.8 kB / 0.7551 GB, free: 7.426 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006927/0.9709, allocations: 2.063 MB / 0.7571 GB, free: 5.359 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003738/0.9713, allocations: 13.48 kB / 0.7571 GB, free: 5.348 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3292/1.301, allocations: 9.285 MB / 0.7662 GB, free: 132.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.686e-06/1.301, allocations: 3.016 kB / 0.7662 GB, free: 132.8 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01657/1.317, allocations: 6.239 MB / 0.7723 GB, free: 132.4 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001176/1.318, allocations: 281 kB / 0.7726 GB, free: 132.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004038/1.319, allocations: 6.703 kB / 0.7726 GB, free: 132.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00184/1.321, allocations: 183.9 kB / 0.7727 GB, free: 132.2 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009264/1.322, allocations: 284.9 kB / 0.773 GB, free: 132.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001045/1.322, allocations: 35.75 kB / 0.773 GB, free: 132.2 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001207/1.323, allocations: 0.8262 MB / 0.7739 GB, free: 132.1 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.11e-07/1.323, allocations: 3.281 kB / 0.7739 GB, free: 132.1 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002131/1.325, allocations: 0.7683 MB / 0.7746 GB, free: 132.1 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.0003641/1.325, allocations: 162.6 kB / 0.7748 GB, free: 132 MB / 0.5573 GB Error: Internal error function createNonlinearResidualEquations failed [/var/lib/jenkins/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/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:1369:5-1369:77:writable] Error: Internal error createEquationsForSystems failed [/var/lib/jenkins/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]