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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,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=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 104.5 kB / 16.4 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 192.1 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1296/0.1296, allocations: 22.32 MB / 313.5 MB, free: 8.883 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 63.89 kB / 435.6 MB, free: 13.86 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1193, allocations: 54.95 MB / 490.5 MB, free: 6.855 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P): time 0.003321/0.1226, allocations: 1.607 MB / 492.1 MB, free: 5.234 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009223/0.1236, allocations: 443.1 kB / 492.6 MB, free: 4.801 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.1237, allocations: 4 kB / 492.6 MB, free: 4.797 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 6.766e-05/0.1238, allocations: 11.86 kB / 492.6 MB, free: 4.785 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002462/0.1241, allocations: 31.78 kB / 492.6 MB, free: 4.754 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001005/0.1242, allocations: 15.97 kB / 492.6 MB, free: 4.738 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001791/0.1244, allocations: 107.6 kB / 492.7 MB, free: 4.633 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.1245, allocations: 19.97 kB / 492.8 MB, free: 4.613 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001498/0.1247, allocations: 51.8 kB / 492.8 MB, free: 4.562 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.1248, allocations: 43.83 kB / 492.9 MB, free: 4.52 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.613e-05/0.1249, allocations: 15.88 kB / 492.9 MB, free: 4.504 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.34e-05/0.1249, allocations: 8 kB / 492.9 MB, free: 4.496 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.257e-05/0.125, allocations: 23.91 kB / 492.9 MB, free: 4.473 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.738e-05/0.125, allocations: 43.73 kB / 493 MB, free: 4.43 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001638/0.1252, allocations: 91.62 kB / 493 MB, free: 4.34 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1252, allocations: 0 / 493 MB, free: 4.34 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1252, allocations: 0 / 493 MB, free: 4.34 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.173e-06/0.1252, allocations: 0 / 493 MB, free: 4.34 MB / 366.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.0006517/0.1259, allocations: 413.8 kB / 493.4 MB, free: 3.891 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.1259, allocations: 8.031 kB / 493.5 MB, free: 3.883 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.117e-05/0.126, allocations: 12.84 kB / 493.5 MB, free: 3.871 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002121/0.1262, allocations: 192.1 kB / 493.7 MB, free: 3.645 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.1262, allocations: 4.375 kB / 493.7 MB, free: 3.641 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.803e-05/0.1263, allocations: 8.375 kB / 493.7 MB, free: 3.633 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.1264, allocations: 81.59 kB / 493.7 MB, free: 3.547 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.1265, allocations: 4 kB / 493.7 MB, free: 3.543 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.1265, allocations: 0 / 493.7 MB, free: 3.543 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.1265, allocations: 4 kB / 493.8 MB, free: 3.539 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.322e-05/0.1266, allocations: 35.98 kB / 493.8 MB, free: 3.504 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006444/0.1272, allocations: 368.5 kB / 494.1 MB, free: 3.094 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002886/0.1275, allocations: 98.48 kB / 494.2 MB, free: 2.988 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.986e-05/0.1276, allocations: 40.94 kB / 494.3 MB, free: 2.945 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.1276, allocations: 0 / 494.3 MB, free: 2.945 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.1277, allocations: 30.56 kB / 494.3 MB, free: 2.906 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.302e-06/0.1277, allocations: 0 / 494.3 MB, free: 2.906 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.000845/0.1285, allocations: 426.9 kB / 494.7 MB, free: 2.434 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/0.1286, allocations: 52.06 kB / 494.8 MB, free: 2.371 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.1287, allocations: 148 kB / 494.9 MB, free: 2.219 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.1288, allocations: 25.7 kB / 495 MB, free: 2.188 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.489e-05/0.1288, allocations: 99.98 kB / 495 MB, free: 2.086 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.105e-05/0.1289, allocations: 47.36 kB / 495.1 MB, free: 2.039 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.5e-05/0.1289, allocations: 29.7 kB / 495.1 MB, free: 2.004 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.1291, allocations: 322.8 kB / 495.4 MB, free: 1.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.492e-05/0.1291, allocations: 35.88 kB / 495.5 MB, free: 1.645 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.824e-05/0.1292, allocations: 54.55 kB / 495.5 MB, free: 1.582 MB / 366.1 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.0004715/0.1297, allocations: 239 kB / 495.8 MB, free: 1.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1297, allocations: 3.938 kB / 495.8 MB, free: 1.316 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002691/0.13, allocations: 150.3 kB / 495.9 MB, free: 1.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.13, allocations: 4 kB / 495.9 MB, free: 1.156 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/0.13, allocations: 0 / 495.9 MB, free: 1.156 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00018/0.1302, allocations: 40.89 kB / 496 MB, free: 1.113 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.1303, allocations: 27.92 kB / 496 MB, free: 1.086 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001446/0.1318, allocations: 1.607 MB / 497.6 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.755e-05/0.1319, allocations: 7.969 kB / 497.6 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.1319, allocations: 11.98 kB / 497.6 MB, free: 15.32 MB / 382.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.00013/0.132, allocations: 129.8 kB / 497.7 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.576e-05/0.1321, allocations: 7.906 kB / 497.7 MB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.635e-05/0.1321, allocations: 16.72 kB / 497.8 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.1321, allocations: 0 / 497.8 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-06/0.1321, allocations: 0 / 497.8 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.1321, allocations: 3.984 kB / 497.8 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005155/0.1326, allocations: 432.9 kB / 498.2 MB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.1326, allocations: 3.938 kB / 498.2 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.409e-05/0.1327, allocations: 23.92 kB / 498.2 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001364/0.1329, allocations: 32.83 kB / 498.2 MB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.1329, allocations: 8 kB / 498.3 MB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001211/0.1341, allocations: 1.619 MB / 499.9 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.1342, allocations: 4.031 kB / 499.9 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003172/0.1345, allocations: 269.8 kB / 0.4884 GB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.107e-05/0.1345, allocations: 92.98 kB / 0.4885 GB, free: 12.44 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.1346, allocations: 8.062 kB / 0.4885 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.998e-05/0.1347, allocations: 4 kB / 0.4885 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.453e-05/0.1347, allocations: 11.98 kB / 0.4885 GB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.58e-06/0.1347, allocations: 0 / 0.4885 GB, free: 12.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.131e-05/0.1348, allocations: 113.1 kB / 0.4886 GB, free: 12.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1348, allocations: 0 / 0.4886 GB, free: 12.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000349/0.1351, allocations: 28 kB / 0.4887 GB, free: 12.28 MB / 382.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.0001181/0.1353, allocations: 113.9 kB / 0.4888 GB, free: 12.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003641/0.1356, allocations: 190.6 kB / 0.489 GB, free: 11.96 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.1357, allocations: 0 / 0.489 GB, free: 11.96 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001721/0.1358, allocations: 166.5 kB / 0.4891 GB, free: 11.79 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000263/0.1361, allocations: 8 kB / 0.4891 GB, free: 11.78 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009192/0.137, allocations: 491.4 kB / 0.4896 GB, free: 11.25 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/0.1373, allocations: 0.7006 MB / 0.4903 GB, free: 10.53 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.858e-05/0.1374, allocations: 19.44 kB / 0.4903 GB, free: 10.51 MB / 382.1 MB Notification: Performance of SimCode: time 2.635e-06/0.1374, allocations: 0 / 0.4903 GB, free: 10.51 MB / 382.1 MB Notification: Performance of Templates: time 0.003827/0.1412, allocations: 1.673 MB / 0.4919 GB, free: 8.836 MB / 382.1 MB make -j1 -f AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P.makefile (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)