Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 110.6 kB / 16.4 MB, free: 6.496 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001383/0.001384, allocations: 191.7 kB / 19.36 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1545/0.1545, allocations: 22.33 MB / 319.6 MB, free: 6.777 MB / 254.1 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P,fileNamePrefix="AES_AES_ProcessComponents_Electric_Generators_PAport_Generator_order0_fixed_P",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P,fileNamePrefix="AES_AES_ProcessComponents_Electric_Generators_PAport_Generator_order0_fixed_P",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001861, allocations: 71.89 kB / 443.1 MB, free: 10.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1109, allocations: 54.94 MB / 498.1 MB, free: 3.773 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P): time 0.00268/0.1136, allocations: 1.612 MB / 499.7 MB, free: 2.145 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007047/0.1144, allocations: 447.1 kB / 0.4884 GB, free: 1.707 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.097e-05/0.1144, allocations: 0 / 0.4884 GB, free: 1.707 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 4.905e-05/0.1145, allocations: 7.922 kB / 0.4884 GB, free: 1.699 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001774/0.1147, allocations: 31.72 kB / 0.4884 GB, free: 1.668 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.304e-05/0.1147, allocations: 23.95 kB / 0.4885 GB, free: 1.645 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001404/0.1149, allocations: 103.6 kB / 0.4886 GB, free: 1.543 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.115, allocations: 27.88 kB / 0.4886 GB, free: 1.516 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.1151, allocations: 47.83 kB / 0.4886 GB, free: 1.469 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.1152, allocations: 51.7 kB / 0.4887 GB, free: 1.418 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.1153, allocations: 8 kB / 0.4887 GB, free: 1.41 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.932e-05/0.1153, allocations: 8 kB / 0.4887 GB, free: 1.402 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.639e-05/0.1153, allocations: 19.92 kB / 0.4887 GB, free: 1.383 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.583e-05/0.1154, allocations: 39.8 kB / 0.4888 GB, free: 1.344 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001296/0.1155, allocations: 91.56 kB / 0.4888 GB, free: 1.254 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1155, allocations: 0 / 0.4888 GB, free: 1.254 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1155, allocations: 0 / 0.4888 GB, free: 1.254 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.1156, allocations: 4 kB / 0.4888 GB, free: 1.25 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005807/0.1161, allocations: 407 kB / 0.4892 GB, free: 0.8047 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.1162, allocations: 11.97 kB / 0.4892 GB, free: 0.793 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.546e-05/0.1163, allocations: 46.73 kB / 0.4893 GB, free: 0.7383 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.439e-05/0.1163, allocations: 12.84 kB / 0.4893 GB, free: 0.7266 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001704/0.1165, allocations: 180.3 kB / 0.4895 GB, free: 0.5117 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.1165, allocations: 8.312 kB / 0.4895 GB, free: 0.5039 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.644e-05/0.1165, allocations: 24.11 kB / 0.4895 GB, free: 492 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.1167, allocations: 77.58 kB / 0.4896 GB, free: 408 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.1167, allocations: 3.938 kB / 0.4896 GB, free: 404 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.1167, allocations: 4 kB / 0.4896 GB, free: 400 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.1167, allocations: 4 kB / 0.4896 GB, free: 396 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.129e-05/0.1168, allocations: 39.97 kB / 0.4896 GB, free: 356 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005714/0.1174, allocations: 376.5 kB / 0.49 GB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002482/0.1176, allocations: 86.64 kB / 0.4901 GB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.895e-05/0.1177, allocations: 40.84 kB / 0.4901 GB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/0.1177, allocations: 192 / 0.4901 GB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.1178, allocations: 42.5 kB / 0.4901 GB, free: 15.74 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.002e-06/0.1178, allocations: 0 / 0.4901 GB, free: 15.74 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007381/0.1185, allocations: 411.5 kB / 0.4905 GB, free: 15.29 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.1186, allocations: 55.41 kB / 0.4906 GB, free: 15.22 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.1187, allocations: 148.4 kB / 0.4907 GB, free: 15.07 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.1187, allocations: 29.8 kB / 0.4908 GB, free: 15.03 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.219e-05/0.1188, allocations: 108 kB / 0.4909 GB, free: 14.92 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.855e-05/0.1189, allocations: 43.62 kB / 0.4909 GB, free: 14.88 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.98e-05/0.1189, allocations: 37.66 kB / 0.4909 GB, free: 14.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.1191, allocations: 322.8 kB / 0.4913 GB, free: 14.51 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.142e-05/0.1191, allocations: 27.98 kB / 0.4913 GB, free: 14.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.07e-05/0.1192, allocations: 50.5 kB / 0.4913 GB, free: 14.43 MB / 382.1 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.0004676/0.1197, allocations: 250.5 kB / 0.4916 GB, free: 14.15 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.1197, allocations: 3.938 kB / 0.4916 GB, free: 14.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002528/0.1199, allocations: 150 kB / 0.4917 GB, free: 14 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.12, allocations: 11.94 kB / 0.4917 GB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.12, allocations: 4 kB / 0.4917 GB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000149/0.1201, allocations: 32.83 kB / 0.4918 GB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.957e-05/0.1202, allocations: 20 kB / 0.4918 GB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001441/0.1217, allocations: 1.615 MB / 0.4934 GB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.74e-05/0.1218, allocations: 4.094 kB / 0.4934 GB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.1218, allocations: 8 kB / 0.4934 GB, free: 12.16 MB / 382.1 MB Warning: Assuming fixed start value for the following 1 variables: G.deltag:VARIABLE(unit = \"rad\" fixed = true ) \"generator angle wrt port\" type: Real Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: G.Pm = G.Pcmd. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001254/0.1219, allocations: 135.7 kB / 0.4935 GB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.257e-05/0.122, allocations: 11.95 kB / 0.4935 GB, free: 12.01 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.067e-05/0.122, allocations: 8.719 kB / 0.4935 GB, free: 12 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.122, allocations: 0 / 0.4935 GB, free: 12 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.122, allocations: 4 kB / 0.4935 GB, free: 12 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.122, allocations: 0 / 0.4935 GB, free: 12 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005302/0.1225, allocations: 444.8 kB / 0.4939 GB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1225, allocations: 0 / 0.4939 GB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.609e-05/0.1226, allocations: 15.98 kB / 0.494 GB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001324/0.1228, allocations: 40.89 kB / 0.494 GB, free: 11.44 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.1228, allocations: 0 / 0.494 GB, free: 11.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001287/0.1241, allocations: 1.631 MB / 0.4956 GB, free: 9.672 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/0.1241, allocations: 11.88 kB / 0.4956 GB, free: 9.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003169/0.1244, allocations: 266 kB / 0.4959 GB, free: 9.375 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.871e-05/0.1245, allocations: 89.02 kB / 0.4959 GB, free: 9.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.007e-05/0.1245, allocations: 8 kB / 0.4959 GB, free: 9.262 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.95e-05/0.1246, allocations: 4.031 kB / 0.496 GB, free: 9.258 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.021e-05/0.1247, allocations: 4 kB / 0.496 GB, free: 9.254 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.1247, allocations: 4 kB / 0.496 GB, free: 9.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.066e-05/0.1248, allocations: 121.5 kB / 0.4961 GB, free: 9.133 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1248, allocations: 0 / 0.4961 GB, free: 9.133 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003276/0.1251, allocations: 24 kB / 0.4961 GB, free: 9.109 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (G.thetap,G.deltag,G.wg) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006145/0.1257, allocations: 0.8009 MB / 0.4969 GB, free: 8.273 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003311/0.1261, allocations: 202.7 kB / 0.4971 GB, free: 8.062 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.1261, allocations: 4 kB / 0.4971 GB, free: 8.059 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001657/0.1263, allocations: 150.7 kB / 0.4972 GB, free: 7.898 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002321/0.1265, allocations: 11.94 kB / 0.4972 GB, free: 7.887 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002277/0.1288, allocations: 1.981 MB / 0.4992 GB, free: 5.789 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.1291, allocations: 0.7084 MB / 0.4999 GB, free: 5.055 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.224e-05/0.1292, allocations: 8.875 kB / 0.4999 GB, free: 5.047 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.873e-05/0.1292, allocations: 27.44 kB / 0.4999 GB, free: 5.02 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1292, allocations: 0 / 0.4999 GB, free: 5.02 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02986/0.1591, allocations: 2.964 MB / 0.5028 GB, free: 2.207 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.39, allocations: 9.562 kB / 0.5028 GB, free: 2.199 MB / 382.1 MB " [Timeout remaining time 649] (rm -f AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P.pipe ; mkfifo AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P.pipe ; head -c 1048576 < AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P.pipe >> ../files/AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P.sim & python3 -m fmpy simulate --output-file AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 AES_AES_ProcessComponents_Electric_Generators_PAport_Generator_order0_fixed_P.fmu > AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.217502323910594] Failed to read output from testmodel.py, exit status != 0: 11.482117936946452 11.683851777 11.565383194 Calling exit ...