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.001335/0.001335, allocations: 100.3 kB / 19.72 MB, free: 1.785 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.001535/0.001535, allocations: 209 kB / 23.01 MB, free: 4.621 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.496/1.496, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.1467/0.1467, allocations: 24.04 MB / 337.2 MB, free: 11.35 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.002152/0.002152, allocations: 71.89 kB / 471.5 MB, free: 8.766 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3635, allocations: 59.56 MB / 0.5186 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P): time 0.00276/0.3663, allocations: 1.582 MB / 0.5201 GB, free: 7.957 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00101/0.3673, allocations: 455.9 kB / 0.5206 GB, free: 7.664 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.849e-05/0.3673, allocations: 0 / 0.5206 GB, free: 7.664 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.341e-05/0.3674, allocations: 10.59 kB / 0.5206 GB, free: 7.656 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002741/0.3677, allocations: 41.17 kB / 0.5206 GB, free: 7.625 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.991e-05/0.3678, allocations: 16.69 kB / 0.5206 GB, free: 7.617 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001911/0.368, allocations: 101.2 kB / 0.5207 GB, free: 7.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001712/0.3681, allocations: 21.39 kB / 0.5208 GB, free: 7.562 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002244/0.3684, allocations: 55.97 kB / 0.5208 GB, free: 7.535 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.3685, allocations: 40.27 kB / 0.5209 GB, free: 7.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.393e-05/0.3685, allocations: 7.812 kB / 0.5209 GB, free: 7.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.309e-05/0.3685, allocations: 7.875 kB / 0.5209 GB, free: 7.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.552e-05/0.3685, allocations: 22.88 kB / 0.5209 GB, free: 7.504 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.323e-05/0.3686, allocations: 40.94 kB / 0.5209 GB, free: 7.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001556/0.3687, allocations: 93.59 kB / 0.521 GB, free: 7.441 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/0.3688, allocations: 1.75 kB / 0.521 GB, free: 7.441 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3688, allocations: 0 / 0.521 GB, free: 7.441 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.3688, allocations: 0 / 0.521 GB, free: 7.441 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.000558/0.3693, allocations: 331.9 kB / 0.5213 GB, free: 7.141 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.3694, allocations: 10.08 kB / 0.5213 GB, free: 7.141 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.522e-05/0.3694, allocations: 43.17 kB / 0.5214 GB, free: 7.094 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.653e-05/0.3695, allocations: 11.31 kB / 0.5214 GB, free: 7.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.3696, allocations: 136.8 kB / 0.5215 GB, free: 6.945 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.3696, allocations: 11.62 kB / 0.5215 GB, free: 6.938 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.272e-05/0.3697, allocations: 10.33 kB / 0.5215 GB, free: 6.934 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.3698, allocations: 80.58 kB / 0.5216 GB, free: 6.883 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.3698, allocations: 0 / 0.5216 GB, free: 6.883 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.3698, allocations: 0.875 kB / 0.5216 GB, free: 6.883 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.3698, allocations: 2.188 kB / 0.5216 GB, free: 6.883 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.835e-05/0.3699, allocations: 44.38 kB / 0.5217 GB, free: 6.867 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005838/0.3705, allocations: 326.7 kB / 0.522 GB, free: 6.586 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002856/0.3708, allocations: 96.58 kB / 0.5221 GB, free: 6.531 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.942e-05/0.3709, allocations: 35 kB / 0.5221 GB, free: 6.516 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.3709, allocations: 1.094 kB / 0.5221 GB, free: 6.516 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.3709, allocations: 37.16 kB / 0.5221 GB, free: 6.473 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.362e-06/0.3709, allocations: 0 / 0.5221 GB, free: 6.473 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007212/0.3716, allocations: 349.5 kB / 0.5225 GB, free: 6.215 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.29e-05/0.3717, allocations: 52.88 kB / 0.5225 GB, free: 6.152 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.3718, allocations: 146 kB / 0.5227 GB, free: 6.039 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.3718, allocations: 31.62 kB / 0.5227 GB, free: 6.004 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.964e-05/0.3719, allocations: 102.6 kB / 0.5228 GB, free: 5.906 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.381e-05/0.3719, allocations: 44.98 kB / 0.5228 GB, free: 5.871 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.228e-05/0.372, allocations: 29.28 kB / 0.5229 GB, free: 5.848 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.252e-05/0.372, allocations: 320.2 kB / 0.5232 GB, free: 5.531 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.882e-05/0.3721, allocations: 26.22 kB / 0.5232 GB, free: 5.523 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.911e-05/0.3722, allocations: 57.88 kB / 0.5233 GB, free: 5.484 MB / 382.1 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.0004432/0.3726, allocations: 166.9 kB / 0.5234 GB, free: 5.402 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3726, allocations: 3.938 kB / 0.5234 GB, free: 5.398 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002335/0.3728, allocations: 154.2 kB / 0.5236 GB, free: 5.312 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.3729, allocations: 5.719 kB / 0.5236 GB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.3729, allocations: 1.844 kB / 0.5236 GB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001574/0.373, allocations: 36.09 kB / 0.5236 GB, free: 5.297 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.656e-05/0.3731, allocations: 22.95 kB / 0.5236 GB, free: 5.297 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001105/0.3742, allocations: 1.506 MB / 0.5251 GB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.387e-05/0.3743, allocations: 6.562 kB / 0.5251 GB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.484e-05/0.3743, allocations: 18.81 kB / 0.5251 GB, free: 3.805 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.923e-05/0.3744, allocations: 124.3 kB / 0.5252 GB, free: 3.684 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.427e-05/0.3745, allocations: 12.19 kB / 0.5252 GB, free: 3.676 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.624e-05/0.3745, allocations: 16.19 kB / 0.5253 GB, free: 3.668 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3745, allocations: 1.922 kB / 0.5253 GB, free: 3.668 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.3745, allocations: 1.125 kB / 0.5253 GB, free: 3.668 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.3745, allocations: 0.6094 kB / 0.5253 GB, free: 3.668 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004593/0.3749, allocations: 398.4 kB / 0.5256 GB, free: 3.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.3749, allocations: 0 / 0.5256 GB, free: 3.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.198e-05/0.375, allocations: 17.66 kB / 0.5257 GB, free: 3.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001303/0.3752, allocations: 44.86 kB / 0.5257 GB, free: 3.301 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.3752, allocations: 1.875 kB / 0.5257 GB, free: 3.301 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008857/0.3761, allocations: 1.51 MB / 0.5272 GB, free: 1.824 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.3761, allocations: 0 / 0.5272 GB, free: 1.824 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002933/0.3764, allocations: 278.2 kB / 0.5274 GB, free: 1.609 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.509e-05/0.3764, allocations: 13.94 kB / 0.5275 GB, free: 1.602 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.3764, allocations: 6.281 kB / 0.5275 GB, free: 1.598 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.426e-05/0.3765, allocations: 2 kB / 0.5275 GB, free: 1.598 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.028e-05/0.3765, allocations: 12.39 kB / 0.5275 GB, free: 1.594 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.297e-06/0.3765, allocations: 8.031 kB / 0.5275 GB, free: 1.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.128e-05/0.3766, allocations: 118.4 kB / 0.5276 GB, free: 1.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3766, allocations: 0 / 0.5276 GB, free: 1.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003747/0.377, allocations: 27.5 kB / 0.5276 GB, free: 1.496 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.0005129/0.3775, allocations: 0.8022 MB / 0.5284 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003751/0.3779, allocations: 199.1 kB / 0.5286 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3779, allocations: 4.125 kB / 0.5286 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001474/0.378, allocations: 157.1 kB / 0.5288 GB, free: 484 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002833/0.3783, allocations: 8.703 kB / 0.5288 GB, free: 480 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002663/0.381, allocations: 1.956 MB / 0.5307 GB, free: 14.88 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001157/0.3811, allocations: 93.55 kB / 0.5308 GB, free: 14.8 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.617e-05/0.3811, allocations: 7.875 kB / 0.5308 GB, free: 14.8 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.317e-05/0.3812, allocations: 31.81 kB / 0.5308 GB, free: 14.78 MB / 398.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3812, allocations: 0 / 0.5308 GB, free: 14.78 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03767/0.4189, allocations: 3.365 MB / 0.5341 GB, free: 13.83 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.94/13.36, allocations: 5.078 kB / 0.5341 GB, free: 13.83 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: 16.115313151851296] Failed to read output from testmodel.py, exit status != 0: 13.485754748806357 13.510617198 13.137032327 Calling exit ...