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.00165/0.00165, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002328/0.002328, allocations: 216.6 kB / 22.25 MB, free: 5.129 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.477/1.477, allocations: 230.6 MB / 256 MB, free: 7.965 MB / 206.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.2039/0.2039, allocations: 24.14 MB / 336.6 MB, free: 11.41 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: "" <> buildModelFMU(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P,fileNamePrefix="AES_AES_ProcessComponents_Electric_Generators_PAport_Generator_order0_fixed_P",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P,fileNamePrefix="AES_AES_ProcessComponents_Electric_Generators_PAport_Generator_order0_fixed_P",fmuType="me",version="2.0",platforms={"static"}) [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.002027/0.002027, allocations: 67.83 kB / 470.9 MB, free: 8.758 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.3289, allocations: 59.6 MB / 0.5181 GB, free: 8.973 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P): time 0.002868/0.3317, allocations: 1.639 MB / 0.5197 GB, free: 7.953 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007742/0.3325, allocations: 489.8 kB / 0.5202 GB, free: 7.625 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.296e-05/0.3326, allocations: 4 kB / 0.5202 GB, free: 7.621 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.304e-05/0.3326, allocations: 11.31 kB / 0.5202 GB, free: 7.613 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001912/0.3328, allocations: 30.06 kB / 0.5202 GB, free: 7.594 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.516e-05/0.3329, allocations: 23.42 kB / 0.5202 GB, free: 7.578 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.333, allocations: 105.2 kB / 0.5203 GB, free: 7.527 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.3331, allocations: 18.05 kB / 0.5203 GB, free: 7.523 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002087/0.3333, allocations: 55.62 kB / 0.5204 GB, free: 7.496 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.3334, allocations: 47.88 kB / 0.5204 GB, free: 7.473 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.164e-05/0.3335, allocations: 7.969 kB / 0.5204 GB, free: 7.473 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.026e-05/0.3335, allocations: 11.94 kB / 0.5205 GB, free: 7.469 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.734e-05/0.3335, allocations: 22.98 kB / 0.5205 GB, free: 7.453 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.831e-05/0.3335, allocations: 41.09 kB / 0.5205 GB, free: 7.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001419/0.3337, allocations: 88.84 kB / 0.5206 GB, free: 7.395 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3337, allocations: 0 / 0.5206 GB, free: 7.395 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3337, allocations: 0 / 0.5206 GB, free: 7.395 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.3337, allocations: 1.531 kB / 0.5206 GB, free: 7.395 MB / 382.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.000526/0.3342, allocations: 327.9 kB / 0.5209 GB, free: 7.098 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.3343, allocations: 14.17 kB / 0.5209 GB, free: 7.094 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.673e-05/0.3343, allocations: 47.08 kB / 0.521 GB, free: 7.043 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.046e-05/0.3344, allocations: 11.39 kB / 0.521 GB, free: 7.039 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.3345, allocations: 140.5 kB / 0.5211 GB, free: 6.891 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.3345, allocations: 7.094 kB / 0.5211 GB, free: 6.891 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.71e-05/0.3346, allocations: 14.38 kB / 0.5211 GB, free: 6.883 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.3347, allocations: 75.47 kB / 0.5212 GB, free: 6.836 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.3347, allocations: 1.125 kB / 0.5212 GB, free: 6.836 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.3347, allocations: 4 kB / 0.5212 GB, free: 6.832 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.3347, allocations: 6.344 kB / 0.5212 GB, free: 6.828 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.839e-05/0.3348, allocations: 53.09 kB / 0.5213 GB, free: 6.805 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005254/0.3353, allocations: 330.4 kB / 0.5216 GB, free: 6.527 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002604/0.3356, allocations: 88.44 kB / 0.5217 GB, free: 6.48 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.665e-05/0.3357, allocations: 42.77 kB / 0.5217 GB, free: 6.457 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.024e-05/0.3357, allocations: 5.094 kB / 0.5217 GB, free: 6.453 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.394e-05/0.3357, allocations: 32.69 kB / 0.5218 GB, free: 6.414 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.3357, allocations: 3.938 kB / 0.5218 GB, free: 6.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006895/0.3364, allocations: 342.2 kB / 0.5221 GB, free: 6.16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.237e-05/0.3364, allocations: 56.53 kB / 0.5221 GB, free: 6.094 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.3365, allocations: 149.8 kB / 0.5223 GB, free: 5.977 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.055e-05/0.3365, allocations: 31.14 kB / 0.5223 GB, free: 5.941 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.328e-05/0.3366, allocations: 103.2 kB / 0.5224 GB, free: 5.844 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.71e-05/0.3366, allocations: 40.7 kB / 0.5224 GB, free: 5.812 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.285e-05/0.3366, allocations: 28.67 kB / 0.5225 GB, free: 5.789 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.794e-05/0.3367, allocations: 325.9 kB / 0.5228 GB, free: 5.469 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.111e-05/0.3367, allocations: 25.22 kB / 0.5228 GB, free: 5.461 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.537e-05/0.3368, allocations: 57.02 kB / 0.5229 GB, free: 5.422 MB / 382.1 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.000428/0.3372, allocations: 167.5 kB / 0.523 GB, free: 5.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3372, allocations: 3.938 kB / 0.523 GB, free: 5.336 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002264/0.3375, allocations: 148 kB / 0.5232 GB, free: 5.254 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.3375, allocations: 8.875 kB / 0.5232 GB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.3375, allocations: 1.188 kB / 0.5232 GB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001562/0.3376, allocations: 40.48 kB / 0.5232 GB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.979e-05/0.3377, allocations: 27.7 kB / 0.5232 GB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001017/0.3388, allocations: 1.512 MB / 0.5247 GB, free: 3.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.857e-05/0.3388, allocations: 6.609 kB / 0.5247 GB, free: 3.746 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.3388, allocations: 3.312 kB / 0.5247 GB, free: 3.746 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 9.295e-05/0.3389, allocations: 130 kB / 0.5249 GB, free: 3.617 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.28e-05/0.339, allocations: 12.45 kB / 0.5249 GB, free: 3.609 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.314e-05/0.339, allocations: 12.55 kB / 0.5249 GB, free: 3.605 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.339, allocations: 1.062 kB / 0.5249 GB, free: 3.605 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/0.339, allocations: 1.062 kB / 0.5249 GB, free: 3.605 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.339, allocations: 1.219 kB / 0.5249 GB, free: 3.605 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004291/0.3394, allocations: 416.9 kB / 0.5253 GB, free: 3.246 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.3394, allocations: 0.9375 kB / 0.5253 GB, free: 3.246 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.415e-05/0.3395, allocations: 20.73 kB / 0.5253 GB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001262/0.3397, allocations: 37.11 kB / 0.5253 GB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.3397, allocations: 2.062 kB / 0.5253 GB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007974/0.3405, allocations: 1.513 MB / 0.5268 GB, free: 1.754 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.3405, allocations: 2.188 kB / 0.5268 GB, free: 1.754 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002643/0.3407, allocations: 273.7 kB / 0.5271 GB, free: 1.539 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.18e-05/0.3408, allocations: 13.38 kB / 0.5271 GB, free: 1.531 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.17e-05/0.3408, allocations: 10.69 kB / 0.5271 GB, free: 1.523 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.913e-05/0.3409, allocations: 1.125 kB / 0.5271 GB, free: 1.523 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.225e-05/0.3409, allocations: 16.11 kB / 0.5271 GB, free: 1.516 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.3409, allocations: 3.844 kB / 0.5271 GB, free: 1.516 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.862e-05/0.341, allocations: 116 kB / 0.5272 GB, free: 1.426 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.341, allocations: 0 / 0.5272 GB, free: 1.426 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003572/0.3414, allocations: 27.22 kB / 0.5273 GB, free: 1.422 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.0004447/0.3418, allocations: 0.8034 MB / 0.528 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003133/0.3421, allocations: 191 kB / 0.5282 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.3421, allocations: 1.219 kB / 0.5282 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001399/0.3423, allocations: 162 kB / 0.5284 GB, free: 412 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002541/0.3425, allocations: 18.55 kB / 0.5284 GB, free: 400 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002528/0.345, allocations: 1.96 MB / 0.5303 GB, free: 14.79 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003768/0.3454, allocations: 0.7037 MB / 0.531 GB, free: 14.09 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.392e-05/0.3455, allocations: 13.27 kB / 0.531 GB, free: 14.09 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.383e-05/0.3455, allocations: 26.14 kB / 0.531 GB, free: 14.07 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3455, allocations: 1.156 kB / 0.531 GB, free: 14.07 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0338/0.3793, allocations: 3.084 MB / 0.5341 GB, free: 13.57 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.73/13.11, allocations: 9.094 kB / 0.5341 GB, free: 13.57 MB / 398.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_ProcessComponents_Electric_Generators_PAport_Generator_order0_fixed_P_fmu --startTime=0 --stopTime=1 --stepSize=0.002 --timeout=50 --tolerance=1e-06 AES_AES_ProcessComponents_Electric_Generators_PAport_Generator_order0_fixed_P.fmu > AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.843377040000632] Failed to read output from testmodel.py, exit status != 0: 13.22712628194131 13.254021501 12.916918607 Calling exit ...