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.008071/0.008071, allocations: 99.16 kB / 15.73 MB, free: 6.008 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.001634/0.001634, allocations: 192.2 kB / 16.67 MB, free: 5.938 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2784/0.2784, allocations: 22.36 MB / 312.9 MB, free: 12.52 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 60.78 kB / 434.9 MB, free: 34.8 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1373, allocations: 54.96 MB / 489.9 MB, free: 3.359 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P): time 0.002757/0.1401, allocations: 1.619 MB / 491.5 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008095/0.1409, allocations: 447.1 kB / 492 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.141, allocations: 4 kB / 492 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.047e-05/0.1412, allocations: 11.86 kB / 492 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002466/0.1414, allocations: 27.78 kB / 492 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.29e-05/0.1415, allocations: 15.97 kB / 492 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001161/0.1416, allocations: 107.6 kB / 492.1 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002025/0.1418, allocations: 31.91 kB / 492.2 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001624/0.142, allocations: 43.8 kB / 492.2 MB, free: 1.051 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.1421, allocations: 47.77 kB / 492.2 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.98e-05/0.1422, allocations: 8 kB / 492.3 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.012e-05/0.1422, allocations: 8 kB / 492.3 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.734e-05/0.1422, allocations: 23.91 kB / 492.3 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.057e-05/0.1423, allocations: 43.73 kB / 492.3 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001462/0.1424, allocations: 91.56 kB / 492.4 MB, free: 0.832 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.1424, allocations: 0 / 492.4 MB, free: 0.832 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1424, allocations: 0 / 492.4 MB, free: 0.832 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.18e-05/0.1425, allocations: 0 / 492.4 MB, free: 0.832 MB / 350.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.0005583/0.143, allocations: 411 kB / 492.8 MB, free: 392 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.1431, allocations: 12.03 kB / 492.8 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.372e-05/0.1431, allocations: 8.891 kB / 492.8 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.1433, allocations: 188.2 kB / 493 MB, free: 144 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.1433, allocations: 8.312 kB / 493 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.07e-05/0.1433, allocations: 16.31 kB / 493 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.1435, allocations: 83.47 kB / 493.1 MB, free: 32 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.1435, allocations: 0 / 493.1 MB, free: 32 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.1435, allocations: 8 kB / 493.1 MB, free: 24 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.1436, allocations: 0 / 493.1 MB, free: 24 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.1437, allocations: 40.03 kB / 493.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006819/0.1444, allocations: 364.5 kB / 493.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002971/0.1447, allocations: 94.48 kB / 493.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.521e-05/0.1448, allocations: 40.94 kB / 493.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.1448, allocations: 3.938 kB / 493.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.1448, allocations: 34.56 kB / 493.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.282e-06/0.1448, allocations: 0 / 493.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008291/0.1457, allocations: 423 kB / 494.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.943e-05/0.1457, allocations: 51.41 kB / 494.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.1459, allocations: 148.6 kB / 494.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.1459, allocations: 29.7 kB / 494.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.064e-05/0.146, allocations: 100 kB / 494.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.578e-05/0.146, allocations: 43.64 kB / 494.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.23e-05/0.1461, allocations: 29.7 kB / 494.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.1462, allocations: 330.8 kB / 494.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.971e-05/0.1463, allocations: 27.98 kB / 494.9 MB, free: 14.13 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.407e-05/0.1464, allocations: 54.5 kB / 494.9 MB, free: 14.07 MB / 366.1 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.0004883/0.1469, allocations: 240.6 kB / 495.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1469, allocations: 0 / 495.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002654/0.1471, allocations: 158.2 kB / 495.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.1472, allocations: 4 kB / 495.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.1472, allocations: 8.062 kB / 495.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001715/0.1474, allocations: 40.83 kB / 495.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.781e-05/0.1475, allocations: 23.98 kB / 495.4 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001419/0.1489, allocations: 1.605 MB / 497 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.271e-05/0.149, allocations: 8.016 kB / 497 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.149, allocations: 8.656 kB / 497 MB, free: 11.8 MB / 366.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.0001268/0.1491, allocations: 129.8 kB / 497.1 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.728e-05/0.1492, allocations: 11.91 kB / 497.1 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.607e-05/0.1492, allocations: 16.72 kB / 497.1 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.1492, allocations: 0 / 497.1 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1492, allocations: 7.922 kB / 497.2 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1492, allocations: 0 / 497.2 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005312/0.1498, allocations: 436.8 kB / 497.6 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.1498, allocations: 3.938 kB / 497.6 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.152e-05/0.1499, allocations: 19.98 kB / 497.6 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001402/0.15, allocations: 44.77 kB / 497.7 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.1501, allocations: 64 / 497.7 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001212/0.1513, allocations: 1.623 MB / 499.3 MB, free: 9.309 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.1513, allocations: 4.031 kB / 499.3 MB, free: 9.305 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003128/0.1516, allocations: 265.8 kB / 499.5 MB, free: 9.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.809e-05/0.1517, allocations: 93.16 kB / 499.6 MB, free: 8.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.1517, allocations: 4 kB / 499.6 MB, free: 8.906 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.348e-05/0.1518, allocations: 4 kB / 499.6 MB, free: 8.902 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.087e-05/0.1519, allocations: 11.98 kB / 499.6 MB, free: 8.891 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.1519, allocations: 4 kB / 499.7 MB, free: 8.887 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.576e-05/0.152, allocations: 107.3 kB / 499.8 MB, free: 8.781 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.152, allocations: 0 / 499.8 MB, free: 8.781 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003586/0.1523, allocations: 28 kB / 499.8 MB, free: 8.754 MB / 366.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.000121/0.1525, allocations: 111.1 kB / 499.9 MB, free: 8.637 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003444/0.1528, allocations: 194.6 kB / 0.4884 GB, free: 8.434 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.1528, allocations: 0 / 0.4884 GB, free: 8.434 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001763/0.153, allocations: 166.5 kB / 0.4885 GB, free: 8.258 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.1533, allocations: 12 kB / 0.4885 GB, free: 8.246 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008926/0.1542, allocations: 453.3 kB / 0.489 GB, free: 7.766 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/0.1544, allocations: 0.7045 MB / 0.4897 GB, free: 7.035 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.757e-05/0.1545, allocations: 12.86 kB / 0.4897 GB, free: 7.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.365e-05/0.1545, allocations: 15.44 kB / 0.4897 GB, free: 7.004 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1545, allocations: 4.281 kB / 0.4897 GB, free: 7 MB / 366.1 MB Notification: Performance of Templates: time 0.004325/0.1589, allocations: 1.39 MB / 0.491 GB, free: 5.609 MB / 366.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)