Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_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.001962/0.001962, allocations: 77.12 kB / 19.96 MB, free: 1.75 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.001558/0.001558, allocations: 171.7 kB / 23.24 MB, free: 4.863 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.505/1.505, allocations: 177.1 MB / 203.5 MB, free: 9.156 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.154/0.154, allocations: 18.13 MB / 278.1 MB, free: 15.05 MB / 270.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_fixed_P,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P") translateModel(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 413.2 MB, free: 4.953 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.276e-05/3.401e-05, allocations: 12.47 kB / 413.2 MB, free: 4.941 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P): time 0.002985/0.003019, allocations: 1.579 MB / 414.8 MB, free: 3.348 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008864/0.003905, allocations: 459 kB / 415.2 MB, free: 2.898 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.139e-05/0.003967, allocations: 0 / 415.2 MB, free: 2.898 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.122e-05/0.004018, allocations: 3.938 kB / 415.2 MB, free: 2.895 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002228/0.004241, allocations: 39.64 kB / 415.3 MB, free: 2.855 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.002e-05/0.004311, allocations: 11.98 kB / 415.3 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001541/0.004465, allocations: 115.5 kB / 415.4 MB, free: 2.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.004599, allocations: 19.98 kB / 415.4 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002187/0.004818, allocations: 51.83 kB / 415.5 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.004937, allocations: 43.81 kB / 415.5 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.501e-05/0.004962, allocations: 8 kB / 415.5 MB, free: 2.609 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.957e-05/0.004981, allocations: 8 kB / 415.5 MB, free: 2.602 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.565e-05/0.005007, allocations: 19.86 kB / 415.5 MB, free: 2.582 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.577e-05/0.005063, allocations: 31.91 kB / 415.6 MB, free: 2.551 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001594/0.005222, allocations: 87.69 kB / 415.7 MB, free: 2.465 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.005224, allocations: 0 / 415.7 MB, free: 2.465 MB / 334.1 MB Notification: Performance of FrontEnd: time 5.91e-07/0.005224, allocations: 0 / 415.7 MB, free: 2.465 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.358e-06/0.005234, allocations: 4 kB / 415.7 MB, free: 2.461 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006696/0.005903, allocations: 325.9 kB / 416 MB, free: 2.113 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.005949, allocations: 12.92 kB / 416 MB, free: 2.102 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.441e-05/0.005993, allocations: 12.84 kB / 416 MB, free: 2.09 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002033/0.006197, allocations: 137.7 kB / 416.1 MB, free: 1.93 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.006209, allocations: 4.375 kB / 416.1 MB, free: 1.926 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.636e-05/0.006246, allocations: 12.31 kB / 416.1 MB, free: 1.914 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.006416, allocations: 82.12 kB / 416.2 MB, free: 1.828 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.006426, allocations: 4.188 kB / 416.2 MB, free: 1.824 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.006441, allocations: 3.938 kB / 416.2 MB, free: 1.82 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.006448, allocations: 4 kB / 416.2 MB, free: 1.816 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.038e-05/0.006538, allocations: 35.98 kB / 416.3 MB, free: 1.781 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006259/0.007164, allocations: 300.2 kB / 416.6 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002899/0.007454, allocations: 82.73 kB / 416.6 MB, free: 1.367 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.611e-05/0.00754, allocations: 44.88 kB / 416.7 MB, free: 1.32 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.957e-06/0.007549, allocations: 0 / 416.7 MB, free: 1.32 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.007579, allocations: 34.56 kB / 416.7 MB, free: 1.277 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.092e-06/0.00758, allocations: 4 kB / 416.7 MB, free: 1.273 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.000818/0.008398, allocations: 341.7 kB / 417.1 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/0.008445, allocations: 51.41 kB / 417.1 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.008608, allocations: 144 kB / 417.3 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.008631, allocations: 30.34 kB / 417.3 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.527e-05/0.008727, allocations: 96.09 kB / 417.4 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.5e-05/0.008782, allocations: 47.58 kB / 417.4 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.581e-05/0.008838, allocations: 33.7 kB / 417.5 MB, free: 484 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.009015, allocations: 326.8 kB / 417.8 MB, free: 148 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.084e-05/0.009066, allocations: 20 kB / 417.8 MB, free: 128 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.652e-05/0.009142, allocations: 53.09 kB / 417.8 MB, free: 68 kB / 334.1 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.0004712/0.009614, allocations: 185 kB / 418 MB, free: 15.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.009614, allocations: 0 / 418 MB, free: 15.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002637/0.009878, allocations: 154.2 kB / 418.2 MB, free: 15.71 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.009896, allocations: 8 kB / 418.2 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.009901, allocations: 0 / 418.2 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001675/0.01007, allocations: 32.83 kB / 418.2 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.411e-05/0.01016, allocations: 20 kB / 418.2 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001458/0.01162, allocations: 1.489 MB / 419.7 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.83e-05/0.01169, allocations: 8.031 kB / 419.7 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.024e-06/0.0117, allocations: 0 / 419.7 MB, free: 14.06 MB / 350.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 Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: G.Pm = G.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 (13): * 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: 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.0001452/0.01184, allocations: 125.9 kB / 419.9 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.661e-05/0.01188, allocations: 15.84 kB / 419.9 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.34e-05/0.01191, allocations: 16.78 kB / 419.9 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.01191, allocations: 3.984 kB / 419.9 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.774e-06/0.01192, allocations: 0 / 419.9 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.01192, allocations: 0 / 419.9 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005128/0.01243, allocations: 360.6 kB / 420.2 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01243, allocations: 0 / 420.2 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.473e-05/0.01253, allocations: 15.98 kB / 420.3 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001317/0.01266, allocations: 44.88 kB / 420.3 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.01267, allocations: 4 kB / 420.3 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001289/0.01396, allocations: 1.485 MB / 421.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.01397, allocations: 3.984 kB / 421.8 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003435/0.01431, allocations: 274 kB / 422.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.225e-05/0.01433, allocations: 11.91 kB / 422.1 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.01435, allocations: 96 / 422.1 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.307e-05/0.01444, allocations: 15.94 kB / 422.1 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.613e-05/0.01448, allocations: 11.97 kB / 422.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.01449, allocations: 7.984 kB / 422.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.805e-05/0.01459, allocations: 109.3 kB / 422.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.01459, allocations: 0 / 422.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003346/0.01492, allocations: 28 kB / 422.2 MB, free: 11.36 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (G.thetap,G.deltag,G.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 (8): * Single equations (assignments): 7 * 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.0001249/0.01505, allocations: 103.2 kB / 422.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004069/0.01545, allocations: 194.5 kB / 422.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.01546, allocations: 0 / 422.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001931/0.01565, allocations: 154.7 kB / 422.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00027/0.01592, allocations: 19.02 kB / 422.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008714/0.01679, allocations: 401.8 kB / 423.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.425e-05/0.01688, allocations: 84.81 kB / 423.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.187e-05/0.01693, allocations: 16.97 kB / 423.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.712e-05/0.01696, allocations: 12.5 kB / 423.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.01696, allocations: 0 / 423.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of Templates: time 0.005101/0.02206, allocations: 1.338 MB / 424.5 MB, free: 8.977 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P.makefile [Timeout 660] (rm -f AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P.pipe ; mkfifo AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P.pipe ; head -c 1048576 < AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P.pipe >> ../files/AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P.sim & ./AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.655603587627411] Failed to read output from testmodel.py, exit status != 0: 0.03094625100493431 0.047029391000000004 0.038713412 Calling exit ...