Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_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.001164/0.001164, allocations: 76.52 kB / 19.95 MB, free: 4.613 MB / 18.57 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.001351/0.001351, allocations: 173.2 kB / 23.23 MB, free: 1.332 MB / 18.57 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 0.8865/0.8865, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.06282/0.06282, allocations: 18.13 MB / 278.1 MB, free: 11.53 MB / 266.7 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_1stOrder_prescribed_P,fileNamePrefix="AES_AES_ProcessComponents_Electric_Generators_PAport_Generator_1stOrder_prescribed_P",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P,fileNamePrefix="AES_AES_ProcessComponents_Electric_Generators_PAport_Generator_1stOrder_prescribed_P",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 412.7 MB, free: 13.25 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.805e-05/1.965e-05, allocations: 2.281 kB / 412.7 MB, free: 13.24 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P): time 0.001743/0.001763, allocations: 1.64 MB / 414.3 MB, free: 12.74 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.000518/0.002281, allocations: 472.9 kB / 414.8 MB, free: 12.54 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.177e-05/0.002343, allocations: 0 / 414.8 MB, free: 12.54 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 3.893e-05/0.002382, allocations: 14.53 kB / 414.8 MB, free: 12.53 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001557/0.002538, allocations: 34.06 kB / 414.8 MB, free: 12.51 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.405e-05/0.002602, allocations: 30 kB / 414.9 MB, free: 12.5 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001361/0.002738, allocations: 123 kB / 415 MB, free: 12.48 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.002843, allocations: 18.61 kB / 415 MB, free: 12.47 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001314/0.002974, allocations: 67.8 kB / 415.1 MB, free: 12.45 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.554e-05/0.00306, allocations: 42 kB / 415.1 MB, free: 12.44 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.003079, allocations: 8.969 kB / 415.1 MB, free: 12.44 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.284e-05/0.003092, allocations: 8.906 kB / 415.1 MB, free: 12.44 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.728e-05/0.003109, allocations: 22.84 kB / 415.1 MB, free: 12.43 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.262e-05/0.003142, allocations: 36.41 kB / 415.2 MB, free: 12.41 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001226/0.003265, allocations: 100.8 kB / 415.3 MB, free: 12.38 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.003268, allocations: 2.125 kB / 415.3 MB, free: 12.38 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.003269, allocations: 0 / 415.3 MB, free: 12.38 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.007e-06/0.003273, allocations: 0 / 415.3 MB, free: 12.38 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003788/0.003652, allocations: 350.9 kB / 415.6 MB, free: 12.06 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.003686, allocations: 9.141 kB / 415.6 MB, free: 12.06 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.857e-05/0.003734, allocations: 45.69 kB / 415.7 MB, free: 12.02 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.483e-05/0.003759, allocations: 14.39 kB / 415.7 MB, free: 12.01 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.003906, allocations: 157.8 kB / 415.8 MB, free: 11.85 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.003915, allocations: 3.125 kB / 415.8 MB, free: 11.85 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.003933, allocations: 12.09 kB / 415.9 MB, free: 11.85 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/0.004043, allocations: 90.88 kB / 416 MB, free: 11.79 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.00405, allocations: 4 kB / 416 MB, free: 11.79 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.004058, allocations: 0 / 416 MB, free: 11.79 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.004063, allocations: 2.75 kB / 416 MB, free: 11.79 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.457e-05/0.004127, allocations: 47.66 kB / 416 MB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003744/0.004502, allocations: 346.8 kB / 416.3 MB, free: 11.48 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001917/0.004693, allocations: 91.25 kB / 416.4 MB, free: 11.43 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.84e-05/0.004742, allocations: 41.45 kB / 416.5 MB, free: 11.41 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.729e-06/0.004751, allocations: 2.562 kB / 416.5 MB, free: 11.41 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.118e-05/0.004763, allocations: 39.98 kB / 416.5 MB, free: 11.37 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 9.92e-07/0.004764, allocations: 0 / 416.5 MB, free: 11.37 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005164/0.00528, allocations: 366.8 kB / 416.9 MB, free: 11.11 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.75e-05/0.005297, allocations: 52.84 kB / 416.9 MB, free: 11.05 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.699e-05/0.005384, allocations: 160.7 kB / 417.1 MB, free: 10.93 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.422e-06/0.005391, allocations: 30.89 kB / 417.1 MB, free: 10.89 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.013e-05/0.005421, allocations: 108.9 kB / 417.2 MB, free: 10.79 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.042e-05/0.005441, allocations: 57.17 kB / 417.3 MB, free: 10.74 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.339e-05/0.005475, allocations: 33.47 kB / 417.3 MB, free: 10.71 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.688e-05/0.005502, allocations: 326.6 kB / 417.6 MB, free: 10.39 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.63e-05/0.005538, allocations: 31.36 kB / 417.7 MB, free: 10.38 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.787e-05/0.005586, allocations: 60.12 kB / 417.7 MB, free: 10.34 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002661/0.005852, allocations: 179.6 kB / 417.9 MB, free: 10.26 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.005853, allocations: 0.5156 kB / 417.9 MB, free: 10.26 MB / 330.7 MB Warning: The linear system: 1 : G.Pm = G.Pcmd 2 : G.Pm = G.Pcmd [ 1.0 , -1.0 ; 1.0 , -1.0 ] * [ G.Pm ; G.Pcmd ] = [ 0.0 ; 0.0 ] might be structurally or numerically singular for variable G.Pcmd since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002893/0.006143, allocations: 199.6 kB / 418.1 MB, free: 10.14 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.006155, allocations: 5.922 kB / 418.1 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.006159, allocations: 9.375 kB / 418.1 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001091/0.006268, allocations: 49.06 kB / 418.1 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.146e-05/0.00633, allocations: 26.48 kB / 418.2 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001046/0.007376, allocations: 4.419 MB / 422.6 MB, free: 5.641 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.338e-05/0.007419, allocations: 5.375 kB / 422.6 MB, free: 5.637 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.007425, allocations: 4.125 kB / 422.6 MB, free: 5.637 MB / 330.7 MB Warning: Assuming fixed start value for the following 1 variables: G.deltag:VARIABLE(unit = \"rad\" fixed = true ) \"generator angle wrt port\" type: Real 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 (14): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 6.357e-05/0.007489, allocations: 134.6 kB / 422.7 MB, free: 5.504 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.75e-05/0.007507, allocations: 9.453 kB / 422.7 MB, free: 5.5 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.386e-05/0.00752, allocations: 20.55 kB / 422.8 MB, free: 5.484 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.007522, allocations: 1.984 kB / 422.8 MB, free: 5.484 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.22e-07/0.007523, allocations: 96 / 422.8 MB, free: 5.484 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.007527, allocations: 4.688 kB / 422.8 MB, free: 5.48 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002918/0.007819, allocations: 413.5 kB / 423.2 MB, free: 5.129 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.007821, allocations: 5.062 kB / 423.2 MB, free: 5.125 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.817e-05/0.007889, allocations: 22.34 kB / 423.2 MB, free: 5.121 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.427e-05/0.007974, allocations: 45.34 kB / 423.2 MB, free: 5.102 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.007983, allocations: 3.531 kB / 423.2 MB, free: 5.102 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006748/0.008658, allocations: 1.498 MB / 424.7 MB, free: 3.645 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.00866, allocations: 0.8125 kB / 424.7 MB, free: 3.645 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002777/0.008938, allocations: 286.4 kB / 425 MB, free: 3.43 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.45e-05/0.008962, allocations: 21.45 kB / 425 MB, free: 3.414 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.008979, allocations: 3.297 kB / 425 MB, free: 3.414 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.361e-05/0.009073, allocations: 1.438 kB / 425.1 MB, free: 3.414 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.748e-05/0.009101, allocations: 13.19 kB / 425.1 MB, free: 3.41 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.009107, allocations: 3.781 kB / 425.1 MB, free: 3.41 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.073e-05/0.009178, allocations: 118.7 kB / 425.2 MB, free: 3.324 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.009178, allocations: 0 / 425.2 MB, free: 3.324 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004339/0.009612, allocations: 29.66 kB / 425.2 MB, free: 3.32 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (G.thetap,G.deltag,G.wg,Gact.y) * 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 (9): * Single equations (assignments): 8 * 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.0003934/0.01001, allocations: 0.8249 MB / 426 MB, free: 2.57 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003304/0.01034, allocations: 309.5 kB / 426.3 MB, free: 2.312 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.01034, allocations: 0.875 kB / 426.3 MB, free: 2.312 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001335/0.01047, allocations: 160.4 kB / 426.5 MB, free: 2.18 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000314/0.01079, allocations: 20.75 kB / 426.5 MB, free: 2.168 MB / 330.7 MB Warning: The linear system: 1 : G.Pm = G.Pcmd 2 : G.Pm = G.Pcmd [ -1.0 , 1.0 ; -1.0 , 1.0 ] * [ G.Pcmd ; G.Pm ] = [ 0.0 ; 0.0 ] might be structurally or numerically singular for variable G.Pm since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001738/0.01252, allocations: 2.07 MB / 428.6 MB, free: 0.5234 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.246e-05/0.0126, allocations: 103.1 kB / 428.7 MB, free: 460 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.174e-05/0.01264, allocations: 9.016 kB / 428.7 MB, free: 460 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.04e-05/0.0127, allocations: 41.72 kB / 428.7 MB, free: 428 kB / 330.7 MB Notification: Performance of SimCode: time 5.31e-07/0.0127, allocations: 1.031 kB / 428.7 MB, free: 428 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01912/0.03182, allocations: 3.994 MB / 432.7 MB, free: 15.32 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.199/8.231, allocations: 10.23 kB / 432.7 MB, free: 15.32 MB / 346.7 MB " [Timeout remaining time 652] (rm -f AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P.pipe ; mkfifo AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P.pipe ; head -c 1048576 < AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P.pipe >> ../files/AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P.sim & python3 -m fmpy simulate --output-file AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_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_1stOrder_prescribed_P.fmu > AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.247781825251877] Failed to read output from testmodel.py, exit status != 0: 8.476237241178751 8.337000846 8.3317691 Calling exit ...