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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003076/0.003076, allocations: 179.7 kB / 7.453 MB, free: 2.512 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.355/1.355, allocations: 221.4 MB / 229.3 MB, free: 3.031 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.0009929/0.0009929, allocations: 100.7 kB / 280.1 MB, free: 1.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4181/0.4181, allocations: 78.06 MB / 409 MB, free: 15.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.338e-06/9.378e-06, allocations: 4 kB / 484.3 MB, free: 4.461 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.2771, allocations: 69.35 MB / 0.5407 GB, free: 21.39 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1251/0.4022, allocations: 111.8 MB / 0.6499 GB, free: 9.004 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002406/0.4025, allocations: 83.95 kB / 0.65 GB, free: 8.922 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.33/0.7325, allocations: 46.97 MB / 0.6959 GB, free: 105.6 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001203/0.7327, allocations: 35.19 kB / 0.6959 GB, free: 105.6 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.007458/0.7401, allocations: 2.395 MB / 0.6982 GB, free: 104.4 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.7402, allocations: 13.47 kB / 0.6983 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004899/0.7451, allocations: 0.7092 MB / 0.699 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002882/0.748, allocations: 1.109 MB / 0.7 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005703/0.7486, allocations: 444.9 kB / 0.7005 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004386/0.749, allocations: 71.72 kB / 0.7005 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00306/0.7521, allocations: 1.185 MB / 0.7017 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003026/0.7552, allocations: 1.258 MB / 0.7029 GB, free: 102.1 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.37e-05/0.7552, allocations: 1.609 kB / 0.7029 GB, free: 102.1 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001705/0.7554, allocations: 1.219 kB / 0.7029 GB, free: 102.1 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.398e-05/0.7554, allocations: 27.94 kB / 0.7029 GB, free: 102.1 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01196/0.7674, allocations: 5.789 MB / 0.7086 GB, free: 98.01 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002919/0.7703, allocations: 1.452 MB / 0.71 GB, free: 97.34 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001136/0.7715, allocations: 0.733 MB / 0.7107 GB, free: 96.97 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001627/0.7717, allocations: 28.98 kB / 0.7108 GB, free: 96.96 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.7717, allocations: 49.36 kB / 0.7108 GB, free: 96.91 MB / 490.7 MB Notification: Performance of pre-optimization done (n=136): time 3.778e-06/0.7717, allocations: 4 kB / 0.7108 GB, free: 96.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=136): time 0.01782/0.7896, allocations: 5.393 MB / 0.7161 GB, free: 93.16 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.679e-05/0.7897, allocations: 201.2 kB / 0.7163 GB, free: 92.92 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001982/0.7917, allocations: 1.091 MB / 0.7173 GB, free: 91.82 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003465/0.792, allocations: 25.7 kB / 0.7174 GB, free: 91.79 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002279/0.7923, allocations: 439.2 kB / 0.7178 GB, free: 91.35 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007765/0.793, allocations: 473 kB / 0.7182 GB, free: 90.88 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001586/0.7932, allocations: 0 / 0.7182 GB, free: 90.88 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.576e-05/0.7933, allocations: 353.9 kB / 0.7186 GB, free: 90.53 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001108/0.7944, allocations: 0.625 MB / 0.7192 GB, free: 89.91 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001198/0.7956, allocations: 0.8321 MB / 0.72 GB, free: 89 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001371/0.797, allocations: 0.6779 MB / 0.7206 GB, free: 88.33 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.834e-06/0.797, allocations: 4 kB / 0.7207 GB, free: 88.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.004273/0.8013, allocations: 2.268 MB / 0.7229 GB, free: 86.04 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002408/0.8016, allocations: 1.71 MB / 0.7245 GB, free: 84.18 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.8016, allocations: 8 kB / 0.7245 GB, free: 84.17 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01186/0.8134, allocations: 2.84 MB / 0.7273 GB, free: 81.33 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009398/0.8144, allocations: 179.7 kB / 0.7275 GB, free: 81.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01094/0.8254, allocations: 4.179 MB / 0.7316 GB, free: 76.95 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002662/0.8281, allocations: 274.6 kB / 0.7318 GB, free: 76.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002664/0.8284, allocations: 55.98 kB / 0.7319 GB, free: 76.63 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/0.8284, allocations: 8 kB / 0.7319 GB, free: 76.62 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003972/0.8324, allocations: 2.035 MB / 0.7339 GB, free: 74.58 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.8324, allocations: 8.062 kB / 0.7339 GB, free: 74.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01182/0.8442, allocations: 2.815 MB / 0.7366 GB, free: 71.76 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009435/0.8452, allocations: 175.8 kB / 0.7368 GB, free: 71.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00992/0.8552, allocations: 3.863 MB / 0.7406 GB, free: 67.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002507/0.8577, allocations: 250.8 kB / 0.7408 GB, free: 67.45 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002212/0.8579, allocations: 55.92 kB / 0.7409 GB, free: 67.4 MB / 490.7 MB Warning: Iteration variables with default zero start attribute in equation system w/o 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.0005245/0.8585, allocations: 172.1 kB / 0.741 GB, free: 67.23 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005596/0.859, allocations: 177.8 kB / 0.7412 GB, free: 67.05 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01652/0.8756, allocations: 5.495 MB / 0.7466 GB, free: 61.55 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.016e-05/0.8756, allocations: 12 kB / 0.7466 GB, free: 61.54 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.8757, allocations: 4 kB / 0.7466 GB, free: 61.54 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.081e-05/0.8757, allocations: 7.969 kB / 0.7466 GB, free: 61.53 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02042/0.8961, allocations: 7.531 MB / 0.7539 GB, free: 53.95 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.755e-05/0.8962, allocations: 3.938 kB / 0.754 GB, free: 53.94 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001362/0.8976, allocations: 195.8 kB / 0.7541 GB, free: 53.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007165/0.9048, allocations: 2.147 MB / 0.7562 GB, free: 51.6 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003152/0.9051, allocations: 11.98 kB / 0.7562 GB, free: 51.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0197/0.9248, allocations: 8.744 MB / 0.7648 GB, free: 42.61 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/0.9249, allocations: 0 / 0.7648 GB, free: 42.61 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01866/0.9435, allocations: 6.584 MB / 0.7712 GB, free: 36 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008565/0.9445, allocations: 282.6 kB / 0.7715 GB, free: 35.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008056/0.9453, allocations: 3.984 kB / 0.7715 GB, free: 35.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002828/0.9481, allocations: 203.7 kB / 0.7717 GB, free: 35.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000637/0.9488, allocations: 180.9 kB / 0.7719 GB, free: 35.32 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002379/0.949, allocations: 35.98 kB / 0.7719 GB, free: 35.29 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001577/0.9506, allocations: 0.8275 MB / 0.7727 GB, free: 34.46 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003214/0.9539, allocations: 0.76 MB / 0.7734 GB, free: 33.7 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.0004436/0.9543, allocations: 161.7 kB / 0.7736 GB, free: 33.54 MB / 490.7 MB Error: Internal error function createNonlinearResidualEquations failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:3706:7-3706:48:writable] Error: Internal error createOdeSystem2 failed for Generic Jacobian via directional derivatives [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:3599:9-3599: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:1356:5-1356:77:writable] Error: Internal error createEquationsForSystems failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:596:5-596:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]