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.001333/0.001333, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001547/0.001547, allocations: 217.3 kB / 22.26 MB, free: 5.113 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.505/1.505, allocations: 230.6 MB / 256 MB, free: 8.031 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.169/0.169, allocations: 24.12 MB / 336.6 MB, free: 11.46 MB / 270.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: 72.19 kB / 470.9 MB, free: 8.789 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3703/0.3724, allocations: 59.6 MB / 0.5181 GB, free: 8.559 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P): time 0.00296/0.3754, allocations: 1.638 MB / 0.5197 GB, free: 7.852 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000825/0.3762, allocations: 496.8 kB / 0.5202 GB, free: 7.512 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.936e-05/0.3763, allocations: 1.5 kB / 0.5202 GB, free: 7.512 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.388e-05/0.3763, allocations: 6.562 kB / 0.5202 GB, free: 7.508 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002044/0.3765, allocations: 33.48 kB / 0.5202 GB, free: 7.484 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.047e-05/0.3766, allocations: 16.8 kB / 0.5202 GB, free: 7.477 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001477/0.3767, allocations: 109.5 kB / 0.5203 GB, free: 7.422 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.3769, allocations: 21.92 kB / 0.5203 GB, free: 7.414 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002081/0.3771, allocations: 50.48 kB / 0.5204 GB, free: 7.391 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.3772, allocations: 52.02 kB / 0.5204 GB, free: 7.363 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.285e-05/0.3772, allocations: 7.781 kB / 0.5204 GB, free: 7.363 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.053e-05/0.3772, allocations: 8.281 kB / 0.5205 GB, free: 7.363 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.554e-05/0.3773, allocations: 18.53 kB / 0.5205 GB, free: 7.352 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.232e-05/0.3773, allocations: 45.09 kB / 0.5205 GB, free: 7.324 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001625/0.3775, allocations: 94.23 kB / 0.5206 GB, free: 7.285 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.3775, allocations: 0 / 0.5206 GB, free: 7.285 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3775, allocations: 0 / 0.5206 GB, free: 7.285 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.3775, allocations: 0 / 0.5206 GB, free: 7.285 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.0005479/0.378, allocations: 335.9 kB / 0.5209 GB, free: 6.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.3781, allocations: 10.08 kB / 0.5209 GB, free: 6.98 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.902e-05/0.3781, allocations: 43.14 kB / 0.521 GB, free: 6.934 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.311e-05/0.3782, allocations: 11.11 kB / 0.521 GB, free: 6.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.3783, allocations: 131.8 kB / 0.5211 GB, free: 6.789 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.3783, allocations: 7.906 kB / 0.5211 GB, free: 6.785 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.473e-05/0.3783, allocations: 14.28 kB / 0.5211 GB, free: 6.777 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.3785, allocations: 85.95 kB / 0.5212 GB, free: 6.723 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-06/0.3785, allocations: 0 / 0.5212 GB, free: 6.723 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.3785, allocations: 1.875 kB / 0.5212 GB, free: 6.723 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.3785, allocations: 2.156 kB / 0.5212 GB, free: 6.723 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.628e-05/0.3786, allocations: 44.39 kB / 0.5213 GB, free: 6.707 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005587/0.3792, allocations: 338.8 kB / 0.5216 GB, free: 6.422 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002789/0.3794, allocations: 92.64 kB / 0.5217 GB, free: 6.371 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.106e-05/0.3795, allocations: 42.14 kB / 0.5217 GB, free: 6.348 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.3795, allocations: 1.844 kB / 0.5217 GB, free: 6.348 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.3796, allocations: 35.72 kB / 0.5218 GB, free: 6.305 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.163e-06/0.3796, allocations: 0 / 0.5218 GB, free: 6.305 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007538/0.3803, allocations: 358.5 kB / 0.5221 GB, free: 6.043 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.3803, allocations: 52.75 kB / 0.5221 GB, free: 5.98 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.3805, allocations: 146.9 kB / 0.5223 GB, free: 5.867 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/0.3805, allocations: 30.77 kB / 0.5223 GB, free: 5.832 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.637e-05/0.3805, allocations: 102.7 kB / 0.5224 GB, free: 5.734 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.935e-05/0.3805, allocations: 44.31 kB / 0.5225 GB, free: 5.699 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-05/0.3806, allocations: 29.09 kB / 0.5225 GB, free: 5.676 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.513e-05/0.3806, allocations: 325.7 kB / 0.5228 GB, free: 5.355 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.073e-05/0.3807, allocations: 25.83 kB / 0.5228 GB, free: 5.348 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.521e-05/0.3808, allocations: 49.83 kB / 0.5229 GB, free: 5.312 MB / 382.1 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.0004247/0.3812, allocations: 172.2 kB / 0.523 GB, free: 5.227 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3812, allocations: 5.125 kB / 0.523 GB, free: 5.223 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000232/0.3814, allocations: 155.9 kB / 0.5232 GB, free: 5.133 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.3814, allocations: 8.812 kB / 0.5232 GB, free: 5.129 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.3814, allocations: 6.047 kB / 0.5232 GB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001513/0.3816, allocations: 31.77 kB / 0.5232 GB, free: 5.113 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.928e-05/0.3817, allocations: 23.06 kB / 0.5232 GB, free: 5.113 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001084/0.3828, allocations: 1.5 MB / 0.5247 GB, free: 3.645 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.014e-05/0.3829, allocations: 5.594 kB / 0.5247 GB, free: 3.641 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.3829, allocations: 8.438 kB / 0.5247 GB, free: 3.637 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.000102/0.383, allocations: 129.9 kB / 0.5249 GB, free: 3.508 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.278e-05/0.383, allocations: 8.766 kB / 0.5249 GB, free: 3.504 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.316e-05/0.383, allocations: 16.38 kB / 0.5249 GB, free: 3.496 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.383, allocations: 4.391 kB / 0.5249 GB, free: 3.496 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.383, allocations: 0 / 0.5249 GB, free: 3.496 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.383, allocations: 2.125 kB / 0.5249 GB, free: 3.496 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004683/0.3835, allocations: 412.7 kB / 0.5253 GB, free: 3.141 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.3835, allocations: 1.344 kB / 0.5253 GB, free: 3.141 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001161/0.3836, allocations: 16.62 kB / 0.5253 GB, free: 3.141 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001502/0.3838, allocations: 40.62 kB / 0.5253 GB, free: 3.125 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.3838, allocations: 7.656 kB / 0.5253 GB, free: 3.121 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008293/0.3846, allocations: 1.518 MB / 0.5268 GB, free: 1.637 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.3846, allocations: 1.578 kB / 0.5268 GB, free: 1.637 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002676/0.3849, allocations: 273.9 kB / 0.5271 GB, free: 1.422 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.217e-05/0.3849, allocations: 13.03 kB / 0.5271 GB, free: 1.414 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.3849, allocations: 6.219 kB / 0.5271 GB, free: 1.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.924e-05/0.385, allocations: 5.031 kB / 0.5271 GB, free: 1.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.428e-05/0.3851, allocations: 12.33 kB / 0.5271 GB, free: 1.406 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.3851, allocations: 2.594 kB / 0.5271 GB, free: 1.406 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.686e-05/0.3851, allocations: 113 kB / 0.5272 GB, free: 1.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3851, allocations: 0 / 0.5272 GB, free: 1.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003498/0.3855, allocations: 27.88 kB / 0.5273 GB, free: 1.316 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.0004004/0.3859, allocations: 0.8066 MB / 0.528 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003032/0.3862, allocations: 196.3 kB / 0.5282 GB, free: 436 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3862, allocations: 0 / 0.5282 GB, free: 436 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001314/0.3863, allocations: 153 kB / 0.5284 GB, free: 304 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/0.3866, allocations: 17.72 kB / 0.5284 GB, free: 292 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002411/0.389, allocations: 1.955 MB / 0.5303 GB, free: 14.68 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/0.3893, allocations: 0.7071 MB / 0.531 GB, free: 13.98 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.718e-05/0.3894, allocations: 9.328 kB / 0.531 GB, free: 13.98 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.38e-05/0.3894, allocations: 31.14 kB / 0.531 GB, free: 13.96 MB / 398.1 MB Notification: Performance of SimCode: time 7.62e-07/0.3894, allocations: 0 / 0.531 GB, free: 13.96 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03456/0.424, allocations: 3.096 MB / 0.5341 GB, free: 13.45 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.66/13.08, allocations: 4.703 kB / 0.5341 GB, free: 13.45 MB / 398.1 MB " [Timeout remaining time 647] (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: 15.985420862001774] Failed to read output from testmodel.py, exit status != 0: 13.195943855003861 13.211911053 12.831091304 Calling exit ...