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.001429/0.001429, allocations: 84.23 kB / 20.23 MB, free: 4.207 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.001544/0.001544, allocations: 157.7 kB / 23.53 MB, free: 0.9023 MB / 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.523/1.523, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 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.1076/0.1076, allocations: 18.15 MB / 278.5 MB, free: 11.32 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.883e-06/1.883e-06, allocations: 0 / 354.1 MB, free: 10.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.612e-05/2.8e-05, allocations: 2.312 kB / 354.1 MB, free: 10.59 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P): time 0.00301/0.003038, allocations: 1.474 MB / 355.6 MB, free: 9.105 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009002/0.003938, allocations: 431 kB / 356 MB, free: 8.684 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.139e-05/0.003989, allocations: 0 / 356 MB, free: 8.684 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.272e-05/0.004032, allocations: 7.875 kB / 356 MB, free: 8.676 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001842/0.004216, allocations: 27.72 kB / 356 MB, free: 8.648 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.449e-05/0.004271, allocations: 11.97 kB / 356.1 MB, free: 8.637 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001189/0.00439, allocations: 75.64 kB / 356.1 MB, free: 8.562 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.947e-05/0.004449, allocations: 4 kB / 356.1 MB, free: 8.559 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001718/0.004621, allocations: 31.91 kB / 356.2 MB, free: 8.527 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.004724, allocations: 31.89 kB / 356.2 MB, free: 8.496 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.004743, allocations: 4 kB / 356.2 MB, free: 8.492 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.512e-05/0.004759, allocations: 8 kB / 356.2 MB, free: 8.484 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.209e-05/0.004781, allocations: 11.92 kB / 356.2 MB, free: 8.473 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.596e-05/0.004827, allocations: 19.97 kB / 356.2 MB, free: 8.453 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001078/0.004934, allocations: 43.75 kB / 356.3 MB, free: 8.41 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.004936, allocations: 4 kB / 356.3 MB, free: 8.406 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.004937, allocations: 0 / 356.3 MB, free: 8.406 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.004942, allocations: 0 / 356.3 MB, free: 8.406 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.0005873/0.005529, allocations: 306 kB / 356.6 MB, free: 8.078 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.005567, allocations: 16.92 kB / 356.6 MB, free: 8.062 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.725e-05/0.005624, allocations: 8.891 kB / 356.6 MB, free: 8.055 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.005789, allocations: 125.7 kB / 356.7 MB, free: 7.906 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.005806, allocations: 4.375 kB / 356.7 MB, free: 7.902 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.848e-05/0.005835, allocations: 8.375 kB / 356.7 MB, free: 7.895 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.005966, allocations: 62.17 kB / 356.8 MB, free: 7.828 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.974e-06/0.005973, allocations: 192 / 356.8 MB, free: 7.828 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.005984, allocations: 3.938 kB / 356.8 MB, free: 7.824 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.005991, allocations: 4 kB / 356.8 MB, free: 7.82 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.654e-05/0.006068, allocations: 35.92 kB / 356.9 MB, free: 7.785 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005215/0.006589, allocations: 240.5 kB / 357.1 MB, free: 7.52 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002874/0.006877, allocations: 98.48 kB / 357.2 MB, free: 7.414 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.609e-05/0.006943, allocations: 28.86 kB / 357.2 MB, free: 7.383 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.36e-05/0.006956, allocations: 0 / 357.2 MB, free: 7.383 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.006991, allocations: 38.55 kB / 357.2 MB, free: 7.336 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 9.81e-07/0.006992, allocations: 0 / 357.2 MB, free: 7.336 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.000801/0.007793, allocations: 306 kB / 357.5 MB, free: 7 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.00784, allocations: 55.41 kB / 357.6 MB, free: 6.934 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001573/0.007997, allocations: 141.5 kB / 357.7 MB, free: 6.785 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.008017, allocations: 25.7 kB / 357.8 MB, free: 6.754 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.182e-05/0.008099, allocations: 104 kB / 357.9 MB, free: 6.648 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.178e-05/0.008141, allocations: 39.64 kB / 357.9 MB, free: 6.609 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.428e-05/0.008195, allocations: 29.7 kB / 357.9 MB, free: 6.574 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.008368, allocations: 322.8 kB / 358.2 MB, free: 6.25 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.711e-05/0.008416, allocations: 16 kB / 358.3 MB, free: 6.234 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.017e-05/0.008506, allocations: 46.56 kB / 358.3 MB, free: 6.18 MB / 282.7 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.0004479/0.008954, allocations: 154.5 kB / 358.5 MB, free: 6.02 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.008955, allocations: 0 / 358.5 MB, free: 6.02 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002608/0.009215, allocations: 130.4 kB / 358.6 MB, free: 5.883 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.009235, allocations: 11.98 kB / 358.6 MB, free: 5.871 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.00924, allocations: 11.94 kB / 358.6 MB, free: 5.859 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00032/0.00956, allocations: 36.83 kB / 358.6 MB, free: 5.82 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.776e-05/0.009658, allocations: 19.98 kB / 358.7 MB, free: 5.801 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001605/0.01126, allocations: 1.45 MB / 360.1 MB, free: 4.254 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.445e-05/0.01134, allocations: 3.984 kB / 360.1 MB, free: 4.25 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.01135, allocations: 8 kB / 360.1 MB, free: 4.242 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 0.0001422/0.01149, allocations: 125.5 kB / 360.3 MB, free: 4.113 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.809e-05/0.01153, allocations: 11.95 kB / 360.3 MB, free: 4.102 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.04e-05/0.01156, allocations: 16.42 kB / 360.3 MB, free: 4.086 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.01156, allocations: 4.094 kB / 360.3 MB, free: 4.082 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.01157, allocations: 11.94 kB / 360.3 MB, free: 4.07 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.614e-06/0.01157, allocations: 0 / 360.3 MB, free: 4.07 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004949/0.01207, allocations: 323.7 kB / 360.6 MB, free: 3.711 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.01207, allocations: 0 / 360.6 MB, free: 3.711 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.163e-05/0.01216, allocations: 15.98 kB / 360.6 MB, free: 3.695 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002721/0.01243, allocations: 44.84 kB / 360.7 MB, free: 3.648 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.01245, allocations: 4 kB / 360.7 MB, free: 3.645 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001537/0.01399, allocations: 1.449 MB / 362.1 MB, free: 2.094 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.01399, allocations: 0 / 362.1 MB, free: 2.094 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003601/0.01435, allocations: 245.2 kB / 362.4 MB, free: 1.832 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.069e-05/0.01437, allocations: 12.05 kB / 362.4 MB, free: 1.82 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.01439, allocations: 3.984 kB / 362.4 MB, free: 1.816 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.648e-05/0.01448, allocations: 4 kB / 362.4 MB, free: 1.812 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.653e-05/0.01451, allocations: 8.031 kB / 362.4 MB, free: 1.805 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.01452, allocations: 7.984 kB / 362.4 MB, free: 1.797 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.18e-05/0.01461, allocations: 103.3 kB / 362.5 MB, free: 1.695 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01461, allocations: 0 / 362.5 MB, free: 1.695 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003501/0.01496, allocations: 27.94 kB / 362.5 MB, free: 1.668 MB / 282.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 0.0001274/0.01509, allocations: 95.25 kB / 362.6 MB, free: 1.562 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003609/0.01545, allocations: 186.4 kB / 362.8 MB, free: 1.367 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.01545, allocations: 7.938 kB / 362.8 MB, free: 1.359 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001918/0.01564, allocations: 146.6 kB / 363 MB, free: 1.203 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000236/0.01588, allocations: 7.125 kB / 363 MB, free: 1.199 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008452/0.01672, allocations: 357.3 kB / 363.3 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.214e-05/0.01682, allocations: 75.58 kB / 363.4 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.337e-05/0.01686, allocations: 12.47 kB / 363.4 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.885e-05/0.0169, allocations: 12.5 kB / 363.4 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of SimCode: time 4.1e-07/0.0169, allocations: 4 kB / 363.4 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of Templates: time 0.004602/0.0215, allocations: 1.177 MB / 364.6 MB, free: 15.53 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=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: 4.536792577942833]