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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.535/1.535, allocations: 225.6 MB / 249.4 MB, free: 3.164 MB / 190.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.0987/0.0987, allocations: 22.69 MB / 327.2 MB, free: 7.238 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.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_1stOrder_prescribed_P,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P") translateModel(AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 63.94 kB / 458.3 MB, free: 42.34 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1268, allocations: 58.04 MB / 0.5043 GB, free: 8.98 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P): time 0.002462/0.1292, allocations: 1.687 MB / 0.5059 GB, free: 7.277 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007802/0.13, allocations: 467 kB / 0.5064 GB, free: 6.82 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.975e-05/0.1301, allocations: 4 kB / 0.5064 GB, free: 6.816 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 6.316e-05/0.1302, allocations: 11.86 kB / 0.5064 GB, free: 6.805 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002235/0.1304, allocations: 35.72 kB / 0.5064 GB, free: 6.77 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.178e-05/0.1305, allocations: 23.95 kB / 0.5064 GB, free: 6.746 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001917/0.1307, allocations: 119.6 kB / 0.5066 GB, free: 6.629 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/0.1308, allocations: 25.42 kB / 0.5066 GB, free: 6.602 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.1309, allocations: 55.72 kB / 0.5066 GB, free: 6.547 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.131, allocations: 51.7 kB / 0.5067 GB, free: 6.496 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.39e-05/0.1311, allocations: 8 kB / 0.5067 GB, free: 6.488 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.938e-05/0.1311, allocations: 16 kB / 0.5067 GB, free: 6.473 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.819e-05/0.1311, allocations: 23.91 kB / 0.5067 GB, free: 6.449 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.016e-05/0.1312, allocations: 47.73 kB / 0.5068 GB, free: 6.402 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001663/0.1313, allocations: 107.5 kB / 0.5069 GB, free: 6.297 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.1313, allocations: 0 / 0.5069 GB, free: 6.297 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1313, allocations: 0 / 0.5069 GB, free: 6.297 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.1313, allocations: 0 / 0.5069 GB, free: 6.297 MB / 366.1 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.0006145/0.132, allocations: 438.8 kB / 0.5073 GB, free: 5.82 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.132, allocations: 8.75 kB / 0.5073 GB, free: 5.812 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.72e-05/0.132, allocations: 16.84 kB / 0.5073 GB, free: 5.797 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002804/0.1323, allocations: 208.8 kB / 0.5075 GB, free: 5.555 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.1323, allocations: 4.125 kB / 0.5075 GB, free: 5.551 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.017e-05/0.1324, allocations: 15.95 kB / 0.5075 GB, free: 5.535 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.1325, allocations: 81.59 kB / 0.5076 GB, free: 5.449 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.1325, allocations: 0 / 0.5076 GB, free: 5.449 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.1325, allocations: 4 kB / 0.5076 GB, free: 5.445 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.1326, allocations: 4 kB / 0.5076 GB, free: 5.441 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.696e-05/0.1326, allocations: 43.98 kB / 0.5077 GB, free: 5.398 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005702/0.1332, allocations: 380.5 kB / 0.508 GB, free: 4.977 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002786/0.1335, allocations: 175.6 kB / 0.5082 GB, free: 4.777 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.51e-05/0.1335, allocations: 40.84 kB / 0.5082 GB, free: 4.734 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.291e-05/0.1336, allocations: 8 kB / 0.5082 GB, free: 4.727 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.753e-05/0.1336, allocations: 30.78 kB / 0.5083 GB, free: 4.688 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.1336, allocations: 3.938 kB / 0.5083 GB, free: 4.684 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007592/0.1343, allocations: 447.5 kB / 0.5087 GB, free: 4.191 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.665e-05/0.1344, allocations: 55.41 kB / 0.5088 GB, free: 4.125 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.1345, allocations: 158.5 kB / 0.5089 GB, free: 3.957 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.779e-06/0.1345, allocations: 25.7 kB / 0.5089 GB, free: 3.926 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.067e-05/0.1345, allocations: 116.2 kB / 0.509 GB, free: 3.805 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.628e-05/0.1346, allocations: 43.62 kB / 0.5091 GB, free: 3.762 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.531e-05/0.1346, allocations: 37.7 kB / 0.5091 GB, free: 3.719 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.242e-05/0.1347, allocations: 318.8 kB / 0.5094 GB, free: 3.398 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.798e-05/0.1347, allocations: 31.98 kB / 0.5095 GB, free: 3.367 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.414e-05/0.1348, allocations: 62.5 kB / 0.5095 GB, free: 3.297 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003821/0.1352, allocations: 176.8 kB / 0.5097 GB, free: 3.117 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1352, allocations: 3.938 kB / 0.5097 GB, free: 3.113 MB / 366.1 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.0003932/0.1356, allocations: 351.2 kB / 0.51 GB, free: 2.723 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.1356, allocations: 9.875 kB / 0.51 GB, free: 2.715 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1356, allocations: 4.062 kB / 0.51 GB, free: 2.711 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001517/0.1357, allocations: 53.62 kB / 0.5101 GB, free: 2.652 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.996e-05/0.1358, allocations: 23.92 kB / 0.5101 GB, free: 2.629 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002338/0.1382, allocations: 4.648 MB / 0.5146 GB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.699e-05/0.1383, allocations: 8.031 kB / 0.5147 GB, free: 13.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.1383, allocations: 7.938 kB / 0.5147 GB, free: 13.62 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 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 0.0001508/0.1384, allocations: 126.6 kB / 0.5148 GB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.478e-05/0.1385, allocations: 7.953 kB / 0.5148 GB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.09e-05/0.1385, allocations: 20.7 kB / 0.5148 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.1385, allocations: 0 / 0.5148 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1385, allocations: 4 kB / 0.5148 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1385, allocations: 3.938 kB / 0.5148 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000622/0.1391, allocations: 460.8 kB / 0.5153 GB, free: 12.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.1391, allocations: 0 / 0.5153 GB, free: 12.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001119/0.1392, allocations: 23.92 kB / 0.5153 GB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000135/0.1394, allocations: 36.81 kB / 0.5153 GB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.96e-05/0.1394, allocations: 8.062 kB / 0.5153 GB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00134/0.1407, allocations: 1.619 MB / 0.5169 GB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1407, allocations: 0 / 0.5169 GB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000339/0.1411, allocations: 277.9 kB / 0.5172 GB, free: 10.81 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.987e-05/0.1411, allocations: 89.08 kB / 0.5173 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.1412, allocations: 12 kB / 0.5173 GB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.534e-05/0.1412, allocations: 0 / 0.5173 GB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.212e-05/0.1413, allocations: 19.97 kB / 0.5173 GB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.1413, allocations: 7.875 kB / 0.5173 GB, free: 10.67 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001133/0.1414, allocations: 121.5 kB / 0.5174 GB, free: 10.55 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1414, allocations: 0 / 0.5174 GB, free: 10.55 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003701/0.1418, allocations: 32 kB / 0.5174 GB, free: 10.52 MB / 382.1 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.0001106/0.1419, allocations: 107.2 kB / 0.5175 GB, free: 10.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004238/0.1423, allocations: 301.3 kB / 0.5178 GB, free: 10.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1423, allocations: 0 / 0.5178 GB, free: 10.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001842/0.1425, allocations: 170.6 kB / 0.518 GB, free: 9.906 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002896/0.1428, allocations: 9.203 kB / 0.518 GB, free: 9.898 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009605/0.1437, allocations: 0.5068 MB / 0.5185 GB, free: 9.359 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000343/0.1441, allocations: 0.7085 MB / 0.5192 GB, free: 8.625 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.364e-05/0.1441, allocations: 24.58 kB / 0.5192 GB, free: 8.598 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.375e-05/0.1442, allocations: 11.44 kB / 0.5192 GB, free: 8.586 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1442, allocations: 0 / 0.5192 GB, free: 8.586 MB / 382.1 MB Notification: Performance of Templates: time 0.0052/0.1494, allocations: 1.694 MB / 0.5209 GB, free: 6.891 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P.makefile [Timeout 660] (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 & ./AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.805885422043502]