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.00146/0.00146, allocations: 84.23 kB / 20.23 MB, free: 4.207 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.001576/0.001576, allocations: 157.7 kB / 23.53 MB, free: 0.9062 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 1.498/1.498, allocations: 177.1 MB / 203.9 MB, free: 5.574 MB / 186.7 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.1096/0.1096, allocations: 18.14 MB / 278.5 MB, free: 11.3 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: 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 1.573e-06/1.573e-06, allocations: 0 / 354.1 MB, free: 10.58 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.21e-05/3.367e-05, allocations: 2.312 kB / 354.1 MB, free: 10.58 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P): time 0.003555/0.003588, allocations: 1.65 MB / 355.8 MB, free: 8.91 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001131/0.004719, allocations: 474.8 kB / 356.2 MB, free: 8.445 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.004827, allocations: 4 kB / 356.2 MB, free: 8.441 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.419e-05/0.004881, allocations: 11.86 kB / 356.2 MB, free: 8.43 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002271/0.005108, allocations: 43.7 kB / 356.3 MB, free: 8.387 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.786e-05/0.005206, allocations: 23.95 kB / 356.3 MB, free: 8.363 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002265/0.005432, allocations: 127.4 kB / 356.4 MB, free: 8.238 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.005563, allocations: 17.64 kB / 356.4 MB, free: 8.219 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001916/0.005755, allocations: 51.83 kB / 356.5 MB, free: 8.168 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.005863, allocations: 43.81 kB / 356.5 MB, free: 8.125 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.873e-05/0.005891, allocations: 8 kB / 356.5 MB, free: 8.117 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.928e-05/0.005911, allocations: 12 kB / 356.6 MB, free: 8.105 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.592e-05/0.005937, allocations: 15.92 kB / 356.6 MB, free: 8.09 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.613e-05/0.006003, allocations: 47.83 kB / 356.6 MB, free: 8.043 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001829/0.006186, allocations: 103.5 kB / 356.7 MB, free: 7.941 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.006188, allocations: 0 / 356.7 MB, free: 7.941 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.006189, allocations: 0 / 356.7 MB, free: 7.941 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.006193, allocations: 0 / 356.7 MB, free: 7.941 MB / 282.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.000716/0.006909, allocations: 349.8 kB / 357.1 MB, free: 7.57 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.006947, allocations: 8.031 kB / 357.1 MB, free: 7.562 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.833e-05/0.007015, allocations: 24.84 kB / 357.1 MB, free: 7.539 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002847/0.0073, allocations: 152.8 kB / 357.2 MB, free: 7.367 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.007318, allocations: 12.31 kB / 357.3 MB, free: 7.355 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.309e-05/0.007351, allocations: 8.328 kB / 357.3 MB, free: 7.348 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/0.00754, allocations: 84.92 kB / 357.3 MB, free: 7.262 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.007548, allocations: 4 kB / 357.4 MB, free: 7.258 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.00756, allocations: 0 / 357.4 MB, free: 7.258 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.007564, allocations: 0 / 357.4 MB, free: 7.258 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.007665, allocations: 43.97 kB / 357.4 MB, free: 7.215 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006664/0.008332, allocations: 320.2 kB / 357.7 MB, free: 6.871 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003159/0.008647, allocations: 86.55 kB / 357.8 MB, free: 6.777 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.518e-05/0.008743, allocations: 52.77 kB / 357.8 MB, free: 6.723 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.008759, allocations: 4 kB / 357.8 MB, free: 6.719 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.008788, allocations: 30.56 kB / 357.9 MB, free: 6.68 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 3.436e-06/0.008792, allocations: 4.203 kB / 357.9 MB, free: 6.676 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0008788/0.00967, allocations: 370.4 kB / 358.2 MB, free: 6.277 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/0.009718, allocations: 55.41 kB / 358.3 MB, free: 6.211 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001905/0.009909, allocations: 164.5 kB / 358.5 MB, free: 6.039 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.795e-05/0.009937, allocations: 29.7 kB / 358.5 MB, free: 6.004 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.609e-05/0.01003, allocations: 112.2 kB / 358.6 MB, free: 5.887 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.88e-05/0.01008, allocations: 39.64 kB / 358.6 MB, free: 5.848 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.311e-05/0.01014, allocations: 37.66 kB / 358.7 MB, free: 5.805 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000195/0.01034, allocations: 322.8 kB / 359 MB, free: 5.48 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.593e-05/0.01041, allocations: 31.98 kB / 359 MB, free: 5.449 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.085e-05/0.0105, allocations: 54.62 kB / 359.1 MB, free: 5.387 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005127/0.01101, allocations: 182.2 kB / 359.3 MB, free: 5.203 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.01101, allocations: 0 / 359.3 MB, free: 5.203 MB / 282.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.0005046/0.01151, allocations: 204 kB / 359.5 MB, free: 4.988 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.01153, allocations: 8 kB / 359.5 MB, free: 4.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.01154, allocations: 0 / 359.5 MB, free: 4.98 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003777/0.01192, allocations: 61.61 kB / 359.5 MB, free: 4.914 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.01203, allocations: 28.05 kB / 359.5 MB, free: 4.887 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003941/0.01597, allocations: 4.384 MB / 363.9 MB, free: 244 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.325e-05/0.01605, allocations: 224 / 363.9 MB, free: 244 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.01607, allocations: 8.031 kB / 363.9 MB, free: 236 kB / 282.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 0.0001471/0.01621, allocations: 129.8 kB / 364.1 MB, free: 96 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.227e-05/0.01627, allocations: 19.89 kB / 364.1 MB, free: 76 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.038e-05/0.0163, allocations: 12.78 kB / 364.1 MB, free: 64 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.0163, allocations: 7.984 kB / 364.1 MB, free: 56 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.0163, allocations: 0 / 364.1 MB, free: 56 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.01631, allocations: 0 / 364.1 MB, free: 56 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006351/0.01694, allocations: 388.5 kB / 364.5 MB, free: 15.63 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.01694, allocations: 4 kB / 364.5 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/0.01706, allocations: 19.98 kB / 364.5 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003232/0.01738, allocations: 48.81 kB / 364.6 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.0174, allocations: 0 / 364.6 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001533/0.01893, allocations: 1.496 MB / 366.1 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.01893, allocations: 0 / 366.1 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004356/0.01937, allocations: 285.8 kB / 366.3 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.636e-05/0.01939, allocations: 7.953 kB / 366.3 MB, free: 13.65 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.5e-05/0.01942, allocations: 8 kB / 366.3 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.01953, allocations: 3.938 kB / 366.3 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.101e-05/0.01956, allocations: 16.11 kB / 366.4 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.837e-05/0.01958, allocations: 12 kB / 366.4 MB, free: 13.61 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001272/0.01971, allocations: 125.8 kB / 366.5 MB, free: 13.49 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01971, allocations: 0 / 366.5 MB, free: 13.49 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004296/0.02013, allocations: 28 kB / 366.5 MB, free: 13.46 MB / 298.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.0001299/0.02026, allocations: 99.19 kB / 366.6 MB, free: 13.35 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004901/0.02075, allocations: 316.8 kB / 366.9 MB, free: 13.02 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.02076, allocations: 4.125 kB / 366.9 MB, free: 13.02 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002135/0.02097, allocations: 154.6 kB / 367.1 MB, free: 12.85 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.0213, allocations: 19.98 kB / 367.1 MB, free: 12.83 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009517/0.02225, allocations: 430.7 kB / 367.5 MB, free: 12.38 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001201/0.02237, allocations: 97.8 kB / 367.6 MB, free: 12.26 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.521e-05/0.02241, allocations: 8.641 kB / 367.6 MB, free: 12.25 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.572e-05/0.02246, allocations: 16.5 kB / 367.6 MB, free: 12.24 MB / 298.7 MB Notification: Performance of SimCode: time 4.41e-07/0.02246, allocations: 4 kB / 367.7 MB, free: 12.23 MB / 298.7 MB Notification: Performance of Templates: time 0.005694/0.02815, allocations: 1.628 MB / 369.3 MB, free: 10.62 MB / 298.7 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.569942918955348]