Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_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_prescribed_P,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P") translateModel(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001557/0.001558, allocations: 113.1 kB / 16.42 MB, free: 6.52 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.001736/0.001736, allocations: 183.9 kB / 17.34 MB, free: 5.734 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.312/1.312, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09509/0.09509, allocations: 22.33 MB / 313.5 MB, free: 8.871 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 67.91 kB / 435.6 MB, free: 13.86 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08366/0.0849, allocations: 54.95 MB / 490.6 MB, free: 6.852 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P): time 0.002593/0.08752, allocations: 1.471 MB / 492 MB, free: 5.363 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007366/0.08828, allocations: 423.1 kB / 492.5 MB, free: 4.949 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.235e-05/0.08835, allocations: 0 / 492.5 MB, free: 4.949 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 4.595e-05/0.08841, allocations: 7.938 kB / 492.5 MB, free: 4.941 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001895/0.08862, allocations: 27.83 kB / 492.5 MB, free: 4.914 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.728e-05/0.08869, allocations: 11.92 kB / 492.5 MB, free: 4.902 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.0888, allocations: 67.7 kB / 492.6 MB, free: 4.836 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.872e-05/0.08889, allocations: 8 kB / 492.6 MB, free: 4.828 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.08901, allocations: 31.86 kB / 492.6 MB, free: 4.797 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.681e-05/0.08911, allocations: 35.83 kB / 492.6 MB, free: 4.762 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.08913, allocations: 4 kB / 492.6 MB, free: 4.758 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.226e-05/0.08915, allocations: 4 kB / 492.6 MB, free: 4.754 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.193e-05/0.08918, allocations: 19.92 kB / 492.7 MB, free: 4.734 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.103e-05/0.08923, allocations: 27.8 kB / 492.7 MB, free: 4.707 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 9.423e-05/0.08933, allocations: 51.69 kB / 492.7 MB, free: 4.656 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.08934, allocations: 3.938 kB / 492.7 MB, free: 4.652 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.08934, allocations: 0 / 492.7 MB, free: 4.652 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.08935, allocations: 0 / 492.7 MB, free: 4.652 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005135/0.08987, allocations: 375.2 kB / 493.1 MB, free: 4.238 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.08992, allocations: 16.03 kB / 493.1 MB, free: 4.223 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.891e-05/0.08996, allocations: 8.891 kB / 493.1 MB, free: 4.215 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001501/0.09012, allocations: 184.2 kB / 493.3 MB, free: 3.996 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.779e-06/0.09014, allocations: 4.375 kB / 493.3 MB, free: 3.992 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.395e-05/0.09016, allocations: 8.375 kB / 493.3 MB, free: 3.984 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001139/0.09028, allocations: 61.61 kB / 493.4 MB, free: 3.918 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.0903, allocations: 0 / 493.4 MB, free: 3.918 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-06/0.09031, allocations: 0 / 493.4 MB, free: 3.918 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.09032, allocations: 4 kB / 493.4 MB, free: 3.914 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.368e-05/0.09039, allocations: 27.98 kB / 493.4 MB, free: 3.887 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004649/0.09086, allocations: 320.6 kB / 493.7 MB, free: 3.523 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002496/0.09112, allocations: 78.73 kB / 493.8 MB, free: 3.438 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.229e-05/0.0912, allocations: 36.88 kB / 493.8 MB, free: 3.398 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.258e-05/0.09122, allocations: 3.984 kB / 493.9 MB, free: 3.395 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/0.09124, allocations: 38.56 kB / 493.9 MB, free: 3.348 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.09125, allocations: 0 / 493.9 MB, free: 3.348 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007275/0.09198, allocations: 383.5 kB / 494.3 MB, free: 2.918 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.685e-05/0.09202, allocations: 59.41 kB / 494.3 MB, free: 2.848 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.09214, allocations: 126.1 kB / 494.4 MB, free: 2.711 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.09216, allocations: 33.7 kB / 494.5 MB, free: 2.672 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.233e-05/0.09222, allocations: 103.9 kB / 494.6 MB, free: 2.566 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.705e-05/0.09225, allocations: 35.69 kB / 494.6 MB, free: 2.531 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.305e-05/0.0923, allocations: 29.7 kB / 494.6 MB, free: 2.496 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.473e-05/0.0924, allocations: 318.9 kB / 495 MB, free: 2.176 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.473e-05/0.09246, allocations: 27.92 kB / 495 MB, free: 2.148 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.412e-05/0.09251, allocations: 45.38 kB / 495 MB, free: 2.098 MB / 366.1 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.0004139/0.09293, allocations: 227.2 kB / 495.2 MB, free: 1.852 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.09295, allocations: 8 kB / 495.3 MB, free: 1.844 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002231/0.09317, allocations: 134.3 kB / 495.4 MB, free: 1.703 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.0932, allocations: 4 kB / 495.4 MB, free: 1.699 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.09321, allocations: 0 / 495.4 MB, free: 1.699 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001406/0.09335, allocations: 32.83 kB / 495.4 MB, free: 1.664 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.479e-05/0.09346, allocations: 27.92 kB / 495.4 MB, free: 1.637 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001183/0.09465, allocations: 1.568 MB / 497 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.039e-05/0.09473, allocations: 4.031 kB / 497 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.09475, allocations: 0 / 497 MB, free: 15.92 MB / 382.1 MB Warning: Assuming fixed start value for the following 1 variables: 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: Pm = 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 (12): * Single equations (assignments): 11 * 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.0001018/0.09485, allocations: 122.6 kB / 497.1 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.408e-05/0.09489, allocations: 15.88 kB / 497.2 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.514e-05/0.09493, allocations: 16.53 kB / 497.2 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.09494, allocations: 3.984 kB / 497.2 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.09494, allocations: 0 / 497.2 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.812e-05/0.09498, allocations: 85.06 kB / 497.3 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.576e-05/0.09501, allocations: 3.984 kB / 497.3 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.947e-05/0.0951, allocations: 4 kB / 497.3 MB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.703e-05/0.09513, allocations: 8.094 kB / 497.3 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003822/0.09552, allocations: 213.5 kB / 497.5 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002272/0.09576, allocations: 286.7 kB / 497.8 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.608e-05/0.09582, allocations: 27.98 kB / 497.8 MB, free: 15.1 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.504e-05/0.09588, allocations: 101.9 kB / 497.9 MB, free: 15 MB / 382.1 MB Notification: Performance of Backend: time 3.81e-07/0.09588, allocations: 0 / 497.9 MB, free: 15 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004928/0.09638, allocations: 253 kB / 498.1 MB, free: 14.73 MB / 382.1 MB Notification: Performance of SimCode: time 0.0006678/0.09706, allocations: 0.8236 MB / 499 MB, free: 13.86 MB / 382.1 MB Notification: Performance of Templates: time 0.003414/0.1005, allocations: 1.097 MB / 0.4883 GB, free: 12.76 MB / 382.1 MB make -j1 -f AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P.makefile (rm -f AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P.pipe ; mkfifo AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P.pipe ; head -c 1048576 < AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P.pipe >> ../files/AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P.sim & ./AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P.pipe 2>&1)