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"}) [: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.003971/0.003971, allocations: 182.8 kB / 7.461 MB, free: 2.5 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.296/1.296, allocations: 221.4 MB / 229.3 MB, free: 3.016 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.001005/0.001005, allocations: 93.36 kB / 280.1 MB, free: 1.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4917/0.4917, allocations: 78.05 MB / 408.9 MB, free: 15.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1474/0.6392, allocations: 75.49 MB / 484.4 MB, free: 4.336 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/1.003, allocations: 69.34 MB / 0.5408 GB, free: 21.41 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1542/1.158, allocations: 111.8 MB / 0.65 GB, free: 8.938 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002679/1.158, allocations: 87.94 kB / 0.6501 GB, free: 8.852 MB / 474.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.4428/1.601, allocations: 49.41 MB / 0.6984 GB, free: 56.66 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/1.601, allocations: 7.656 kB / 0.6984 GB, free: 56.66 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004298/1.605, allocations: 0.7091 MB / 0.6991 GB, free: 56.54 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002773/1.608, allocations: 1.104 MB / 0.7001 GB, free: 56.12 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005288/1.608, allocations: 445.5 kB / 0.7006 GB, free: 55.74 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004118/1.609, allocations: 69.62 kB / 0.7006 GB, free: 55.74 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002386/1.611, allocations: 1.187 MB / 0.7018 GB, free: 55.73 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002238/1.613, allocations: 1.255 MB / 0.703 GB, free: 55.56 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.136e-05/1.614, allocations: 5.625 kB / 0.703 GB, free: 55.55 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001358/1.614, allocations: 3.969 kB / 0.703 GB, free: 55.55 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.298e-05/1.614, allocations: 27.41 kB / 0.703 GB, free: 55.55 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0116/1.625, allocations: 5.792 MB / 0.7087 GB, free: 53.59 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00257/1.628, allocations: 1.445 MB / 0.7101 GB, free: 53.47 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001024/1.629, allocations: 0.7336 MB / 0.7108 GB, free: 53.45 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001464/1.629, allocations: 31.94 kB / 0.7109 GB, free: 53.45 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/1.629, allocations: 49.69 kB / 0.7109 GB, free: 53.41 MB / 490.7 MB Notification: Performance of pre-optimization done (n=136): time 3.506e-06/1.629, allocations: 0 / 0.7109 GB, free: 53.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=136): time 0.01635/1.646, allocations: 5.392 MB / 0.7162 GB, free: 52.89 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.028e-05/1.646, allocations: 193 kB / 0.7164 GB, free: 52.68 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001884/1.648, allocations: 1.093 MB / 0.7174 GB, free: 52.52 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005045/1.648, allocations: 25.7 kB / 0.7174 GB, free: 52.49 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002967/1.648, allocations: 447 kB / 0.7179 GB, free: 52.26 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006377/1.649, allocations: 470.7 kB / 0.7183 GB, free: 51.95 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/1.649, allocations: 4 kB / 0.7183 GB, free: 51.94 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.917e-05/1.649, allocations: 358.2 kB / 0.7187 GB, free: 51.64 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001058/1.65, allocations: 0.6235 MB / 0.7193 GB, free: 51.63 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00122/1.652, allocations: 0.8269 MB / 0.7201 GB, free: 51.44 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001383/1.653, allocations: 0.6814 MB / 0.7208 GB, free: 51.41 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/1.653, allocations: 4 kB / 0.7208 GB, free: 51.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.004379/1.657, allocations: 2.27 MB / 0.723 GB, free: 51.23 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004295/1.658, allocations: 1.711 MB / 0.7246 GB, free: 49.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/1.658, allocations: 3.812 kB / 0.7246 GB, free: 49.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01099/1.669, allocations: 2.851 MB / 0.7274 GB, free: 49.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009103/1.67, allocations: 175.9 kB / 0.7276 GB, free: 49.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01043/1.68, allocations: 4.176 MB / 0.7317 GB, free: 48.37 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002868/1.683, allocations: 279.4 kB / 0.7319 GB, free: 48.29 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002882/1.683, allocations: 59.81 kB / 0.732 GB, free: 48.29 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/1.683, allocations: 3.938 kB / 0.732 GB, free: 48.29 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003876/1.687, allocations: 2.033 MB / 0.734 GB, free: 48.23 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/1.687, allocations: 3.781 kB / 0.734 GB, free: 48.23 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01197/1.699, allocations: 2.814 MB / 0.7367 GB, free: 48.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/1.7, allocations: 175.7 kB / 0.7369 GB, free: 48.01 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009935/1.71, allocations: 3.859 MB / 0.7407 GB, free: 46.31 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002554/1.713, allocations: 249.6 kB / 0.7409 GB, free: 46.24 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002241/1.713, allocations: 54.39 kB / 0.741 GB, free: 46.23 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.0004999/1.714, allocations: 172.6 kB / 0.7411 GB, free: 46.08 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004556/1.714, allocations: 175.8 kB / 0.7413 GB, free: 45.98 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01933/1.734, allocations: 5.499 MB / 0.7467 GB, free: 44.26 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-05/1.734, allocations: 13.34 kB / 0.7467 GB, free: 44.26 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.721e-05/1.734, allocations: 5.562 kB / 0.7467 GB, free: 44.25 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-05/1.734, allocations: 12.72 kB / 0.7467 GB, free: 44.24 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02427/1.758, allocations: 7.536 MB / 0.7541 GB, free: 39.23 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.791e-05/1.758, allocations: 4 kB / 0.7541 GB, free: 39.22 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00127/1.759, allocations: 191.8 kB / 0.7542 GB, free: 39.04 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006639/1.766, allocations: 2.139 MB / 0.7563 GB, free: 36.89 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000289/1.766, allocations: 4 kB / 0.7563 GB, free: 36.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0185/1.785, allocations: 8.756 MB / 0.7649 GB, free: 27.89 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/1.785, allocations: 4 kB / 0.7649 GB, free: 27.89 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01852/1.803, allocations: 6.574 MB / 0.7713 GB, free: 21.29 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02054/1.824, allocations: 7.969 MB / 0.7791 GB, free: 13.29 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006971/1.825, allocations: 282.6 kB / 0.7794 GB, free: 12.99 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003488/1.825, allocations: 0 / 0.7794 GB, free: 12.99 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001947/1.827, allocations: 199.8 kB / 0.7796 GB, free: 12.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004404/1.828, allocations: 176.9 kB / 0.7797 GB, free: 12.62 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000126/1.828, allocations: 39.98 kB / 0.7798 GB, free: 12.59 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001163/1.829, allocations: 0.8236 MB / 0.7806 GB, free: 11.77 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003434/1.832, allocations: 0.7873 MB / 0.7813 GB, free: 10.98 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.0003937/1.833, allocations: 165 kB / 0.7815 GB, free: 10.81 MB / 490.7 MB Error: Internal error function createNonlinearResidualEquations failed [/var/lib/jenkins1/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/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:1356:5-1356:77:writable] Error: Internal error createEquationsForSystems failed [/var/lib/jenkins1/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] Error: Internal error SimCode: The model OpenIPSL.Tests.Controls.PSSE.ES.ESST4B could not be translated to FMU