Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_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.001287/0.001287, allocations: 109.5 kB / 17.14 MB, free: 5.93 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.001371/0.001371, allocations: 204 kB / 20.11 MB, free: 2.977 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.479/1.479, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.1071/0.1071, allocations: 24.04 MB / 333.6 MB, free: 1.574 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: translateModel(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P") translateModel(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P") [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.002196/0.002196, allocations: 68.62 kB / 466.8 MB, free: 32.55 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1086, allocations: 59.54 MB / 0.514 GB, free: 13.94 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P): time 0.0032/0.1118, allocations: 1.5 MB / 0.5154 GB, free: 12.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001013/0.1128, allocations: 459 kB / 0.5159 GB, free: 11.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.29e-05/0.1129, allocations: 0 / 0.5159 GB, free: 11.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.825e-05/0.1129, allocations: 7.938 kB / 0.5159 GB, free: 11.97 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002077/0.1131, allocations: 27.83 kB / 0.5159 GB, free: 11.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.703e-05/0.1132, allocations: 7.922 kB / 0.5159 GB, free: 11.94 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001338/0.1133, allocations: 75.69 kB / 0.516 GB, free: 11.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.29e-05/0.1134, allocations: 7.938 kB / 0.516 GB, free: 11.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002278/0.1137, allocations: 35.86 kB / 0.516 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.1138, allocations: 39.83 kB / 0.5161 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.1138, allocations: 4 kB / 0.5161 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.328e-05/0.1138, allocations: 4 kB / 0.5161 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.058e-05/0.1138, allocations: 15.92 kB / 0.5161 GB, free: 11.76 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.246e-05/0.1139, allocations: 31.8 kB / 0.5161 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001135/0.114, allocations: 43.75 kB / 0.5162 GB, free: 11.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.114, allocations: 3.938 kB / 0.5162 GB, free: 11.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.114, allocations: 0 / 0.5162 GB, free: 11.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.114, allocations: 0 / 0.5162 GB, free: 11.68 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006276/0.1146, allocations: 379.2 kB / 0.5165 GB, free: 11.26 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.1147, allocations: 12.62 kB / 0.5165 GB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.46e-05/0.1147, allocations: 8.891 kB / 0.5165 GB, free: 11.24 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001914/0.1149, allocations: 184.3 kB / 0.5167 GB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.1149, allocations: 4.375 kB / 0.5167 GB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.861e-05/0.1149, allocations: 12.12 kB / 0.5167 GB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.1151, allocations: 57.67 kB / 0.5168 GB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.1151, allocations: 0 / 0.5168 GB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.1151, allocations: 0 / 0.5168 GB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.1151, allocations: 0 / 0.5168 GB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.097e-05/0.1152, allocations: 39.84 kB / 0.5168 GB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005899/0.1158, allocations: 316.6 kB / 0.5171 GB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002901/0.116, allocations: 86.48 kB / 0.5172 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.826e-05/0.1161, allocations: 32.94 kB / 0.5172 GB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.1161, allocations: 0 / 0.5172 GB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.1162, allocations: 34.56 kB / 0.5173 GB, free: 10.38 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.122e-06/0.1162, allocations: 0 / 0.5173 GB, free: 10.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0008796/0.117, allocations: 391 kB / 0.5177 GB, free: 9.938 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/0.1171, allocations: 55.41 kB / 0.5177 GB, free: 9.871 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.1172, allocations: 134.1 kB / 0.5178 GB, free: 9.727 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.1172, allocations: 25.7 kB / 0.5179 GB, free: 9.695 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.593e-05/0.1173, allocations: 104 kB / 0.518 GB, free: 9.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.944e-05/0.1174, allocations: 43.66 kB / 0.518 GB, free: 9.547 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.646e-05/0.1174, allocations: 29.7 kB / 0.518 GB, free: 9.512 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.1176, allocations: 318.8 kB / 0.5183 GB, free: 9.191 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.506e-05/0.1176, allocations: 20 kB / 0.5184 GB, free: 9.172 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.925e-05/0.1177, allocations: 48.38 kB / 0.5184 GB, free: 9.117 MB / 382.1 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.0005417/0.1182, allocations: 218.7 kB / 0.5186 GB, free: 8.879 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.1182, allocations: 4 kB / 0.5186 GB, free: 8.875 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003055/0.1186, allocations: 138.3 kB / 0.5187 GB, free: 8.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.1186, allocations: 10.19 kB / 0.5188 GB, free: 8.723 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.1186, allocations: 0.75 kB / 0.5188 GB, free: 8.723 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001687/0.1188, allocations: 36.77 kB / 0.5188 GB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.617e-05/0.1188, allocations: 20 kB / 0.5188 GB, free: 8.664 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001663/0.1205, allocations: 1.572 MB / 0.5203 GB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.733e-05/0.1206, allocations: 4.094 kB / 0.5203 GB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.1206, allocations: 4 kB / 0.5203 GB, free: 6.941 MB / 382.1 MB Warning: Assuming fixed start value for the following 1 variables: 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: Pm = 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 (12): * Single equations (assignments): 11 * 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.0001595/0.1208, allocations: 126.5 kB / 0.5205 GB, free: 6.809 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.481e-05/0.1208, allocations: 7.953 kB / 0.5205 GB, free: 6.801 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.787e-05/0.1208, allocations: 20.38 kB / 0.5205 GB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1208, allocations: 4.109 kB / 0.5205 GB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.1208, allocations: 3.938 kB / 0.5205 GB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1208, allocations: 0 / 0.5205 GB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005358/0.1214, allocations: 380.1 kB / 0.5209 GB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1214, allocations: 0 / 0.5209 GB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.26e-05/0.1215, allocations: 23.92 kB / 0.5209 GB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000137/0.1216, allocations: 36.86 kB / 0.5209 GB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.1216, allocations: 7.938 kB / 0.5209 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001476/0.1231, allocations: 1.583 MB / 0.5225 GB, free: 4.543 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.1231, allocations: 3.938 kB / 0.5225 GB, free: 4.539 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003159/0.1234, allocations: 233.2 kB / 0.5227 GB, free: 4.289 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.644e-05/0.1235, allocations: 93.03 kB / 0.5228 GB, free: 4.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.1235, allocations: 0 / 0.5228 GB, free: 4.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.168e-05/0.1236, allocations: 4 kB / 0.5228 GB, free: 4.176 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.26e-05/0.1236, allocations: 16.11 kB / 0.5228 GB, free: 4.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.121e-06/0.1236, allocations: 0 / 0.5228 GB, free: 4.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.35e-05/0.1237, allocations: 103.3 kB / 0.5229 GB, free: 4.059 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1237, allocations: 192 / 0.5229 GB, free: 4.059 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003752/0.1241, allocations: 28 kB / 0.5229 GB, free: 4.031 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (thetap,deltag,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 (7): * Single equations (assignments): 6 * 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.0001167/0.1242, allocations: 103.2 kB / 0.523 GB, free: 3.922 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003632/0.1246, allocations: 181.2 kB / 0.5232 GB, free: 3.734 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.1246, allocations: 0 / 0.5232 GB, free: 3.734 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001981/0.1248, allocations: 150.6 kB / 0.5234 GB, free: 3.574 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002481/0.125, allocations: 16.06 kB / 0.5234 GB, free: 3.559 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009226/0.1259, allocations: 423.4 kB / 0.5238 GB, free: 3.113 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003805/0.1263, allocations: 0.6963 MB / 0.5245 GB, free: 2.391 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.904e-05/0.1264, allocations: 12.48 kB / 0.5245 GB, free: 2.379 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.452e-05/0.1264, allocations: 11.44 kB / 0.5245 GB, free: 2.367 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1264, allocations: 4 kB / 0.5245 GB, free: 2.363 MB / 382.1 MB Notification: Performance of Templates: time 0.004711/0.1311, allocations: 1.187 MB / 0.5256 GB, free: 1.176 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P.makefile [Timeout 660] (rm -f AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P.pipe ; mkfifo AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P.pipe ; head -c 1048576 < AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P.pipe >> ../files/AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P.sim & ./AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.5307501051574945] Failed to read output from testmodel.py, exit status != 0: 0.1389853898435831 0.15390953000000002 0.036810774000000004 Calling exit ...