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.001552/0.001552, allocations: 105.5 kB / 19.73 MB, free: 2.223 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.002026/0.002026, allocations: 215.5 kB / 23.04 MB, free: 5.059 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.498/1.498, allocations: 230.6 MB / 256.8 MB, free: 7.973 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.1529/0.1529, allocations: 22.94 MB / 336.2 MB, free: 12.59 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.002378/0.002378, allocations: 64.12 kB / 469.9 MB, free: 10.36 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.3601, allocations: 59.28 MB / 0.5168 GB, free: 9.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P): time 0.002328/0.3624, allocations: 1.628 MB / 0.5184 GB, free: 8.582 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006569/0.3631, allocations: 498.1 kB / 0.5188 GB, free: 8.254 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.906e-05/0.3631, allocations: 1.188 kB / 0.5188 GB, free: 8.254 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.314e-05/0.3632, allocations: 10.45 kB / 0.5189 GB, free: 8.246 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000162/0.3633, allocations: 30.39 kB / 0.5189 GB, free: 8.227 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.325e-05/0.3634, allocations: 15.3 kB / 0.5189 GB, free: 8.219 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001158/0.3635, allocations: 109.2 kB / 0.519 GB, free: 8.168 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.3636, allocations: 25.53 kB / 0.519 GB, free: 8.156 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000145/0.3638, allocations: 48.06 kB / 0.5191 GB, free: 8.137 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.336e-05/0.3639, allocations: 47.09 kB / 0.5191 GB, free: 8.113 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.846e-05/0.3639, allocations: 12.12 kB / 0.5191 GB, free: 8.109 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.689e-05/0.3639, allocations: 8.5 kB / 0.5191 GB, free: 8.109 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.011e-05/0.3639, allocations: 22.17 kB / 0.5192 GB, free: 8.094 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.365e-05/0.364, allocations: 46.08 kB / 0.5192 GB, free: 8.066 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001185/0.3641, allocations: 88.06 kB / 0.5193 GB, free: 8.031 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.3641, allocations: 5 kB / 0.5193 GB, free: 8.027 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.3641, allocations: 0 / 0.5193 GB, free: 8.027 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.3641, allocations: 0 / 0.5193 GB, free: 8.027 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.0004808/0.3646, allocations: 327.8 kB / 0.5196 GB, free: 7.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.3646, allocations: 9.766 kB / 0.5196 GB, free: 7.73 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.958e-05/0.3646, allocations: 3.594 kB / 0.5196 GB, free: 7.73 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.124e-05/0.3647, allocations: 52.73 kB / 0.5197 GB, free: 7.676 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.159e-05/0.3647, allocations: 13.8 kB / 0.5197 GB, free: 7.672 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.3648, allocations: 135.6 kB / 0.5198 GB, free: 7.527 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.3648, allocations: 6.391 kB / 0.5198 GB, free: 7.527 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.336e-05/0.3648, allocations: 19 kB / 0.5198 GB, free: 7.516 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.365, allocations: 77.2 kB / 0.5199 GB, free: 7.469 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.365, allocations: 3.938 kB / 0.5199 GB, free: 7.465 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.365, allocations: 5.25 kB / 0.5199 GB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.365, allocations: 2.906 kB / 0.5199 GB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.837e-05/0.3651, allocations: 42.53 kB / 0.52 GB, free: 7.449 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005101/0.3656, allocations: 350.4 kB / 0.5203 GB, free: 7.156 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000204/0.3658, allocations: 90.88 kB / 0.5204 GB, free: 7.109 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.16e-05/0.3659, allocations: 41.88 kB / 0.5204 GB, free: 7.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.278e-05/0.3659, allocations: 2.516 kB / 0.5204 GB, free: 7.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.7e-05/0.3659, allocations: 45 kB / 0.5205 GB, free: 7.039 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.042e-06/0.3659, allocations: 0 / 0.5205 GB, free: 7.039 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007612/0.3667, allocations: 389.2 kB / 0.5208 GB, free: 6.777 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.253e-05/0.3667, allocations: 60.88 kB / 0.5209 GB, free: 6.707 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.3668, allocations: 150.6 kB / 0.521 GB, free: 6.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.013e-05/0.3668, allocations: 26.89 kB / 0.5211 GB, free: 6.559 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.773e-05/0.3668, allocations: 102.6 kB / 0.5212 GB, free: 6.461 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.06e-05/0.3669, allocations: 58.86 kB / 0.5212 GB, free: 6.414 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.502e-05/0.3669, allocations: 35.17 kB / 0.5213 GB, free: 6.387 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.929e-05/0.367, allocations: 325.9 kB / 0.5216 GB, free: 6.066 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.587e-05/0.367, allocations: 28.09 kB / 0.5216 GB, free: 6.059 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.752e-05/0.3671, allocations: 63.91 kB / 0.5217 GB, free: 6.016 MB / 382.1 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.000433/0.3675, allocations: 193.2 kB / 0.5218 GB, free: 5.922 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.3675, allocations: 0 / 0.5218 GB, free: 5.922 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002372/0.3678, allocations: 164.2 kB / 0.522 GB, free: 5.832 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.3678, allocations: 5.969 kB / 0.522 GB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.3678, allocations: 2.812 kB / 0.522 GB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001448/0.3679, allocations: 33.25 kB / 0.522 GB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.368, allocations: 34.06 kB / 0.5221 GB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001003/0.369, allocations: 1.508 MB / 0.5235 GB, free: 4.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.454e-05/0.3691, allocations: 1.031 kB / 0.5235 GB, free: 4.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.3691, allocations: 8.438 kB / 0.5235 GB, free: 4.336 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 9.432e-05/0.3692, allocations: 127 kB / 0.5237 GB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.295e-05/0.3693, allocations: 17.12 kB / 0.5237 GB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.565e-05/0.3693, allocations: 16.38 kB / 0.5237 GB, free: 4.191 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.3693, allocations: 5.094 kB / 0.5237 GB, free: 4.188 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.3693, allocations: 1.094 kB / 0.5237 GB, free: 4.188 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.3693, allocations: 3.094 kB / 0.5237 GB, free: 4.188 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004711/0.3698, allocations: 444.8 kB / 0.5241 GB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.3698, allocations: 5 kB / 0.5241 GB, free: 3.816 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.3699, allocations: 26.28 kB / 0.5242 GB, free: 3.812 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001215/0.37, allocations: 36.09 kB / 0.5242 GB, free: 3.801 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.37, allocations: 5.891 kB / 0.5242 GB, free: 3.797 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007687/0.3708, allocations: 1.505 MB / 0.5257 GB, free: 2.328 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.3708, allocations: 1.922 kB / 0.5257 GB, free: 2.328 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002739/0.371, allocations: 299.3 kB / 0.526 GB, free: 2.102 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.074e-05/0.3711, allocations: 13.36 kB / 0.526 GB, free: 2.094 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/0.3711, allocations: 7 kB / 0.526 GB, free: 2.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.187e-05/0.3712, allocations: 2 kB / 0.526 GB, free: 2.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.479e-05/0.3712, allocations: 20.81 kB / 0.526 GB, free: 2.078 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.3712, allocations: 4.578 kB / 0.526 GB, free: 2.078 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.069e-05/0.3713, allocations: 115.1 kB / 0.5261 GB, free: 1.992 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3713, allocations: 3.938 kB / 0.5261 GB, free: 1.988 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003305/0.3716, allocations: 28.25 kB / 0.5261 GB, free: 1.984 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.0003949/0.372, allocations: 0.8144 MB / 0.5269 GB, free: 1.246 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002832/0.3723, allocations: 208.3 kB / 0.5271 GB, free: 1.098 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3723, allocations: 4 kB / 0.5271 GB, free: 1.094 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001334/0.3724, allocations: 163.7 kB / 0.5273 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002324/0.3726, allocations: 16.41 kB / 0.5273 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002183/0.3748, allocations: 2.017 MB / 0.5293 GB, free: 15.34 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/0.3752, allocations: 0.7062 MB / 0.53 GB, free: 14.64 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.621e-05/0.3752, allocations: 14.2 kB / 0.53 GB, free: 14.64 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.465e-05/0.3753, allocations: 33.44 kB / 0.53 GB, free: 14.61 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3753, allocations: 0 / 0.53 GB, free: 14.61 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02666/0.4019, allocations: 3.272 MB / 0.5332 GB, free: 14.1 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.16/13.57, allocations: 16.27 kB / 0.5332 GB, free: 14.09 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.371791191981174] Failed to read output from testmodel.py, exit status != 0: 13.741725058003794 13.769695191 13.40080052 Calling exit ...