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.001019/0.001019, allocations: 87.56 kB / 20.97 MB, free: 3.578 MB / 18.57 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.001027/0.001027, allocations: 177 kB / 24.27 MB, free: 280 kB / 18.57 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.076/1.076, allocations: 177.2 MB / 204.6 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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.06329/0.06329, allocations: 18.14 MB / 279.2 MB, free: 11.39 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 354.8 MB, free: 10.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.245e-05/2.413e-05, allocations: 5.406 kB / 354.9 MB, free: 10.59 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P): time 0.005086/0.00511, allocations: 1.532 MB / 356.4 MB, free: 9.047 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006104/0.00572, allocations: 442.9 kB / 356.8 MB, free: 8.613 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.951e-05/0.00576, allocations: 0 / 356.8 MB, free: 8.613 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.067e-05/0.00579, allocations: 3.938 kB / 356.8 MB, free: 8.609 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001379/0.005928, allocations: 27.78 kB / 356.9 MB, free: 8.582 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.773e-05/0.005966, allocations: 11.97 kB / 356.9 MB, free: 8.57 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.666e-05/0.006053, allocations: 75.64 kB / 356.9 MB, free: 8.496 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.607e-05/0.006099, allocations: 7.984 kB / 356.9 MB, free: 8.488 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001331/0.006232, allocations: 35.86 kB / 357 MB, free: 8.453 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.639e-05/0.006298, allocations: 27.89 kB / 357 MB, free: 8.426 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.006313, allocations: 4 kB / 357 MB, free: 8.422 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.949e-06/0.006323, allocations: 4 kB / 357 MB, free: 8.418 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.708e-05/0.00634, allocations: 15.92 kB / 357 MB, free: 8.402 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.237e-05/0.006372, allocations: 19.91 kB / 357 MB, free: 8.383 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 7.824e-05/0.006451, allocations: 47.81 kB / 357.1 MB, free: 8.336 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.006452, allocations: 0 / 357.1 MB, free: 8.336 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.006453, allocations: 0 / 357.1 MB, free: 8.336 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.006457, allocations: 0 / 357.1 MB, free: 8.336 MB / 282.7 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.00041/0.006867, allocations: 408.3 kB / 357.5 MB, free: 7.902 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.006901, allocations: 8.922 kB / 357.5 MB, free: 7.895 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.625e-05/0.006948, allocations: 16.89 kB / 357.5 MB, free: 7.879 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.00707, allocations: 124.5 kB / 357.6 MB, free: 7.73 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.007086, allocations: 12.31 kB / 357.7 MB, free: 7.719 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.825e-05/0.007104, allocations: 4.375 kB / 357.7 MB, free: 7.715 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.341e-05/0.007198, allocations: 58.23 kB / 357.7 MB, free: 7.652 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/0.007205, allocations: 192 / 357.7 MB, free: 7.652 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.007214, allocations: 3.938 kB / 357.7 MB, free: 7.648 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.007224, allocations: 4 kB / 357.7 MB, free: 7.645 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.313e-05/0.007267, allocations: 19.98 kB / 357.7 MB, free: 7.625 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003406/0.01067, allocations: 295.7 kB / 358 MB, free: 7.301 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002092/0.01088, allocations: 91.03 kB / 358.1 MB, free: 7.199 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.282e-05/0.01092, allocations: 31.69 kB / 358.1 MB, free: 7.164 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.194e-06/0.01093, allocations: 0 / 358.1 MB, free: 7.164 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.01096, allocations: 41.67 kB / 358.2 MB, free: 7.113 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.042e-06/0.01096, allocations: 7.875 kB / 358.2 MB, free: 7.105 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005481/0.01151, allocations: 297.8 kB / 358.5 MB, free: 6.773 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.53e-05/0.01153, allocations: 51.41 kB / 358.5 MB, free: 6.711 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.01164, allocations: 193.8 kB / 358.7 MB, free: 6.504 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.01165, allocations: 25.7 kB / 358.8 MB, free: 6.473 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.708e-05/0.01171, allocations: 150.7 kB / 358.9 MB, free: 6.32 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.68e-05/0.01174, allocations: 43.69 kB / 358.9 MB, free: 6.277 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.506e-05/0.01178, allocations: 35.38 kB / 359 MB, free: 6.234 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.01191, allocations: 0.4884 MB / 359.5 MB, free: 5.734 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.199e-05/0.01194, allocations: 15.98 kB / 359.5 MB, free: 5.719 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.205e-05/0.01199, allocations: 50.98 kB / 359.5 MB, free: 5.656 MB / 282.7 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.0001554/0.01215, allocations: 98.92 kB / 359.6 MB, free: 5.551 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.01215, allocations: 0 / 359.6 MB, free: 5.551 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001896/0.01234, allocations: 133.1 kB / 359.8 MB, free: 5.41 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.01235, allocations: 7.938 kB / 359.8 MB, free: 5.402 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.01236, allocations: 3.984 kB / 359.8 MB, free: 5.398 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000204/0.01256, allocations: 39.66 kB / 359.8 MB, free: 5.355 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.75e-05/0.01263, allocations: 23.98 kB / 359.8 MB, free: 5.332 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004074/0.0167, allocations: 2.024 MB / 361.9 MB, free: 3.191 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.482e-05/0.01675, allocations: 4 kB / 361.9 MB, free: 3.188 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.01676, allocations: 4 kB / 361.9 MB, free: 3.184 MB / 282.7 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 8.686e-05/0.01684, allocations: 164.5 kB / 362 MB, free: 3.012 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.702e-05/0.01687, allocations: 8.016 kB / 362 MB, free: 3.004 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.771e-05/0.01689, allocations: 24.42 kB / 362.1 MB, free: 2.98 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.01689, allocations: 0 / 362.1 MB, free: 2.98 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.01689, allocations: 3.938 kB / 362.1 MB, free: 2.977 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.01689, allocations: 0 / 362.1 MB, free: 2.977 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003236/0.01722, allocations: 376.6 kB / 362.4 MB, free: 2.559 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.01722, allocations: 0 / 362.4 MB, free: 2.559 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.099e-05/0.01728, allocations: 19.98 kB / 362.4 MB, free: 2.539 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001622/0.01744, allocations: 47.62 kB / 362.5 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.01745, allocations: 4 kB / 362.5 MB, free: 2.484 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008933/0.01834, allocations: 2.016 MB / 364.5 MB, free: 356 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.01835, allocations: 0 / 364.5 MB, free: 356 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002083/0.01855, allocations: 295 kB / 364.8 MB, free: 32 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.003e-05/0.01856, allocations: 7.953 kB / 364.8 MB, free: 24 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.143e-05/0.01858, allocations: 4 kB / 364.8 MB, free: 20 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.419e-05/0.01864, allocations: 3.984 kB / 364.8 MB, free: 16 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.138e-05/0.01866, allocations: 7.984 kB / 364.8 MB, free: 8 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.01867, allocations: 4 kB / 364.8 MB, free: 4 kB / 282.7 MB Notification: Performance of sorting global known variables: time 6.882e-05/0.01873, allocations: 143.3 kB / 365 MB, free: 15.86 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01874, allocations: 0 / 365 MB, free: 15.86 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000307/0.01904, allocations: 31.88 kB / 365 MB, free: 15.83 MB / 298.7 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 7.368e-05/0.01912, allocations: 103.2 kB / 365.1 MB, free: 15.71 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.006257/0.02537, allocations: 237.4 kB / 365.3 MB, free: 15.46 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.02537, allocations: 0 / 365.3 MB, free: 15.46 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001212/0.0255, allocations: 205.5 kB / 365.5 MB, free: 15.24 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002059/0.0257, allocations: 12 kB / 365.5 MB, free: 15.23 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007204/0.02642, allocations: 368.8 kB / 365.9 MB, free: 14.84 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.152e-05/0.02646, allocations: 63.34 kB / 366 MB, free: 14.76 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.797e-05/0.02649, allocations: 12.48 kB / 366 MB, free: 14.75 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.59e-05/0.02652, allocations: 12.5 kB / 366 MB, free: 14.73 MB / 298.7 MB Notification: Performance of SimCode: time 8.52e-07/0.02652, allocations: 0 / 366 MB, free: 14.73 MB / 298.7 MB Notification: Performance of Templates: time 0.00891/0.03543, allocations: 1.197 MB / 367.2 MB, free: 13.55 MB / 298.7 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=240 -lv LOG_STATS > AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0916003070306033]