Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_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.001325/0.001325, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001674/0.001674, allocations: 218.5 kB / 23.01 MB, free: 4.609 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.467/1.467, allocations: 230.6 MB / 256.8 MB, free: 8.035 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.1115/0.1115, allocations: 24.12 MB / 337.3 MB, free: 11.47 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: translateModel(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P") translateModel(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P") [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.002241/0.002241, allocations: 71.84 kB / 472.2 MB, free: 8.277 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.3332, allocations: 59.6 MB / 0.5193 GB, free: 9.254 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P): time 0.002511/0.3357, allocations: 1.508 MB / 0.5208 GB, free: 8.285 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000754/0.3364, allocations: 453 kB / 0.5212 GB, free: 7.988 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.49e-05/0.3365, allocations: 0 / 0.5212 GB, free: 7.988 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.024e-05/0.3365, allocations: 9.703 kB / 0.5212 GB, free: 7.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001935/0.3367, allocations: 33.08 kB / 0.5213 GB, free: 7.957 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.201e-05/0.3368, allocations: 14.36 kB / 0.5213 GB, free: 7.949 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001169/0.3369, allocations: 73.22 kB / 0.5214 GB, free: 7.918 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.105e-05/0.337, allocations: 3.5 kB / 0.5214 GB, free: 7.918 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001689/0.3371, allocations: 40.83 kB / 0.5214 GB, free: 7.902 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.3372, allocations: 38.5 kB / 0.5214 GB, free: 7.883 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.3372, allocations: 4.062 kB / 0.5214 GB, free: 7.883 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.414e-05/0.3373, allocations: 4.344 kB / 0.5214 GB, free: 7.883 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.871e-05/0.3373, allocations: 13.38 kB / 0.5215 GB, free: 7.875 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.994e-05/0.3373, allocations: 29.44 kB / 0.5215 GB, free: 7.859 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001095/0.3374, allocations: 51.11 kB / 0.5215 GB, free: 7.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3374, allocations: 0 / 0.5215 GB, free: 7.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.3374, allocations: 1.375 kB / 0.5215 GB, free: 7.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.3374, allocations: 0 / 0.5215 GB, free: 7.84 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005245/0.338, allocations: 304.4 kB / 0.5218 GB, free: 7.559 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.338, allocations: 10.98 kB / 0.5218 GB, free: 7.559 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.089e-05/0.338, allocations: 8.891 kB / 0.5218 GB, free: 7.555 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.3382, allocations: 136.2 kB / 0.522 GB, free: 7.406 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.3382, allocations: 2.688 kB / 0.522 GB, free: 7.406 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.35e-05/0.3382, allocations: 13.45 kB / 0.522 GB, free: 7.402 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/0.3383, allocations: 61.19 kB / 0.522 GB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.3383, allocations: 0 / 0.522 GB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.3383, allocations: 1.469 kB / 0.522 GB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.3383, allocations: 1.5 kB / 0.5221 GB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.228e-05/0.3384, allocations: 33.48 kB / 0.5221 GB, free: 7.348 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004437/0.3388, allocations: 286.6 kB / 0.5224 GB, free: 7.082 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002595/0.3391, allocations: 76.14 kB / 0.5224 GB, free: 7.043 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.703e-05/0.3392, allocations: 32.31 kB / 0.5225 GB, free: 7.027 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/0.3392, allocations: 1.031 kB / 0.5225 GB, free: 7.027 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.461e-05/0.3392, allocations: 35.91 kB / 0.5225 GB, free: 6.984 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.263e-06/0.3392, allocations: 0 / 0.5225 GB, free: 6.984 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006605/0.3398, allocations: 322.1 kB / 0.5228 GB, free: 6.742 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.211e-05/0.3399, allocations: 53.56 kB / 0.5229 GB, free: 6.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.34, allocations: 131.7 kB / 0.523 GB, free: 6.566 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.013e-05/0.34, allocations: 25.7 kB / 0.523 GB, free: 6.535 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.941e-05/0.34, allocations: 97.11 kB / 0.5231 GB, free: 6.441 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.443e-05/0.34, allocations: 44.27 kB / 0.5231 GB, free: 6.406 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-05/0.3401, allocations: 28.52 kB / 0.5232 GB, free: 6.383 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.065e-05/0.3401, allocations: 320.5 kB / 0.5235 GB, free: 6.066 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.336e-05/0.3402, allocations: 18.75 kB / 0.5235 GB, free: 6.062 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.706e-05/0.3402, allocations: 57.39 kB / 0.5235 GB, free: 6.02 MB / 382.1 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.0003822/0.3406, allocations: 141.8 kB / 0.5237 GB, free: 5.957 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3406, allocations: 1.344 kB / 0.5237 GB, free: 5.957 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002102/0.3408, allocations: 139.5 kB / 0.5238 GB, free: 5.875 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.3408, allocations: 5.625 kB / 0.5238 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.3408, allocations: 1.5 kB / 0.5238 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001503/0.341, allocations: 32.45 kB / 0.5239 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.605e-05/0.3411, allocations: 20 kB / 0.5239 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001026/0.3421, allocations: 1.475 MB / 0.5253 GB, free: 4.414 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.464e-05/0.3422, allocations: 9.469 kB / 0.5253 GB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.3422, allocations: 4.203 kB / 0.5253 GB, free: 4.406 MB / 382.1 MB Warning: Assuming fixed start value for the following 1 variables: 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: Pm = 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 (12): * Single equations (assignments): 11 * 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.205e-05/0.3423, allocations: 114.9 kB / 0.5254 GB, free: 4.289 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.426e-05/0.3423, allocations: 16.2 kB / 0.5254 GB, free: 4.277 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.031e-05/0.3424, allocations: 14.78 kB / 0.5255 GB, free: 4.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.3424, allocations: 1.25 kB / 0.5255 GB, free: 4.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.3424, allocations: 1.312 kB / 0.5255 GB, free: 4.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3424, allocations: 4.703 kB / 0.5255 GB, free: 4.266 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003842/0.3427, allocations: 362.5 kB / 0.5258 GB, free: 3.938 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.3427, allocations: 1.656 kB / 0.5258 GB, free: 3.938 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.023e-05/0.3428, allocations: 15.56 kB / 0.5258 GB, free: 3.938 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001264/0.343, allocations: 40.27 kB / 0.5259 GB, free: 3.922 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.343, allocations: 2.25 kB / 0.5259 GB, free: 3.922 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008004/0.3438, allocations: 1.473 MB / 0.5273 GB, free: 2.477 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.3438, allocations: 5.672 kB / 0.5273 GB, free: 2.473 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002342/0.344, allocations: 240.3 kB / 0.5275 GB, free: 2.285 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.866e-05/0.344, allocations: 16.66 kB / 0.5276 GB, free: 2.273 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.344, allocations: 5.312 kB / 0.5276 GB, free: 2.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.049e-05/0.3441, allocations: 1.812 kB / 0.5276 GB, free: 2.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.255e-05/0.3442, allocations: 11.92 kB / 0.5276 GB, free: 2.266 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.3442, allocations: 2.156 kB / 0.5276 GB, free: 2.266 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.992e-05/0.3442, allocations: 101.1 kB / 0.5277 GB, free: 2.184 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3442, allocations: 0 / 0.5277 GB, free: 2.184 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003431/0.3446, allocations: 25.09 kB / 0.5277 GB, free: 2.18 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (thetap,deltag,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 (7): * Single equations (assignments): 6 * 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.763e-05/0.3447, allocations: 111.8 kB / 0.5278 GB, free: 2.078 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002946/0.345, allocations: 178 kB / 0.528 GB, free: 1.945 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.345, allocations: 0 / 0.528 GB, free: 1.945 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001341/0.3451, allocations: 143.2 kB / 0.5281 GB, free: 1.824 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002555/0.3453, allocations: 14.44 kB / 0.5281 GB, free: 1.816 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007535/0.3461, allocations: 451.8 kB / 0.5286 GB, free: 1.473 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000119/0.3462, allocations: 0.6958 MB / 0.5292 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.292e-05/0.3463, allocations: 12 kB / 0.5292 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3463, allocations: 3.938 kB / 0.5293 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of Templates: time 0.003491/0.3497, allocations: 1.374 MB / 0.5306 GB, free: 0.668 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P.makefile [Timeout 660] (rm -f AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P.pipe ; mkfifo AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P.pipe ; head -c 1048576 < AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P.pipe >> ../files/AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P.sim & ./AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.515771623002365] Failed to read output from testmodel.py, exit status != 0: 0.35884817503392696 0.37711841 0.036004621 Calling exit ...