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.0009972/0.0009972, allocations: 78.66 kB / 21.46 MB, free: 3.043 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.001177/0.001177, allocations: 166.6 kB / 24.86 MB, free: 8.641 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.9882/0.9882, allocations: 177.1 MB / 205.3 MB, free: 5.523 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.06667/0.06667, allocations: 18.14 MB / 280 MB, free: 11.18 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_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.072e-06/1.072e-06, allocations: 0 / 356.1 MB, free: 11.04 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.329e-05/1.436e-05, allocations: 6.25 kB / 356.1 MB, free: 11.04 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P): time 0.001735/0.001749, allocations: 1.646 MB / 357.7 MB, free: 9.375 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005346/0.002284, allocations: 463 kB / 358.2 MB, free: 8.922 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.091e-05/0.002325, allocations: 0 / 358.2 MB, free: 8.922 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 3.056e-05/0.002355, allocations: 7.922 kB / 358.2 MB, free: 8.914 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001287/0.002484, allocations: 31.72 kB / 358.2 MB, free: 8.883 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.316e-05/0.002527, allocations: 23.95 kB / 358.2 MB, free: 8.859 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 8.368e-05/0.002611, allocations: 111.5 kB / 358.4 MB, free: 8.75 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.552e-05/0.002696, allocations: 15.98 kB / 358.4 MB, free: 8.734 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000127/0.002823, allocations: 47.89 kB / 358.4 MB, free: 8.688 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.732e-05/0.002901, allocations: 39.83 kB / 358.5 MB, free: 8.648 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.002915, allocations: 8 kB / 358.5 MB, free: 8.641 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.098e-05/0.002926, allocations: 8 kB / 358.5 MB, free: 8.633 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.865e-05/0.002945, allocations: 19.91 kB / 358.5 MB, free: 8.613 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.823e-05/0.002973, allocations: 31.92 kB / 358.5 MB, free: 8.582 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 8.956e-05/0.003062, allocations: 63.67 kB / 358.6 MB, free: 8.52 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.352e-06/0.003064, allocations: 0 / 358.6 MB, free: 8.52 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.003064, allocations: 4 kB / 358.6 MB, free: 8.516 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.486e-06/0.003068, allocations: 4 kB / 358.6 MB, free: 8.512 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0004067/0.003474, allocations: 428.2 kB / 359 MB, free: 8.059 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.958e-05/0.003504, allocations: 8.922 kB / 359 MB, free: 8.051 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.422e-05/0.003538, allocations: 24.84 kB / 359 MB, free: 8.027 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.623e-05/0.003635, allocations: 130.4 kB / 359.2 MB, free: 7.875 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.003645, allocations: 8.375 kB / 359.2 MB, free: 7.867 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/0.003662, allocations: 12.31 kB / 359.2 MB, free: 7.855 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.421e-05/0.003736, allocations: 66.12 kB / 359.3 MB, free: 7.785 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.062e-06/0.003743, allocations: 192 / 359.3 MB, free: 7.785 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.003753, allocations: 11.94 kB / 359.3 MB, free: 7.773 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.556e-06/0.003756, allocations: 0 / 359.3 MB, free: 7.773 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.336e-05/0.003789, allocations: 23.92 kB / 359.3 MB, free: 7.75 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003353/0.004125, allocations: 335.5 kB / 359.6 MB, free: 7.387 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004024/0.004527, allocations: 87.27 kB / 359.7 MB, free: 7.289 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.088e-05/0.004558, allocations: 35.58 kB / 359.7 MB, free: 7.25 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.574e-06/0.004566, allocations: 4 kB / 359.7 MB, free: 7.246 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.004589, allocations: 41.39 kB / 359.8 MB, free: 7.195 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 1.213e-06/0.004591, allocations: 0 / 359.8 MB, free: 7.195 MB / 330.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003896/0.00498, allocations: 293 kB / 360.1 MB, free: 6.867 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.363e-05/0.005004, allocations: 59.39 kB / 360.1 MB, free: 6.797 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.515e-05/0.005089, allocations: 196.5 kB / 360.3 MB, free: 6.59 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/0.005099, allocations: 29.7 kB / 360.3 MB, free: 6.555 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.399e-05/0.005153, allocations: 150.7 kB / 360.5 MB, free: 6.402 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.078e-05/0.005174, allocations: 39.64 kB / 360.5 MB, free: 6.363 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.409e-05/0.005208, allocations: 43.36 kB / 360.6 MB, free: 6.312 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.005308, allocations: 0.4884 MB / 361.1 MB, free: 5.812 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.822e-05/0.005326, allocations: 15.98 kB / 361.1 MB, free: 5.797 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.644e-05/0.005363, allocations: 43.03 kB / 361.1 MB, free: 5.742 MB / 330.7 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.0001044/0.005467, allocations: 98.64 kB / 361.2 MB, free: 5.633 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.005468, allocations: 0 / 361.2 MB, free: 5.633 MB / 330.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001403/0.005609, allocations: 133.1 kB / 361.3 MB, free: 5.492 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.005619, allocations: 12.06 kB / 361.4 MB, free: 5.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-06/0.005622, allocations: 0 / 361.4 MB, free: 5.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001645/0.005787, allocations: 43.64 kB / 361.4 MB, free: 5.434 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.511e-05/0.005842, allocations: 20 kB / 361.4 MB, free: 5.414 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008233/0.006665, allocations: 2.005 MB / 363.4 MB, free: 3.301 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.439e-05/0.006699, allocations: 4 kB / 363.4 MB, free: 3.297 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.006705, allocations: 4.094 kB / 363.4 MB, free: 3.293 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 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 7.303e-05/0.006778, allocations: 168.5 kB / 363.6 MB, free: 3.117 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.32e-05/0.006801, allocations: 15.91 kB / 363.6 MB, free: 3.102 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.379e-05/0.006815, allocations: 12.78 kB / 363.6 MB, free: 3.09 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.006817, allocations: 4 kB / 363.6 MB, free: 3.086 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.006818, allocations: 8 kB / 363.6 MB, free: 3.078 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.006821, allocations: 0 / 363.6 MB, free: 3.078 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002586/0.007079, allocations: 384.8 kB / 364 MB, free: 2.656 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.007081, allocations: 0 / 364 MB, free: 2.656 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.979e-05/0.007131, allocations: 19.94 kB / 364 MB, free: 2.637 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001438/0.007274, allocations: 55.69 kB / 364.1 MB, free: 2.578 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.63e-06/0.00728, allocations: 0 / 364.1 MB, free: 2.578 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007098/0.00799, allocations: 1.997 MB / 366.1 MB, free: 476 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.007991, allocations: 0 / 366.1 MB, free: 476 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001643/0.008155, allocations: 302.9 kB / 366.4 MB, free: 140 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.45e-05/0.00817, allocations: 23.92 kB / 366.4 MB, free: 116 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.677e-06/0.008178, allocations: 0 / 366.4 MB, free: 116 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.539e-05/0.008224, allocations: 0 / 366.4 MB, free: 116 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.469e-05/0.008238, allocations: 11.98 kB / 366.4 MB, free: 104 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-06/0.008243, allocations: 4 kB / 366.4 MB, free: 100 kB / 330.7 MB Notification: Performance of sorting global known variables: time 5.554e-05/0.008298, allocations: 147.9 kB / 366.6 MB, free: 15.95 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008298, allocations: 0 / 366.6 MB, free: 15.95 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002218/0.00852, allocations: 31.88 kB / 366.6 MB, free: 15.92 MB / 346.7 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 6e-05/0.00858, allocations: 107.2 kB / 366.7 MB, free: 15.81 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004176/0.008998, allocations: 240.2 kB / 366.9 MB, free: 15.56 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.008999, allocations: 0 / 366.9 MB, free: 15.56 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.726e-05/0.009096, allocations: 209.4 kB / 367.1 MB, free: 15.33 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001525/0.009249, allocations: 12 kB / 367.1 MB, free: 15.32 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005799/0.009829, allocations: 409.4 kB / 367.5 MB, free: 14.88 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.332e-05/0.009862, allocations: 63.84 kB / 367.6 MB, free: 14.8 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.92e-05/0.009891, allocations: 20.95 kB / 367.6 MB, free: 14.78 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.082e-05/0.009932, allocations: 74.2 kB / 367.7 MB, free: 14.7 MB / 346.7 MB Notification: Performance of SimCode: time 4.71e-07/0.009932, allocations: 0 / 367.7 MB, free: 14.7 MB / 346.7 MB Notification: Performance of Templates: time 0.002625/0.01256, allocations: 1.472 MB / 369.2 MB, free: 13.23 MB / 346.7 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=240 -lv LOG_STATS > AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7677773209288716]