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.001585/0.001585, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001483/0.001483, allocations: 218.5 kB / 23.03 MB, free: 4.949 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.492/1.492, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.1385/0.1385, allocations: 22.94 MB / 336.2 MB, free: 12.42 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="cs",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="cs",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.002017/0.002017, allocations: 63.89 kB / 469.8 MB, free: 10.25 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3625, allocations: 59.29 MB / 0.5167 GB, free: 9.227 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P): time 0.002613/0.3652, allocations: 1.587 MB / 0.5183 GB, free: 8.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007933/0.366, allocations: 448 kB / 0.5187 GB, free: 8.191 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.77e-05/0.366, allocations: 3.938 kB / 0.5187 GB, free: 8.191 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.825e-05/0.3661, allocations: 6.797 kB / 0.5187 GB, free: 8.188 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002074/0.3663, allocations: 33.64 kB / 0.5187 GB, free: 8.164 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.796e-05/0.3663, allocations: 20.94 kB / 0.5187 GB, free: 8.152 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001326/0.3665, allocations: 109.5 kB / 0.5188 GB, free: 8.098 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.3666, allocations: 16.7 kB / 0.5189 GB, free: 8.094 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000211/0.3668, allocations: 52.55 kB / 0.5189 GB, free: 8.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.3669, allocations: 54.73 kB / 0.519 GB, free: 8.043 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.087e-05/0.3669, allocations: 7.688 kB / 0.519 GB, free: 8.043 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.068e-05/0.367, allocations: 8.719 kB / 0.519 GB, free: 8.043 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.559e-05/0.367, allocations: 18.44 kB / 0.519 GB, free: 8.031 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.367e-05/0.367, allocations: 40.88 kB / 0.519 GB, free: 8.008 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001555/0.3672, allocations: 85.34 kB / 0.5191 GB, free: 7.977 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3672, allocations: 1.062 kB / 0.5191 GB, free: 7.977 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3672, allocations: 0.7031 kB / 0.5191 GB, free: 7.977 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.3672, allocations: 1.531 kB / 0.5191 GB, free: 7.977 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.000573/0.3678, allocations: 326.7 kB / 0.5194 GB, free: 7.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.3678, allocations: 16.2 kB / 0.5194 GB, free: 7.676 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.544e-05/0.3679, allocations: 6.781 kB / 0.5195 GB, free: 7.672 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.09e-05/0.3679, allocations: 47.81 kB / 0.5195 GB, free: 7.621 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.511e-05/0.368, allocations: 10.27 kB / 0.5195 GB, free: 7.617 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.3681, allocations: 133.5 kB / 0.5196 GB, free: 7.477 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.3681, allocations: 12.33 kB / 0.5196 GB, free: 7.469 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.26e-05/0.3681, allocations: 14.39 kB / 0.5197 GB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.3683, allocations: 83.58 kB / 0.5197 GB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.3683, allocations: 1.453 kB / 0.5197 GB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.3683, allocations: 1.25 kB / 0.5197 GB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.3683, allocations: 5.156 kB / 0.5197 GB, free: 7.406 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.254e-05/0.3684, allocations: 43.47 kB / 0.5198 GB, free: 7.395 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005999/0.369, allocations: 330.1 kB / 0.5201 GB, free: 7.109 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002855/0.3693, allocations: 95.77 kB / 0.5202 GB, free: 7.059 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.999e-05/0.3694, allocations: 43.88 kB / 0.5202 GB, free: 7.039 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.177e-05/0.3694, allocations: 1.812 kB / 0.5202 GB, free: 7.039 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.3694, allocations: 36 kB / 0.5203 GB, free: 6.996 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.232e-06/0.3694, allocations: 0.9688 kB / 0.5203 GB, free: 6.996 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009949/0.3704, allocations: 403.6 kB / 0.5207 GB, free: 6.715 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.648e-05/0.3705, allocations: 54.16 kB / 0.5207 GB, free: 6.652 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.3706, allocations: 146.7 kB / 0.5209 GB, free: 6.539 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.3706, allocations: 25.7 kB / 0.5209 GB, free: 6.508 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.764e-05/0.3707, allocations: 103.5 kB / 0.521 GB, free: 6.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.469e-05/0.3707, allocations: 54.89 kB / 0.521 GB, free: 6.367 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.472e-05/0.3708, allocations: 34.86 kB / 0.5211 GB, free: 6.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.899e-05/0.3709, allocations: 321.5 kB / 0.5214 GB, free: 6.023 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.912e-05/0.3709, allocations: 33.19 kB / 0.5214 GB, free: 6.012 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.138e-05/0.371, allocations: 59.92 kB / 0.5215 GB, free: 5.973 MB / 382.1 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.0005081/0.3715, allocations: 188.7 kB / 0.5216 GB, free: 5.883 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3715, allocations: 0 / 0.5216 GB, free: 5.883 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002799/0.3718, allocations: 171.3 kB / 0.5218 GB, free: 5.789 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.3718, allocations: 6.188 kB / 0.5218 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.3719, allocations: 0.9062 kB / 0.5218 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001987/0.3721, allocations: 36.34 kB / 0.5218 GB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/0.3722, allocations: 31.2 kB / 0.5219 GB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001347/0.3735, allocations: 1.503 MB / 0.5233 GB, free: 4.301 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.77e-05/0.3736, allocations: 6.531 kB / 0.5233 GB, free: 4.297 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.3736, allocations: 7.719 kB / 0.5234 GB, free: 4.293 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 (16): * Single equations (assignments): 15 * 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.0001531/0.3738, allocations: 128.4 kB / 0.5235 GB, free: 4.168 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.045e-05/0.3738, allocations: 13.47 kB / 0.5235 GB, free: 4.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.497e-05/0.3739, allocations: 22.89 kB / 0.5235 GB, free: 4.148 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3739, allocations: 1.531 kB / 0.5235 GB, free: 4.148 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.3739, allocations: 0 / 0.5235 GB, free: 4.148 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.3739, allocations: 6.609 kB / 0.5235 GB, free: 4.145 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005927/0.3745, allocations: 426.1 kB / 0.5239 GB, free: 3.785 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.3745, allocations: 1.094 kB / 0.5239 GB, free: 3.785 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001238/0.3746, allocations: 21.69 kB / 0.5239 GB, free: 3.785 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001555/0.3748, allocations: 44.41 kB / 0.524 GB, free: 3.766 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.3748, allocations: 2.188 kB / 0.524 GB, free: 3.766 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001085/0.3759, allocations: 1.504 MB / 0.5255 GB, free: 2.297 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.3759, allocations: 4.453 kB / 0.5255 GB, free: 2.293 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003597/0.3762, allocations: 292 kB / 0.5257 GB, free: 2.078 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.608e-05/0.3762, allocations: 20.56 kB / 0.5258 GB, free: 2.062 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.14e-05/0.3763, allocations: 7.422 kB / 0.5258 GB, free: 2.059 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.3764, allocations: 5.797 kB / 0.5258 GB, free: 2.055 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.808e-05/0.3764, allocations: 13.53 kB / 0.5258 GB, free: 2.051 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.3764, allocations: 4.469 kB / 0.5258 GB, free: 2.051 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.941e-05/0.3765, allocations: 112.2 kB / 0.5259 GB, free: 1.965 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3765, allocations: 3.938 kB / 0.5259 GB, free: 1.961 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003631/0.3769, allocations: 28.62 kB / 0.5259 GB, free: 1.957 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 (11): * Single equations (assignments): 10 * 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.0005709/0.3774, allocations: 0.8189 MB / 0.5267 GB, free: 1.219 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004814/0.3779, allocations: 211.8 kB / 0.5269 GB, free: 1.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3779, allocations: 0 / 0.5269 GB, free: 1.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002011/0.3781, allocations: 160.2 kB / 0.5271 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.3784, allocations: 12.09 kB / 0.5271 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002678/0.3811, allocations: 2.017 MB / 0.5291 GB, free: 15.32 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001244/0.3812, allocations: 92.77 kB / 0.5292 GB, free: 15.25 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.342e-05/0.3813, allocations: 11.8 kB / 0.5292 GB, free: 15.25 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.491e-05/0.3813, allocations: 35.39 kB / 0.5292 GB, free: 15.22 MB / 398.1 MB Notification: Performance of SimCode: time 8.82e-07/0.3813, allocations: 1.062 kB / 0.5292 GB, free: 15.22 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03895/0.4203, allocations: 3.205 MB / 0.5323 GB, free: 14.66 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.31/13.73, allocations: 10.91 kB / 0.5323 GB, free: 14.66 MB / 398.1 MB " [Timeout remaining time 646] (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.581609042943455] Failed to read output from testmodel.py, exit status != 0: 13.904549465049058 13.929667505 13.558096455 Calling exit ...