Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESST4B.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESST4B,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESST4B",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESST4B,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.002932/0.002932, allocations: 184 kB / 7.462 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.394/1.394, allocations: 205.2 MB / 213.1 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009046/0.0009047, allocations: 88.75 kB / 261.1 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07457/0.07457, allocations: 12.19 MB / 321.2 MB, free: 1.363 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2803/0.2803, allocations: 78.05 MB / 449.9 MB, free: 3.652 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2903/0.5706, allocations: 76.09 MB / 0.5137 GB, free: 30.33 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.7116, allocations: 69.23 MB / 0.5813 GB, free: 9.188 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4106/1.122, allocations: 113.3 MB / 0.692 GB, free: 11.73 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002963/1.123, allocations: 92.38 kB / 0.692 GB, free: 11.68 MB / 442.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.138/1.261, allocations: 48.34 MB / 0.7392 GB, free: 3.656 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.055e-05/1.261, allocations: 11.94 kB / 0.7393 GB, free: 3.645 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004882/1.266, allocations: 0.707 MB / 0.74 GB, free: 2.984 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00321/1.269, allocations: 1.112 MB / 0.741 GB, free: 2.094 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006001/1.269, allocations: 450.3 kB / 0.7415 GB, free: 1.586 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003942/1.27, allocations: 68 kB / 0.7415 GB, free: 1.52 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002366/1.272, allocations: 1.184 MB / 0.7427 GB, free: 0.8086 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002226/1.275, allocations: 1.264 MB / 0.7439 GB, free: 15.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.744e-05/1.275, allocations: 4 kB / 0.7439 GB, free: 15.89 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001315/1.275, allocations: 0 / 0.7439 GB, free: 15.89 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.961e-05/1.275, allocations: 28 kB / 0.744 GB, free: 15.87 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01187/1.287, allocations: 5.8 MB / 0.7496 GB, free: 11.19 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00301/1.29, allocations: 1.444 MB / 0.751 GB, free: 9.855 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001182/1.291, allocations: 0.7251 MB / 0.7517 GB, free: 9.125 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001818/1.291, allocations: 37.2 kB / 0.7518 GB, free: 9.09 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.854e-05/1.291, allocations: 59.72 kB / 0.7518 GB, free: 9.02 MB / 490.7 MB Notification: Performance of pre-optimization done (n=136): time 3.837e-06/1.291, allocations: 4 kB / 0.7518 GB, free: 9.016 MB / 490.7 MB Notification: Performance of matching and sorting (n=136): time 0.01772/1.309, allocations: 5.397 MB / 0.7571 GB, free: 3.598 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/1.309, allocations: 197.2 kB / 0.7573 GB, free: 3.363 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002504/1.312, allocations: 1.095 MB / 0.7584 GB, free: 2.262 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004944/1.312, allocations: 25.7 kB / 0.7584 GB, free: 2.23 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000299/1.312, allocations: 439.3 kB / 0.7588 GB, free: 1.793 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007732/1.313, allocations: 469 kB / 0.7592 GB, free: 1.328 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/1.313, allocations: 4 kB / 0.7593 GB, free: 1.324 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001688/1.313, allocations: 353.9 kB / 0.7596 GB, free: 0.9727 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001207/1.315, allocations: 0.6289 MB / 0.7602 GB, free: 352 kB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001296/1.316, allocations: 0.8283 MB / 0.761 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001437/1.317, allocations: 0.6779 MB / 0.7617 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/1.317, allocations: 4 kB / 0.7617 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.004972/1.322, allocations: 2.272 MB / 0.7639 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008033/1.323, allocations: 1.707 MB / 0.7656 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/1.323, allocations: 7.984 kB / 0.7656 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01198/1.335, allocations: 2.834 MB / 0.7683 GB, free: 7.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000974/1.336, allocations: 187.7 kB / 0.7685 GB, free: 7.586 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01183/1.348, allocations: 4.179 MB / 0.7726 GB, free: 3.391 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002872/1.351, allocations: 278.6 kB / 0.7729 GB, free: 3.117 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002432/1.351, allocations: 55.98 kB / 0.7729 GB, free: 3.062 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/1.351, allocations: 4 kB / 0.7729 GB, free: 3.059 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004324/1.356, allocations: 2.031 MB / 0.7749 GB, free: 1.023 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/1.356, allocations: 4 kB / 0.7749 GB, free: 1.02 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01206/1.368, allocations: 2.811 MB / 0.7777 GB, free: 14.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009543/1.369, allocations: 175.7 kB / 0.7778 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01072/1.38, allocations: 3.867 MB / 0.7816 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002981/1.383, allocations: 250.8 kB / 0.7818 GB, free: 9.891 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003351/1.383, allocations: 55.98 kB / 0.7819 GB, free: 9.836 MB / 0.5105 GB 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.0006633/1.384, allocations: 170.2 kB / 0.7821 GB, free: 9.66 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005613/1.384, allocations: 177.8 kB / 0.7822 GB, free: 9.484 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01729/1.401, allocations: 5.503 MB / 0.7876 GB, free: 3.957 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-05/1.402, allocations: 16 kB / 0.7876 GB, free: 3.941 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/1.402, allocations: 0 / 0.7876 GB, free: 3.941 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.126e-05/1.402, allocations: 7.969 kB / 0.7876 GB, free: 3.934 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02175/1.423, allocations: 7.539 MB / 0.795 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.526e-05/1.423, allocations: 4.031 kB / 0.795 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001459/1.425, allocations: 191.8 kB / 0.7952 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007518/1.432, allocations: 2.143 MB / 0.7973 GB, free: 9.949 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003675/1.433, allocations: 12 kB / 0.7973 GB, free: 9.938 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02094/1.454, allocations: 8.744 MB / 0.8058 GB, free: 0.9531 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/1.454, allocations: 4 kB / 0.8058 GB, free: 0.9492 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02015/1.474, allocations: 6.58 MB / 0.8122 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02126/1.495, allocations: 7.963 MB / 0.82 GB, free: 2.309 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009112/1.496, allocations: 282.6 kB / 0.8203 GB, free: 2.012 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003848/1.497, allocations: 8 kB / 0.8203 GB, free: 2.004 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002106/1.499, allocations: 199.8 kB / 0.8205 GB, free: 1.809 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000513/1.499, allocations: 177 kB / 0.8207 GB, free: 1.637 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001288/1.5, allocations: 39.98 kB / 0.8207 GB, free: 1.598 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.001494/1.501, allocations: 0.8238 MB / 0.8215 GB, free: 0.7773 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.003671/1.505, allocations: 0.7838 MB / 0.8223 GB, free: 15.99 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.0004874/1.505, allocations: 166.9 kB / 0.8224 GB, free: 15.82 MB / 0.5573 GB 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