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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 99.56 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 192.4 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 225.6 MB / 250 MB, free: 13.4 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1007/0.1007, allocations: 22.7 MB / 327.7 MB, free: 2.855 MB / 254.1 MB [Timeout remaining time 90] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 67.89 kB / 458.8 MB, free: 2.012 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.117, allocations: 58.02 MB / 0.5047 GB, free: 7.879 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P): time 0.002715/0.1197, allocations: 1.488 MB / 0.5061 GB, free: 6.379 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007264/0.1205, allocations: 427.1 kB / 0.5065 GB, free: 5.961 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.904e-05/0.1205, allocations: 0 / 0.5065 GB, free: 5.961 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.115e-05/0.1205, allocations: 3.938 kB / 0.5065 GB, free: 5.957 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001756/0.1207, allocations: 19.84 kB / 0.5066 GB, free: 5.938 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.102e-05/0.1208, allocations: 11.97 kB / 0.5066 GB, free: 5.926 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.1209, allocations: 71.7 kB / 0.5066 GB, free: 5.855 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.787e-05/0.121, allocations: 7.984 kB / 0.5066 GB, free: 5.848 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.1211, allocations: 35.8 kB / 0.5067 GB, free: 5.812 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.188e-05/0.1212, allocations: 31.84 kB / 0.5067 GB, free: 5.781 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.1212, allocations: 4 kB / 0.5067 GB, free: 5.777 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.633e-05/0.1212, allocations: 8 kB / 0.5067 GB, free: 5.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.631e-05/0.1212, allocations: 15.91 kB / 0.5067 GB, free: 5.754 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.401e-05/0.1213, allocations: 31.86 kB / 0.5068 GB, free: 5.723 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001024/0.1214, allocations: 43.69 kB / 0.5068 GB, free: 5.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.498e-05/0.1214, allocations: 8 kB / 0.5068 GB, free: 5.672 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1214, allocations: 0 / 0.5068 GB, free: 5.672 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.948e-06/0.1214, allocations: 0 / 0.5068 GB, free: 5.672 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.0005859/0.122, allocations: 379.2 kB / 0.5072 GB, free: 5.254 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.122, allocations: 15.97 kB / 0.5072 GB, free: 5.238 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.11e-05/0.1221, allocations: 8.891 kB / 0.5072 GB, free: 5.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001844/0.1222, allocations: 180.2 kB / 0.5074 GB, free: 5.016 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.1223, allocations: 8.375 kB / 0.5074 GB, free: 5.008 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.095e-05/0.1223, allocations: 4.375 kB / 0.5074 GB, free: 5.004 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.1224, allocations: 69.55 kB / 0.5075 GB, free: 4.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.1224, allocations: 0 / 0.5075 GB, free: 4.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.1224, allocations: 0 / 0.5075 GB, free: 4.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.1224, allocations: 4 kB / 0.5075 GB, free: 4.926 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.963e-05/0.1225, allocations: 31.98 kB / 0.5075 GB, free: 4.895 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005188/0.123, allocations: 312.6 kB / 0.5078 GB, free: 4.539 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002756/0.1233, allocations: 74.64 kB / 0.5079 GB, free: 4.457 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.373e-05/0.1234, allocations: 36.97 kB / 0.5079 GB, free: 4.418 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.12e-05/0.1234, allocations: 0 / 0.5079 GB, free: 4.418 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.1234, allocations: 38.56 kB / 0.5079 GB, free: 4.371 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.163e-06/0.1234, allocations: 0 / 0.5079 GB, free: 4.371 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007487/0.1242, allocations: 383 kB / 0.5083 GB, free: 3.941 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/0.1242, allocations: 51.41 kB / 0.5083 GB, free: 3.879 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.1243, allocations: 126.1 kB / 0.5085 GB, free: 3.742 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.1244, allocations: 33.69 kB / 0.5085 GB, free: 3.703 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.414e-05/0.1244, allocations: 100.7 kB / 0.5086 GB, free: 3.602 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.556e-05/0.1245, allocations: 39.67 kB / 0.5086 GB, free: 3.562 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.327e-05/0.1245, allocations: 29.66 kB / 0.5087 GB, free: 3.527 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.1247, allocations: 322.8 kB / 0.509 GB, free: 3.203 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.606e-05/0.1247, allocations: 23.98 kB / 0.509 GB, free: 3.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.385e-05/0.1248, allocations: 42.56 kB / 0.509 GB, free: 3.129 MB / 382.1 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.000453/0.1252, allocations: 231.2 kB / 0.5092 GB, free: 2.879 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1252, allocations: 3.938 kB / 0.5093 GB, free: 2.875 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002382/0.1255, allocations: 134.3 kB / 0.5094 GB, free: 2.734 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.1255, allocations: 6.969 kB / 0.5094 GB, free: 2.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.1255, allocations: 0 / 0.5094 GB, free: 2.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001508/0.1256, allocations: 32.83 kB / 0.5094 GB, free: 2.695 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.629e-05/0.1257, allocations: 35.98 kB / 0.5095 GB, free: 2.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001508/0.1272, allocations: 1.572 MB / 0.511 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.117e-05/0.1273, allocations: 4.031 kB / 0.511 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.305e-06/0.1273, allocations: 4 kB / 0.511 GB, free: 0.9375 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.0001182/0.1274, allocations: 118.6 kB / 0.5111 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.173e-05/0.1275, allocations: 7.953 kB / 0.5111 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.072e-05/0.1275, allocations: 20.36 kB / 0.5111 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.1275, allocations: 0 / 0.5111 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-06/0.1275, allocations: 0 / 0.5111 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.1275, allocations: 0 / 0.5111 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004968/0.128, allocations: 388 kB / 0.5115 GB, free: 356 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.128, allocations: 0 / 0.5115 GB, free: 356 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.974e-05/0.1281, allocations: 12 kB / 0.5115 GB, free: 344 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001242/0.1282, allocations: 40.84 kB / 0.5116 GB, free: 300 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.906e-06/0.1282, allocations: 0 / 0.5116 GB, free: 300 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2077/0.3359, allocations: 1.579 MB / 0.5131 GB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.3359, allocations: 0.5625 kB / 0.5131 GB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002788/0.3362, allocations: 240.3 kB / 0.5133 GB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.899e-05/0.3362, allocations: 88.41 kB / 0.5134 GB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.3362, allocations: 4.328 kB / 0.5134 GB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.619e-05/0.3363, allocations: 4.531 kB / 0.5134 GB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.425e-05/0.3364, allocations: 8.938 kB / 0.5134 GB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.3364, allocations: 2.094 kB / 0.5134 GB, free: 13.31 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.422e-05/0.3364, allocations: 105 kB / 0.5135 GB, free: 13.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3364, allocations: 0 / 0.5135 GB, free: 13.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003769/0.3368, allocations: 23.97 kB / 0.5136 GB, free: 13.23 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 9.283e-05/0.3369, allocations: 102 kB / 0.5137 GB, free: 13.14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003264/0.3372, allocations: 183.7 kB / 0.5138 GB, free: 13.04 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.3372, allocations: 0.5 kB / 0.5138 GB, free: 13.04 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001332/0.3374, allocations: 151 kB / 0.514 GB, free: 12.92 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002275/0.3376, allocations: 7.922 kB / 0.514 GB, free: 12.92 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007785/0.3384, allocations: 458.7 kB / 0.5144 GB, free: 12.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001078/0.3385, allocations: 0.7032 MB / 0.5151 GB, free: 11.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.841e-05/0.3385, allocations: 12.19 kB / 0.5151 GB, free: 11.98 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3385, allocations: 0 / 0.5151 GB, free: 11.98 MB / 382.1 MB Notification: Performance of Templates: time 0.003111/0.3416, allocations: 1.373 MB / 0.5165 GB, free: 11.91 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]