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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 108.2 kB / 17.15 MB, free: 6.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 208.5 kB / 20.11 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.547/1.547, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.1074/0.1074, allocations: 24.03 MB / 333.6 MB, free: 1.566 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 65.28 kB / 466.3 MB, free: 32.84 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1105, allocations: 59.55 MB / 0.5135 GB, free: 14.46 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P): time 0.003047/0.1136, allocations: 1.628 MB / 0.5151 GB, free: 12.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008571/0.1144, allocations: 494.9 kB / 0.5156 GB, free: 12.33 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.306e-05/0.1145, allocations: 0 / 0.5156 GB, free: 12.33 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.55e-05/0.1145, allocations: 7.875 kB / 0.5156 GB, free: 12.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001894/0.1147, allocations: 31.77 kB / 0.5156 GB, free: 12.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.271e-05/0.1148, allocations: 15.98 kB / 0.5156 GB, free: 12.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001448/0.1149, allocations: 103.6 kB / 0.5157 GB, free: 12.17 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.115, allocations: 23.92 kB / 0.5157 GB, free: 12.15 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001784/0.1152, allocations: 51.77 kB / 0.5158 GB, free: 12.1 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.1153, allocations: 51.77 kB / 0.5158 GB, free: 12.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.204e-05/0.1154, allocations: 8 kB / 0.5158 GB, free: 12.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.744e-05/0.1154, allocations: 8 kB / 0.5158 GB, free: 12.03 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.164e-05/0.1154, allocations: 19.92 kB / 0.5159 GB, free: 12.01 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.386e-05/0.1155, allocations: 51.72 kB / 0.5159 GB, free: 11.96 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001415/0.1156, allocations: 87.56 kB / 0.516 GB, free: 11.88 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1156, allocations: 0 / 0.516 GB, free: 11.88 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1156, allocations: 0 / 0.516 GB, free: 11.88 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.149e-06/0.1156, allocations: 0 / 0.516 GB, free: 11.88 MB / 382.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.000639/0.1162, allocations: 415 kB / 0.5164 GB, free: 11.42 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.1163, allocations: 8.625 kB / 0.5164 GB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.655e-05/0.1164, allocations: 42.7 kB / 0.5164 GB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.253e-05/0.1164, allocations: 8.891 kB / 0.5164 GB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002003/0.1166, allocations: 189.8 kB / 0.5166 GB, free: 11.13 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.1166, allocations: 8.375 kB / 0.5166 GB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.875e-05/0.1166, allocations: 16.12 kB / 0.5167 GB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.1168, allocations: 77.66 kB / 0.5167 GB, free: 11.03 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.1168, allocations: 4 kB / 0.5167 GB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-06/0.1168, allocations: 0 / 0.5167 GB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.1168, allocations: 4 kB / 0.5167 GB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.942e-05/0.1169, allocations: 39.89 kB / 0.5168 GB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006174/0.1175, allocations: 376.5 kB / 0.5171 GB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002868/0.1178, allocations: 102.6 kB / 0.5172 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.168e-05/0.1179, allocations: 36.83 kB / 0.5173 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.949e-06/0.1179, allocations: 3.938 kB / 0.5173 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.1179, allocations: 38.56 kB / 0.5173 GB, free: 10.36 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.1179, allocations: 0 / 0.5173 GB, free: 10.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.000812/0.1187, allocations: 423 kB / 0.5177 GB, free: 9.895 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.724e-05/0.1188, allocations: 51.41 kB / 0.5178 GB, free: 9.832 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.1189, allocations: 143.9 kB / 0.5179 GB, free: 9.684 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.1189, allocations: 29.7 kB / 0.5179 GB, free: 9.648 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.741e-05/0.119, allocations: 104 kB / 0.518 GB, free: 9.543 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.953e-05/0.1191, allocations: 43.64 kB / 0.5181 GB, free: 9.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.004e-05/0.1191, allocations: 25.72 kB / 0.5181 GB, free: 9.469 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.1193, allocations: 322.8 kB / 0.5184 GB, free: 9.145 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.774e-05/0.1193, allocations: 31.98 kB / 0.5184 GB, free: 9.113 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.28e-05/0.1194, allocations: 54.44 kB / 0.5185 GB, free: 9.051 MB / 382.1 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.0005027/0.1199, allocations: 247.1 kB / 0.5187 GB, free: 8.781 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.1199, allocations: 3.938 kB / 0.5187 GB, free: 8.777 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002769/0.1202, allocations: 158.3 kB / 0.5189 GB, free: 8.613 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.1202, allocations: 4 kB / 0.5189 GB, free: 8.609 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.1202, allocations: 3.938 kB / 0.5189 GB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001498/0.1203, allocations: 36.91 kB / 0.5189 GB, free: 8.566 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.683e-05/0.1204, allocations: 23.98 kB / 0.5189 GB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001554/0.122, allocations: 1.607 MB / 0.5205 GB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.067e-05/0.1221, allocations: 8.031 kB / 0.5205 GB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.1221, allocations: 4.656 kB / 0.5205 GB, free: 6.781 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.0001378/0.1222, allocations: 132.6 kB / 0.5206 GB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.758e-05/0.1223, allocations: 15.89 kB / 0.5207 GB, free: 6.629 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.451e-05/0.1223, allocations: 12.72 kB / 0.5207 GB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.1223, allocations: 0 / 0.5207 GB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.1223, allocations: 3.938 kB / 0.5207 GB, free: 6.617 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.1223, allocations: 0 / 0.5207 GB, free: 6.617 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005671/0.1228, allocations: 444.8 kB / 0.5211 GB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1229, allocations: 0 / 0.5211 GB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.854e-05/0.1229, allocations: 19.94 kB / 0.5211 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001309/0.1231, allocations: 40.81 kB / 0.5212 GB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.1231, allocations: 0 / 0.5212 GB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001371/0.1245, allocations: 1.626 MB / 0.5227 GB, free: 4.285 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.1245, allocations: 4.031 kB / 0.5227 GB, free: 4.281 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003392/0.1248, allocations: 265.8 kB / 0.523 GB, free: 3.996 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.474e-05/0.1249, allocations: 85.06 kB / 0.5231 GB, free: 3.895 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.1249, allocations: 8.062 kB / 0.5231 GB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.523e-05/0.125, allocations: 4 kB / 0.5231 GB, free: 3.883 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.738e-05/0.125, allocations: 12.22 kB / 0.5231 GB, free: 3.871 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.125, allocations: 0 / 0.5231 GB, free: 3.871 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001007/0.1251, allocations: 121.2 kB / 0.5232 GB, free: 3.754 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1251, allocations: 0 / 0.5232 GB, free: 3.754 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003488/0.1255, allocations: 28 kB / 0.5232 GB, free: 3.727 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.000818/0.1263, allocations: 0.8084 MB / 0.524 GB, free: 2.883 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003951/0.1267, allocations: 190.8 kB / 0.5242 GB, free: 2.684 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1267, allocations: 4 kB / 0.5242 GB, free: 2.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002019/0.1269, allocations: 154.6 kB / 0.5244 GB, free: 2.516 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.1271, allocations: 12.33 kB / 0.5244 GB, free: 2.504 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002521/0.1297, allocations: 1.965 MB / 0.5263 GB, free: 432 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003817/0.1301, allocations: 0.7084 MB / 0.527 GB, free: 15.69 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.779e-05/0.1301, allocations: 4.891 kB / 0.527 GB, free: 15.68 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.48e-05/0.1302, allocations: 35.36 kB / 0.527 GB, free: 15.65 MB / 398.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1302, allocations: 0 / 0.527 GB, free: 15.65 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03026/0.1604, allocations: 2.982 MB / 0.5299 GB, free: 12.82 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/11.85, allocations: 10.47 kB / 0.53 GB, free: 12.81 MB / 398.1 MB " [Timeout remaining time 648] (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.76137086795643] Failed to read output from testmodel.py, exit status != 0: 11.940392949152738 11.962173044 11.842700054 Calling exit ...