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.001375/0.001375, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.001451/0.001451, allocations: 209.5 kB / 20.13 MB, free: 3.035 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.489/1.489, 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.1621/0.1621, allocations: 22.93 MB / 332.5 MB, free: 2.633 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="cs",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="cs",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.001976/0.001976, allocations: 64.42 kB / 464.6 MB, free: 33.51 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1038, allocations: 59.27 MB / 0.5116 GB, free: 160 kB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P): time 0.002931/0.1067, allocations: 1.626 MB / 0.5132 GB, free: 14.51 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008635/0.1076, allocations: 490.9 kB / 0.5137 GB, free: 14.03 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.365e-05/0.1076, allocations: 4 kB / 0.5137 GB, free: 14.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.024e-05/0.1077, allocations: 11.86 kB / 0.5137 GB, free: 14.01 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001837/0.1079, allocations: 31.72 kB / 0.5137 GB, free: 13.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.818e-05/0.1079, allocations: 19.97 kB / 0.5137 GB, free: 13.96 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001498/0.1081, allocations: 103.6 kB / 0.5138 GB, free: 13.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.1082, allocations: 15.94 kB / 0.5138 GB, free: 13.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001715/0.1084, allocations: 55.77 kB / 0.5139 GB, free: 13.79 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.9e-05/0.1085, allocations: 43.83 kB / 0.5139 GB, free: 13.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.014e-05/0.1085, allocations: 11.94 kB / 0.5139 GB, free: 13.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.756e-05/0.1085, allocations: 12 kB / 0.514 GB, free: 13.72 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.23e-05/0.1085, allocations: 15.98 kB / 0.514 GB, free: 13.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.175e-05/0.1086, allocations: 51.66 kB / 0.514 GB, free: 13.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001397/0.1087, allocations: 91.56 kB / 0.5141 GB, free: 13.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1087, allocations: 0 / 0.5141 GB, free: 13.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1087, allocations: 0 / 0.5141 GB, free: 13.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.1087, allocations: 0 / 0.5141 GB, free: 13.57 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.0006225/0.1094, allocations: 411 kB / 0.5145 GB, free: 13.12 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.1094, allocations: 12.62 kB / 0.5145 GB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.798e-05/0.1094, allocations: 192 / 0.5145 GB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.011e-05/0.1095, allocations: 46.69 kB / 0.5146 GB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.24e-05/0.1095, allocations: 8.891 kB / 0.5146 GB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001877/0.1097, allocations: 192.2 kB / 0.5147 GB, free: 12.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.1097, allocations: 8.375 kB / 0.5148 GB, free: 12.81 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.75e-05/0.1097, allocations: 15.89 kB / 0.5148 GB, free: 12.79 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.1099, allocations: 83.55 kB / 0.5148 GB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.1099, allocations: 4 kB / 0.5149 GB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.1099, allocations: 4 kB / 0.5149 GB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.1099, allocations: 0 / 0.5149 GB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.691e-05/0.11, allocations: 43.98 kB / 0.5149 GB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000606/0.1106, allocations: 376.5 kB / 0.5153 GB, free: 12.24 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002248/0.1109, allocations: 98.58 kB / 0.5154 GB, free: 12.13 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.989e-05/0.1109, allocations: 41.06 kB / 0.5154 GB, free: 12.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/0.111, allocations: 7.938 kB / 0.5154 GB, free: 12.08 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.111, allocations: 34.5 kB / 0.5154 GB, free: 12.04 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.262e-06/0.111, allocations: 0 / 0.5154 GB, free: 12.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009184/0.1119, allocations: 467.7 kB / 0.5159 GB, free: 11.53 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.112, allocations: 55.41 kB / 0.5159 GB, free: 11.46 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.1121, allocations: 145.8 kB / 0.5161 GB, free: 11.31 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.1121, allocations: 29.7 kB / 0.5161 GB, free: 11.28 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.317e-05/0.1122, allocations: 96.09 kB / 0.5162 GB, free: 11.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.648e-05/0.1122, allocations: 55.48 kB / 0.5162 GB, free: 11.12 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.872e-05/0.1123, allocations: 41.64 kB / 0.5163 GB, free: 11.08 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.1124, allocations: 318.8 kB / 0.5166 GB, free: 10.76 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.579e-05/0.1125, allocations: 43.92 kB / 0.5166 GB, free: 10.71 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.736e-05/0.1126, allocations: 50.56 kB / 0.5167 GB, free: 10.66 MB / 382.1 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.0005357/0.1131, allocations: 271.6 kB / 0.5169 GB, free: 10.36 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1131, allocations: 0 / 0.5169 GB, free: 10.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002825/0.1134, allocations: 168.3 kB / 0.5171 GB, free: 10.19 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.1134, allocations: 4 kB / 0.5171 GB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1134, allocations: 3.938 kB / 0.5171 GB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001653/0.1136, allocations: 40.89 kB / 0.5171 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.1137, allocations: 27.98 kB / 0.5172 GB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001616/0.1153, allocations: 1.613 MB / 0.5187 GB, free: 8.359 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.354e-05/0.1154, allocations: 4 kB / 0.5187 GB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.1154, allocations: 11.97 kB / 0.5188 GB, free: 8.344 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 (16): * Single equations (assignments): 15 * 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.0001391/0.1155, allocations: 130.9 kB / 0.5189 GB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.753e-05/0.1156, allocations: 11.91 kB / 0.5189 GB, free: 8.195 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.014e-05/0.1156, allocations: 20.83 kB / 0.5189 GB, free: 8.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1156, allocations: 0 / 0.5189 GB, free: 8.18 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-06/0.1156, allocations: 0 / 0.5189 GB, free: 8.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.1156, allocations: 4.094 kB / 0.5189 GB, free: 8.176 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006216/0.1162, allocations: 472.6 kB / 0.5194 GB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1162, allocations: 0 / 0.5194 GB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001176/0.1163, allocations: 27.98 kB / 0.5194 GB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001358/0.1165, allocations: 32.83 kB / 0.5194 GB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.1165, allocations: 4 kB / 0.5194 GB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001344/0.1178, allocations: 1.63 MB / 0.521 GB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.1178, allocations: 0 / 0.521 GB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003963/0.1182, allocations: 288.7 kB / 0.5213 GB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.51e-05/0.1183, allocations: 89.05 kB / 0.5214 GB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/0.1183, allocations: 16.06 kB / 0.5214 GB, free: 5.383 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.634e-05/0.1184, allocations: 0 / 0.5214 GB, free: 5.383 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.742e-05/0.1185, allocations: 15.92 kB / 0.5214 GB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.453e-06/0.1185, allocations: 4 kB / 0.5214 GB, free: 5.363 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001078/0.1186, allocations: 121.4 kB / 0.5215 GB, free: 5.246 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1186, allocations: 0 / 0.5215 GB, free: 5.246 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003664/0.1189, allocations: 28 kB / 0.5216 GB, free: 5.219 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 (11): * Single equations (assignments): 10 * 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.0008165/0.1198, allocations: 0.8163 MB / 0.5224 GB, free: 4.367 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004408/0.1202, allocations: 206.7 kB / 0.5226 GB, free: 4.152 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1202, allocations: 4 kB / 0.5226 GB, free: 4.148 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000213/0.1204, allocations: 162.5 kB / 0.5227 GB, free: 3.977 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002642/0.1207, allocations: 13.2 kB / 0.5227 GB, free: 3.965 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002864/0.1235, allocations: 2.016 MB / 0.5247 GB, free: 1.836 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004023/0.1239, allocations: 0.7085 MB / 0.5254 GB, free: 1.102 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.121e-05/0.124, allocations: 9.078 kB / 0.5254 GB, free: 1.094 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.668e-05/0.1241, allocations: 35.42 kB / 0.5254 GB, free: 1.059 MB / 382.1 MB Notification: Performance of SimCode: time 6.52e-07/0.1241, allocations: 0 / 0.5254 GB, free: 1.059 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02606/0.1501, allocations: 3.162 MB / 0.5285 GB, free: 14.07 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/12.48, allocations: 6.125 kB / 0.5285 GB, free: 14.07 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_ProcessComponents_Electric_Generators_PAport_Generator_order0_fixed_P_fmu --startTime=0 --stopTime=1 --stepSize=0.002 --timeout=50 --tolerance=1e-06 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.270404564973433] Failed to read output from testmodel.py, exit status != 0: 12.63417799200397 12.648600016 12.537018225 Calling exit ...