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.006273/0.006272, allocations: 103.4 kB / 15.73 MB, free: 6.055 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.00117/0.00117, allocations: 190.1 kB / 16.67 MB, free: 5.973 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.323/1.323, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1876/0.1876, allocations: 22.32 MB / 312.8 MB, free: 8.887 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 59.91 kB / 434.9 MB, free: 13.89 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08866/0.08988, allocations: 54.95 MB / 489.9 MB, free: 6.887 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P): time 0.00259/0.0925, allocations: 1.608 MB / 491.5 MB, free: 5.262 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007179/0.09324, allocations: 447 kB / 491.9 MB, free: 4.824 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.131e-05/0.09332, allocations: 0 / 491.9 MB, free: 4.824 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 4.711e-05/0.09339, allocations: 11.92 kB / 491.9 MB, free: 4.812 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000177/0.09357, allocations: 35.7 kB / 491.9 MB, free: 4.777 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.8e-05/0.09366, allocations: 15.98 kB / 492 MB, free: 4.762 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.09379, allocations: 107.6 kB / 492.1 MB, free: 4.656 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.09392, allocations: 23.98 kB / 492.1 MB, free: 4.633 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.09404, allocations: 39.84 kB / 492.1 MB, free: 4.594 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.09415, allocations: 51.77 kB / 492.2 MB, free: 4.543 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.279e-05/0.09418, allocations: 12 kB / 492.2 MB, free: 4.531 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.846e-05/0.09421, allocations: 8 kB / 492.2 MB, free: 4.523 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.479e-05/0.09424, allocations: 15.92 kB / 492.2 MB, free: 4.508 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.371e-05/0.09429, allocations: 51.72 kB / 492.3 MB, free: 4.457 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001385/0.09444, allocations: 87.62 kB / 492.4 MB, free: 4.371 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.09445, allocations: 0 / 492.4 MB, free: 4.371 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.09446, allocations: 0 / 492.4 MB, free: 4.371 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.09448, allocations: 3.938 kB / 492.4 MB, free: 4.367 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.000772/0.09526, allocations: 415 kB / 492.8 MB, free: 3.914 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.598e-05/0.09532, allocations: 8.031 kB / 492.8 MB, free: 3.906 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.322e-05/0.0954, allocations: 8.844 kB / 492.8 MB, free: 3.898 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002642/0.09567, allocations: 196.1 kB / 493 MB, free: 3.668 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.0957, allocations: 8.375 kB / 493 MB, free: 3.66 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.02e-05/0.09573, allocations: 4.375 kB / 493 MB, free: 3.656 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.09591, allocations: 81.59 kB / 493.1 MB, free: 3.57 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.09593, allocations: 0 / 493.1 MB, free: 3.57 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.09595, allocations: 4 kB / 493.1 MB, free: 3.566 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.09596, allocations: 11.94 kB / 493.1 MB, free: 3.555 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.865e-05/0.09606, allocations: 35.98 kB / 493.1 MB, free: 3.52 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006299/0.09669, allocations: 364.5 kB / 493.5 MB, free: 3.113 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002643/0.09697, allocations: 90.53 kB / 493.6 MB, free: 3.016 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.533e-05/0.09705, allocations: 40.94 kB / 493.6 MB, free: 2.973 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.26e-05/0.09706, allocations: 4 kB / 493.6 MB, free: 2.969 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.09709, allocations: 34.69 kB / 493.6 MB, free: 2.926 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.583e-06/0.0971, allocations: 0 / 493.6 MB, free: 2.926 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007727/0.09787, allocations: 422.7 kB / 494 MB, free: 2.457 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.115e-05/0.09794, allocations: 59.41 kB / 494.1 MB, free: 2.387 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.09808, allocations: 145.8 kB / 494.3 MB, free: 2.234 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.253e-05/0.09812, allocations: 29.7 kB / 494.3 MB, free: 2.199 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.044e-05/0.09819, allocations: 99.98 kB / 494.4 MB, free: 2.098 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.514e-05/0.09824, allocations: 39.36 kB / 494.4 MB, free: 2.059 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-05/0.09829, allocations: 29.7 kB / 494.4 MB, free: 2.023 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.09843, allocations: 326.8 kB / 494.8 MB, free: 1.695 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.411e-05/0.09849, allocations: 27.98 kB / 494.8 MB, free: 1.668 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.253e-05/0.09857, allocations: 55.22 kB / 494.8 MB, free: 1.605 MB / 366.1 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.0004935/0.09907, allocations: 235.8 kB / 495.1 MB, free: 1.344 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.09908, allocations: 0 / 495.1 MB, free: 1.344 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002573/0.09934, allocations: 152.9 kB / 495.2 MB, free: 1.188 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.09937, allocations: 10.34 kB / 495.2 MB, free: 1.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.09938, allocations: 0 / 495.2 MB, free: 1.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001661/0.09955, allocations: 44.83 kB / 495.3 MB, free: 1.133 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.252e-05/0.09966, allocations: 27.92 kB / 495.3 MB, free: 1.105 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001323/0.101, allocations: 1.614 MB / 496.9 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.9e-05/0.1011, allocations: 4 kB / 496.9 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.1011, allocations: 4 kB / 496.9 MB, free: 15.34 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.0001208/0.1012, allocations: 129.8 kB / 497.1 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.27e-05/0.1013, allocations: 11.84 kB / 497.1 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.668e-05/0.1013, allocations: 20.64 kB / 497.1 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.1013, allocations: 4 kB / 497.1 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.1013, allocations: 0 / 497.1 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1013, allocations: 96 / 497.1 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004897/0.1018, allocations: 432.9 kB / 497.5 MB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.1018, allocations: 7.922 kB / 497.5 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.662e-05/0.1019, allocations: 19.98 kB / 497.5 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001275/0.1021, allocations: 36.83 kB / 497.6 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.1021, allocations: 7.984 kB / 497.6 MB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001207/0.1033, allocations: 1.612 MB / 499.2 MB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1033, allocations: 0 / 499.2 MB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003125/0.1036, allocations: 277.9 kB / 499.5 MB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.011e-05/0.1037, allocations: 88.98 kB / 499.6 MB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.1037, allocations: 7.938 kB / 499.6 MB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.488e-05/0.1038, allocations: 4 kB / 499.6 MB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.587e-05/0.1039, allocations: 11.98 kB / 499.6 MB, free: 12.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.615e-06/0.1039, allocations: 4 kB / 499.6 MB, free: 12.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.611e-05/0.104, allocations: 111.3 kB / 499.7 MB, free: 12.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.104, allocations: 0 / 499.7 MB, free: 12.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003419/0.1043, allocations: 28.09 kB / 499.7 MB, free: 12.3 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 9.671e-05/0.1044, allocations: 111 kB / 499.8 MB, free: 12.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003254/0.1047, allocations: 198.6 kB / 0.4883 GB, free: 11.97 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1048, allocations: 0 / 0.4883 GB, free: 11.97 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001685/0.1049, allocations: 158.5 kB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002419/0.1052, allocations: 12 kB / 0.4885 GB, free: 11.79 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008635/0.1061, allocations: 457.8 kB / 0.4889 GB, free: 11.31 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004681/0.1065, allocations: 0.7084 MB / 0.4896 GB, free: 10.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.913e-05/0.1066, allocations: 8.875 kB / 0.4896 GB, free: 10.56 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.193e-05/0.1066, allocations: 11.44 kB / 0.4896 GB, free: 10.55 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1066, allocations: 3.938 kB / 0.4896 GB, free: 10.55 MB / 382.1 MB Notification: Performance of Templates: time 0.004118/0.1108, allocations: 1.448 MB / 0.491 GB, free: 9.098 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)