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: translateModel(OpenIPSL.Tests.Controls.PSSE.ES.ESST4B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST4B") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.ESST4B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.001526/0.001526, allocations: 176.2 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.498/1.498, allocations: 221.5 MB / 229.6 MB, free: 7.566 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.0008637/0.0008636, allocations: 93.73 kB / 280.5 MB, free: 5.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4606/0.4606, allocations: 78.94 MB / 410.2 MB, free: 5.977 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.557e-05/1.56e-05, allocations: 0 / 485.9 MB, free: 11.52 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1449, allocations: 69.52 MB / 0.5424 GB, free: 5.898 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3876/0.5326, allocations: 112.6 MB / 0.6524 GB, free: 1.547 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002851/0.5329, allocations: 94.3 kB / 0.6524 GB, free: 1.457 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1267/0.6596, allocations: 45.68 MB / 0.6971 GB, free: 3.785 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.004e-06/0.6597, allocations: 0 / 0.6971 GB, free: 3.785 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.261e-05/0.6598, allocations: 32 kB / 0.6971 GB, free: 3.754 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.006491/0.6663, allocations: 2.338 MB / 0.6994 GB, free: 1.363 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.6663, allocations: 8.031 kB / 0.6994 GB, free: 1.355 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004777/0.6711, allocations: 0.7976 MB / 0.7002 GB, free: 0.5547 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002646/0.6738, allocations: 1.121 MB / 0.7013 GB, free: 15.38 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005083/0.6743, allocations: 442.6 kB / 0.7017 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002992/0.6746, allocations: 75.91 kB / 0.7018 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00232/0.6769, allocations: 1.188 MB / 0.7029 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002278/0.6792, allocations: 1.258 MB / 0.7041 GB, free: 12.29 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.317e-05/0.6793, allocations: 0 / 0.7041 GB, free: 12.29 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001297/0.6794, allocations: 4 kB / 0.7041 GB, free: 12.29 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.194e-05/0.6794, allocations: 28 kB / 0.7042 GB, free: 12.26 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.01089/0.6903, allocations: 5.796 MB / 0.7098 GB, free: 6.223 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009126/0.6995, allocations: 3.472 MB / 0.7132 GB, free: 2.621 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001304/0.7008, allocations: 0.7406 MB / 0.7139 GB, free: 1.875 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001654/0.701, allocations: 30.12 kB / 0.714 GB, free: 1.844 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.367e-05/0.701, allocations: 51.81 kB / 0.714 GB, free: 1.785 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=136): time 3.306e-06/0.701, allocations: 4 kB / 0.714 GB, free: 1.781 MB / 0.5105 GB Notification: Performance of matching and sorting (n=136): time 0.01605/0.7171, allocations: 5.087 MB / 0.719 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/0.7172, allocations: 197.2 kB / 0.7192 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001961/0.7192, allocations: 1.138 MB / 0.7203 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002243/0.7195, allocations: 25.7 kB / 0.7203 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000555/0.72, allocations: 0.7102 MB / 0.721 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005393/0.7206, allocations: 476.8 kB / 0.7215 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.7207, allocations: 1.125 kB / 0.7215 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000168/0.7209, allocations: 361.9 kB / 0.7218 GB, free: 9.715 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001058/0.7219, allocations: 0.6133 MB / 0.7224 GB, free: 9.102 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001218/0.7231, allocations: 0.8204 MB / 0.7232 GB, free: 8.215 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001308/0.7245, allocations: 0.6779 MB / 0.7239 GB, free: 7.539 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.7245, allocations: 4 kB / 0.7239 GB, free: 7.535 MB / 0.5261 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.004237/0.7287, allocations: 2.228 MB / 0.7261 GB, free: 5.293 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006623/0.7294, allocations: 1.714 MB / 0.7277 GB, free: 3.426 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.7294, allocations: 4 kB / 0.7277 GB, free: 3.422 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01074/0.7402, allocations: 2.726 MB / 0.7304 GB, free: 0.6992 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008726/0.7411, allocations: 179.7 kB / 0.7306 GB, free: 0.5234 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009267/0.7504, allocations: 3.696 MB / 0.7342 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002482/0.7529, allocations: 260 kB / 0.7344 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001835/0.7531, allocations: 55.98 kB / 0.7345 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.7531, allocations: 0 / 0.7345 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003793/0.7569, allocations: 2.002 MB / 0.7364 GB, free: 10.49 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/0.757, allocations: 8 kB / 0.7364 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01066/0.7676, allocations: 2.691 MB / 0.7391 GB, free: 7.793 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008432/0.7685, allocations: 175.7 kB / 0.7392 GB, free: 7.621 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008061/0.7766, allocations: 3.467 MB / 0.7426 GB, free: 4.129 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002342/0.779, allocations: 234.8 kB / 0.7428 GB, free: 3.898 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001458/0.7791, allocations: 55.98 kB / 0.7429 GB, free: 3.844 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.0005304/0.7797, allocations: 174.3 kB / 0.7431 GB, free: 3.68 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003915/0.7801, allocations: 173.9 kB / 0.7432 GB, free: 3.508 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01525/0.7953, allocations: 5.2 MB / 0.7483 GB, free: 14.28 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.291e-05/0.7954, allocations: 12 kB / 0.7483 GB, free: 14.27 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.527e-06/0.7954, allocations: 0 / 0.7483 GB, free: 14.27 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-05/0.7955, allocations: 19.91 kB / 0.7483 GB, free: 14.25 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.01838/0.8138, allocations: 7.346 MB / 0.7555 GB, free: 6.777 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.298e-05/0.8139, allocations: 4 kB / 0.7555 GB, free: 6.773 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001183/0.8151, allocations: 183.8 kB / 0.7557 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006643/0.8217, allocations: 2.065 MB / 0.7577 GB, free: 4.523 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002867/0.822, allocations: 8 kB / 0.7577 GB, free: 4.516 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3347/1.157, allocations: 9.283 MB / 0.7668 GB, free: 132.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.104e-06/1.157, allocations: 4.391 kB / 0.7668 GB, free: 132.2 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01709/1.174, allocations: 6.238 MB / 0.7729 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007878/1.175, allocations: 290.4 kB / 0.7732 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003697/1.175, allocations: 2.969 kB / 0.7732 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001779/1.177, allocations: 184.3 kB / 0.7733 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007901/1.178, allocations: 287.1 kB / 0.7736 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.975e-05/1.178, allocations: 40.5 kB / 0.7736 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001101/1.179, allocations: 0.8564 MB / 0.7745 GB, free: 131.5 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8.62e-07/1.179, allocations: 3.031 kB / 0.7745 GB, free: 131.5 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002072/1.181, allocations: 0.7773 MB / 0.7752 GB, free: 131.4 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.000389/1.181, allocations: 163 kB / 0.7754 GB, free: 131.4 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]