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.0007259/0.0007259, allocations: 80.45 kB / 20.71 MB, free: 3.859 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.0007465/0.0007465, allocations: 165.2 kB / 23.98 MB, free: 0.582 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 0.8453/0.8453, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.0596/0.0596, allocations: 18.12 MB / 278.8 MB, free: 11.54 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.893e-06/1.893e-06, allocations: 2.938 kB / 413.9 MB, free: 13.71 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.419e-05/2.608e-05, allocations: 2.281 kB / 413.9 MB, free: 13.71 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P): time 0.001752/0.001778, allocations: 1.645 MB / 415.6 MB, free: 12.82 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.000568/0.002346, allocations: 465.6 kB / 416 MB, free: 12.52 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.882e-05/0.002415, allocations: 5.281 kB / 416 MB, free: 12.52 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 4.422e-05/0.002459, allocations: 10.78 kB / 416.1 MB, free: 12.51 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001637/0.002623, allocations: 38.81 kB / 416.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.545e-05/0.002688, allocations: 31.88 kB / 416.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001478/0.002836, allocations: 121.7 kB / 416.2 MB, free: 12.4 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.00295, allocations: 20.59 kB / 416.3 MB, free: 12.39 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001535/0.003103, allocations: 55.84 kB / 416.3 MB, free: 12.37 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.247e-05/0.003186, allocations: 41.84 kB / 416.4 MB, free: 12.35 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/0.003203, allocations: 8.844 kB / 416.4 MB, free: 12.35 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.312e-05/0.003216, allocations: 14.09 kB / 416.4 MB, free: 12.35 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.786e-05/0.003234, allocations: 23.81 kB / 416.4 MB, free: 12.33 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.55e-05/0.00327, allocations: 38.95 kB / 416.4 MB, free: 12.31 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001269/0.003397, allocations: 104.3 kB / 416.5 MB, free: 12.27 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.003399, allocations: 0 / 416.5 MB, free: 12.27 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.0034, allocations: 0 / 416.5 MB, free: 12.27 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.003404, allocations: 1.375 kB / 416.5 MB, free: 12.27 MB / 330.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.0004095/0.003814, allocations: 350.8 kB / 416.9 MB, free: 11.96 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.003845, allocations: 13.62 kB / 416.9 MB, free: 11.96 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.343e-05/0.003879, allocations: 14.34 kB / 416.9 MB, free: 11.95 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001648/0.004044, allocations: 149.2 kB / 417.1 MB, free: 11.8 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.004054, allocations: 3.125 kB / 417.1 MB, free: 11.8 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.202e-05/0.004076, allocations: 15.94 kB / 417.1 MB, free: 11.79 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.004187, allocations: 91.52 kB / 417.2 MB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.004196, allocations: 0 / 417.2 MB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.004208, allocations: 0 / 417.2 MB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.004213, allocations: 2.75 kB / 417.2 MB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.685e-05/0.00428, allocations: 41.66 kB / 417.2 MB, free: 11.72 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003748/0.004655, allocations: 315.4 kB / 417.5 MB, free: 11.46 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001999/0.004855, allocations: 97.27 kB / 417.6 MB, free: 11.41 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.65e-05/0.004902, allocations: 42.03 kB / 417.7 MB, free: 11.39 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.081e-05/0.004912, allocations: 1.156 kB / 417.7 MB, free: 11.39 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.147e-05/0.004924, allocations: 37.77 kB / 417.7 MB, free: 11.35 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 1.002e-06/0.004925, allocations: 0 / 417.7 MB, free: 11.35 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005275/0.005452, allocations: 363.2 kB / 418 MB, free: 11.09 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.075e-05/0.005473, allocations: 61.47 kB / 418.1 MB, free: 11.02 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.099e-05/0.005564, allocations: 160.2 kB / 418.3 MB, free: 10.9 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.474e-06/0.005572, allocations: 29.7 kB / 418.3 MB, free: 10.87 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.328e-05/0.005605, allocations: 105.7 kB / 418.4 MB, free: 10.77 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2e-05/0.005625, allocations: 48.3 kB / 418.4 MB, free: 10.73 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.541e-05/0.00566, allocations: 32.03 kB / 418.5 MB, free: 10.7 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.877e-05/0.005689, allocations: 324.9 kB / 418.8 MB, free: 10.38 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.848e-05/0.005727, allocations: 28.11 kB / 418.8 MB, free: 10.38 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.779e-05/0.005775, allocations: 57.06 kB / 418.9 MB, free: 10.34 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002712/0.006046, allocations: 176.4 kB / 419 MB, free: 10.25 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.006048, allocations: 0.875 kB / 419 MB, free: 10.25 MB / 330.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.0003538/0.006402, allocations: 202.8 kB / 419.2 MB, free: 10.14 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.006415, allocations: 5.5 kB / 419.2 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.006421, allocations: 0 / 419.2 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001645/0.006586, allocations: 57.73 kB / 419.3 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.986e-05/0.006686, allocations: 30.03 kB / 419.3 MB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001138/0.007824, allocations: 4.376 MB / 423.7 MB, free: 5.691 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.382e-05/0.007868, allocations: 4.875 kB / 423.7 MB, free: 5.691 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.007875, allocations: 19.84 kB / 423.7 MB, free: 5.676 MB / 330.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 7.65e-05/0.007952, allocations: 126.8 kB / 423.9 MB, free: 5.551 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.147e-05/0.007983, allocations: 20.72 kB / 423.9 MB, free: 5.535 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.065e-05/0.008004, allocations: 12.31 kB / 423.9 MB, free: 5.527 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.008007, allocations: 1.938 kB / 423.9 MB, free: 5.527 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.008009, allocations: 0 / 423.9 MB, free: 5.527 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.008014, allocations: 2.047 kB / 423.9 MB, free: 5.527 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004005/0.008414, allocations: 382.6 kB / 424.3 MB, free: 5.211 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.008417, allocations: 2.125 kB / 424.3 MB, free: 5.211 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.136e-05/0.008498, allocations: 18.16 kB / 424.3 MB, free: 5.211 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001087/0.008607, allocations: 41.14 kB / 424.3 MB, free: 5.195 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.008619, allocations: 2.797 kB / 424.3 MB, free: 5.195 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006416/0.009261, allocations: 1.489 MB / 425.8 MB, free: 3.758 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.009263, allocations: 1.219 kB / 425.8 MB, free: 3.758 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002389/0.009501, allocations: 290 kB / 426.1 MB, free: 3.539 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.807e-05/0.009519, allocations: 9.047 kB / 426.1 MB, free: 3.535 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.009535, allocations: 6.938 kB / 426.1 MB, free: 3.531 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.636e-05/0.009611, allocations: 9.906 kB / 426.1 MB, free: 3.523 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.503e-05/0.009636, allocations: 8.156 kB / 426.1 MB, free: 3.523 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/0.009643, allocations: 12.84 kB / 426.2 MB, free: 3.516 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.485e-05/0.009708, allocations: 120.4 kB / 426.3 MB, free: 3.43 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009708, allocations: 1.25 kB / 426.3 MB, free: 3.43 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003995/0.01011, allocations: 28.25 kB / 426.3 MB, free: 3.426 MB / 330.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 8.72e-05/0.0102, allocations: 105.2 kB / 426.4 MB, free: 3.332 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003256/0.01052, allocations: 318.9 kB / 426.7 MB, free: 3.066 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.01052, allocations: 1.094 kB / 426.7 MB, free: 3.066 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001222/0.01065, allocations: 160.4 kB / 426.9 MB, free: 2.934 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002072/0.01085, allocations: 15.92 kB / 426.9 MB, free: 2.93 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005622/0.01141, allocations: 453.1 kB / 427.3 MB, free: 2.598 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.958e-05/0.01149, allocations: 97.16 kB / 427.4 MB, free: 2.523 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.703e-05/0.01153, allocations: 14.12 kB / 427.4 MB, free: 2.516 MB / 330.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01153, allocations: 3.938 kB / 427.4 MB, free: 2.512 MB / 330.7 MB Notification: Performance of Templates: time 0.00373/0.01526, allocations: 2.224 MB / 429.7 MB, free: 2.379 MB / 330.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.757038788869977] Failed to read output from testmodel.py, exit status != 0: 0.16250493191182613 0.032329829000000004 0.027049483000000003 Calling exit ...