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.001682/0.001682, allocations: 77.7 kB / 19.76 MB, free: 2.035 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.001895/0.001895, allocations: 158.9 kB / 23.01 MB, free: 4.941 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.478/1.478, allocations: 177.2 MB / 203.4 MB, free: 8.949 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.1021/0.1021, allocations: 17.8 MB / 277.6 MB, free: 15.33 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: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 59.91 kB / 412.3 MB, free: 6.871 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1149, allocations: 59.56 MB / 471.8 MB, free: 11.19 MB / 446.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P): time 0.002841/0.1178, allocations: 1.595 MB / 473.4 MB, free: 9.578 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008801/0.1187, allocations: 451.1 kB / 473.9 MB, free: 9.137 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.674e-05/0.1187, allocations: 0 / 473.9 MB, free: 9.137 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.745e-05/0.1188, allocations: 7.922 kB / 473.9 MB, free: 9.129 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002003/0.119, allocations: 31.72 kB / 473.9 MB, free: 9.098 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.572e-05/0.119, allocations: 19.97 kB / 473.9 MB, free: 9.078 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001475/0.1192, allocations: 107.6 kB / 474 MB, free: 8.973 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.1193, allocations: 15.97 kB / 474.1 MB, free: 8.957 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001853/0.1195, allocations: 51.86 kB / 474.1 MB, free: 8.906 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.1196, allocations: 47.69 kB / 474.2 MB, free: 8.859 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.226e-05/0.1196, allocations: 8 kB / 474.2 MB, free: 8.852 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.93e-05/0.1196, allocations: 8 kB / 474.2 MB, free: 8.844 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.795e-05/0.1197, allocations: 23.92 kB / 474.2 MB, free: 8.82 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.477e-05/0.1197, allocations: 31.86 kB / 474.2 MB, free: 8.789 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001457/0.1199, allocations: 95.5 kB / 474.3 MB, free: 8.695 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1199, allocations: 0 / 474.3 MB, free: 8.695 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1199, allocations: 0 / 474.3 MB, free: 8.695 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.1199, allocations: 0 / 474.3 MB, free: 8.695 MB / 446.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.0006196/0.1205, allocations: 337.9 kB / 474.7 MB, free: 8.336 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.1205, allocations: 8.922 kB / 474.7 MB, free: 8.328 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.145e-05/0.1206, allocations: 8.891 kB / 474.7 MB, free: 8.32 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001737/0.1207, allocations: 137.8 kB / 474.8 MB, free: 8.164 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.1208, allocations: 8.375 kB / 474.8 MB, free: 8.156 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.613e-05/0.1208, allocations: 8.375 kB / 474.8 MB, free: 8.148 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.1209, allocations: 85.53 kB / 474.9 MB, free: 8.059 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/0.1209, allocations: 0 / 474.9 MB, free: 8.059 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.121, allocations: 4 kB / 474.9 MB, free: 8.055 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.121, allocations: 4 kB / 474.9 MB, free: 8.051 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.778e-05/0.1211, allocations: 35.98 kB / 474.9 MB, free: 8.016 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005574/0.1216, allocations: 308.1 kB / 475.2 MB, free: 7.684 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002947/0.1219, allocations: 94.47 kB / 475.3 MB, free: 7.582 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.574e-05/0.122, allocations: 36.94 kB / 475.4 MB, free: 7.543 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.122, allocations: 0 / 475.4 MB, free: 7.543 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.122, allocations: 38.69 kB / 475.4 MB, free: 7.496 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 9.02e-07/0.122, allocations: 0 / 475.4 MB, free: 7.496 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007429/0.1228, allocations: 337.8 kB / 475.7 MB, free: 7.129 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.1228, allocations: 51.41 kB / 475.8 MB, free: 7.066 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.123, allocations: 152.9 kB / 475.9 MB, free: 6.91 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.123, allocations: 25.7 kB / 476 MB, free: 6.879 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.157e-05/0.123, allocations: 104 kB / 476.1 MB, free: 6.773 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.598e-05/0.1231, allocations: 39.64 kB / 476.1 MB, free: 6.734 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.268e-05/0.1231, allocations: 33.7 kB / 476.1 MB, free: 6.695 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.1233, allocations: 322.8 kB / 476.5 MB, free: 6.371 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.735e-05/0.1233, allocations: 31.94 kB / 476.5 MB, free: 6.34 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.124e-05/0.1234, allocations: 50.55 kB / 476.5 MB, free: 6.281 MB / 446.1 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.0004477/0.1239, allocations: 174 kB / 476.7 MB, free: 6.102 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1239, allocations: 0 / 476.7 MB, free: 6.102 MB / 446.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002649/0.1241, allocations: 150.3 kB / 476.9 MB, free: 5.945 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.1241, allocations: 8 kB / 476.9 MB, free: 5.938 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.1242, allocations: 0 / 476.9 MB, free: 5.938 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001554/0.1243, allocations: 40.77 kB / 476.9 MB, free: 5.895 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.832e-05/0.1244, allocations: 23.98 kB / 476.9 MB, free: 5.871 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001479/0.1259, allocations: 1.481 MB / 478.4 MB, free: 4.285 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.181e-05/0.126, allocations: 8.031 kB / 478.4 MB, free: 4.277 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.126, allocations: 4 kB / 478.4 MB, free: 4.273 MB / 446.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.0001292/0.1261, allocations: 129.8 kB / 478.5 MB, free: 4.137 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.179e-05/0.1261, allocations: 11.98 kB / 478.6 MB, free: 4.125 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.135e-05/0.1262, allocations: 24.77 kB / 478.6 MB, free: 4.102 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.1262, allocations: 0 / 478.6 MB, free: 4.102 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.1262, allocations: 0 / 478.6 MB, free: 4.102 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.1262, allocations: 4 kB / 478.6 MB, free: 4.098 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004908/0.1267, allocations: 360.5 kB / 478.9 MB, free: 3.699 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1267, allocations: 0 / 478.9 MB, free: 3.699 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.095e-05/0.1268, allocations: 20 kB / 479 MB, free: 3.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001298/0.1269, allocations: 40.88 kB / 479 MB, free: 3.637 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.1269, allocations: 4 kB / 479 MB, free: 3.633 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001211/0.1281, allocations: 1.477 MB / 480.5 MB, free: 2.055 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.135e-06/0.1281, allocations: 7.969 kB / 480.5 MB, free: 2.047 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003205/0.1284, allocations: 270 kB / 480.7 MB, free: 1.758 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.086e-05/0.1284, allocations: 7.953 kB / 480.8 MB, free: 1.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.014e-05/0.1285, allocations: 11.94 kB / 480.8 MB, free: 1.738 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.959e-05/0.1286, allocations: 4.031 kB / 480.8 MB, free: 1.734 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.276e-05/0.1286, allocations: 7.984 kB / 480.8 MB, free: 1.727 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.1286, allocations: 4 kB / 480.8 MB, free: 1.723 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.367e-05/0.1287, allocations: 107.3 kB / 480.9 MB, free: 1.617 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1287, allocations: 0 / 480.9 MB, free: 1.617 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003412/0.129, allocations: 28 kB / 480.9 MB, free: 1.59 MB / 446.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.0001089/0.1291, allocations: 115.3 kB / 481 MB, free: 1.465 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003286/0.1295, allocations: 194.6 kB / 481.2 MB, free: 1.262 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.1295, allocations: 8 kB / 481.2 MB, free: 1.254 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001669/0.1296, allocations: 150.6 kB / 481.4 MB, free: 1.094 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002374/0.1299, allocations: 11.12 kB / 481.4 MB, free: 1.086 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008759/0.1307, allocations: 485.2 kB / 481.9 MB, free: 0.582 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.694e-05/0.1308, allocations: 89.03 kB / 481.9 MB, free: 484 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.005e-05/0.1309, allocations: 12.97 kB / 482 MB, free: 468 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.47e-05/0.1309, allocations: 16.5 kB / 482 MB, free: 452 kB / 446.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1309, allocations: 3.938 kB / 482 MB, free: 448 kB / 446.1 MB Notification: Performance of Templates: time 0.2094/0.3403, allocations: 1.306 MB / 483.3 MB, free: 51.41 MB / 446.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 -s ida -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.799202871974558] Failed to read output from testmodel.py, exit status != 0: 0.34789744100999087 0.36615926600000004 0.24271177300000002 Calling exit ...