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.001032/0.001032, allocations: 78.66 kB / 21.46 MB, free: 3.043 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.001025/0.001025, allocations: 167.4 kB / 24.86 MB, free: 9.297 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.031/1.031, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.07726/0.07726, allocations: 18.14 MB / 280 MB, free: 11.18 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.202e-06/1.202e-06, allocations: 0 / 356.1 MB, free: 11.04 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.176e-05/2.296e-05, allocations: 6.25 kB / 356.1 MB, free: 11.03 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P): time 0.00197/0.001993, allocations: 1.521 MB / 357.6 MB, free: 9.496 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005333/0.002526, allocations: 434.9 kB / 358 MB, free: 9.07 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.46e-05/0.002571, allocations: 0 / 358 MB, free: 9.07 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 3.919e-05/0.00261, allocations: 11.92 kB / 358.1 MB, free: 9.059 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001512/0.002761, allocations: 27.78 kB / 358.1 MB, free: 9.031 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.547e-05/0.002797, allocations: 15.97 kB / 358.1 MB, free: 9.016 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 7.47e-05/0.002872, allocations: 67.64 kB / 358.2 MB, free: 8.949 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.922e-05/0.002931, allocations: 4 kB / 358.2 MB, free: 8.945 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001469/0.003078, allocations: 43.89 kB / 358.2 MB, free: 8.902 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.664e-05/0.003144, allocations: 19.91 kB / 358.2 MB, free: 8.883 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.00316, allocations: 4 kB / 358.2 MB, free: 8.879 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.878e-06/0.00317, allocations: 7.938 kB / 358.2 MB, free: 8.871 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.793e-05/0.003188, allocations: 23.91 kB / 358.3 MB, free: 8.848 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.333e-05/0.003211, allocations: 19.92 kB / 358.3 MB, free: 8.828 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 7.901e-05/0.00329, allocations: 43.81 kB / 358.3 MB, free: 8.785 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.003292, allocations: 0 / 358.3 MB, free: 8.785 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.62e-07/0.003292, allocations: 0 / 358.3 MB, free: 8.785 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.003296, allocations: 0 / 358.3 MB, free: 8.785 MB / 330.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.0003759/0.003672, allocations: 404.4 kB / 358.7 MB, free: 8.355 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.003705, allocations: 8.922 kB / 358.7 MB, free: 8.348 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.085e-05/0.003735, allocations: 16.89 kB / 358.8 MB, free: 8.332 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.014e-05/0.003826, allocations: 136.4 kB / 358.9 MB, free: 8.172 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.003836, allocations: 384 / 358.9 MB, free: 8.172 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.003854, allocations: 12.36 kB / 358.9 MB, free: 8.16 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001959/0.00405, allocations: 54.17 kB / 358.9 MB, free: 8.102 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.742e-06/0.004057, allocations: 192 / 358.9 MB, free: 8.102 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.324e-06/0.004064, allocations: 7.938 kB / 359 MB, free: 8.094 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.004069, allocations: 0 / 359 MB, free: 8.094 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.698e-05/0.004096, allocations: 15.98 kB / 359 MB, free: 8.078 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002961/0.004392, allocations: 295.7 kB / 359.3 MB, free: 7.754 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001615/0.004553, allocations: 94.88 kB / 359.4 MB, free: 7.648 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.786e-05/0.004581, allocations: 23.77 kB / 359.4 MB, free: 7.621 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.622e-06/0.004588, allocations: 0 / 359.4 MB, free: 7.621 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.93e-05/0.004607, allocations: 37.39 kB / 359.4 MB, free: 7.574 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 8.72e-07/0.004608, allocations: 0 / 359.4 MB, free: 7.574 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004045/0.005013, allocations: 289.3 kB / 359.7 MB, free: 7.25 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.153e-05/0.005034, allocations: 51.52 kB / 359.7 MB, free: 7.188 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.197e-05/0.005116, allocations: 197.8 kB / 359.9 MB, free: 6.977 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/0.005126, allocations: 29.7 kB / 360 MB, free: 6.941 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.272e-05/0.005179, allocations: 146.7 kB / 360.1 MB, free: 6.793 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.137e-05/0.0052, allocations: 39.67 kB / 360.2 MB, free: 6.754 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/0.005235, allocations: 35.34 kB / 360.2 MB, free: 6.711 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.005342, allocations: 0.4884 MB / 360.7 MB, free: 6.211 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.636e-05/0.005359, allocations: 15.98 kB / 360.7 MB, free: 6.195 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.231e-05/0.005391, allocations: 42.42 kB / 360.7 MB, free: 6.145 MB / 330.7 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.0001088/0.0055, allocations: 94.84 kB / 360.8 MB, free: 6.043 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.005501, allocations: 0 / 360.8 MB, free: 6.043 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001349/0.005636, allocations: 125.2 kB / 360.9 MB, free: 5.91 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.005649, allocations: 7.938 kB / 361 MB, free: 5.902 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.005652, allocations: 4 kB / 361 MB, free: 5.898 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001596/0.005812, allocations: 43.62 kB / 361 MB, free: 5.852 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.24e-05/0.005864, allocations: 24.06 kB / 361 MB, free: 5.828 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001067/0.006931, allocations: 1.986 MB / 363 MB, free: 3.734 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.32e-05/0.006965, allocations: 4 kB / 363 MB, free: 3.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.00697, allocations: 7.922 kB / 363 MB, free: 3.723 MB / 330.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 7.561e-05/0.007046, allocations: 171.2 kB / 363.2 MB, free: 3.547 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.217e-05/0.007068, allocations: 15.95 kB / 363.2 MB, free: 3.531 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.239e-05/0.00708, allocations: 12.42 kB / 363.2 MB, free: 3.52 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.007082, allocations: 4 kB / 363.2 MB, free: 3.516 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.007083, allocations: 0 / 363.2 MB, free: 3.516 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.007087, allocations: 3.938 kB / 363.2 MB, free: 3.512 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002316/0.007318, allocations: 349.3 kB / 363.6 MB, free: 3.129 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.007321, allocations: 3.938 kB / 363.6 MB, free: 3.125 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.382e-05/0.007375, allocations: 15.98 kB / 363.6 MB, free: 3.109 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001256/0.007501, allocations: 43.67 kB / 363.6 MB, free: 3.062 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-06/0.007506, allocations: 4 kB / 363.6 MB, free: 3.059 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006936/0.008199, allocations: 2.001 MB / 365.6 MB, free: 0.9453 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.0082, allocations: 0 / 365.6 MB, free: 0.9453 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001627/0.008363, allocations: 275.1 kB / 365.9 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.045e-05/0.008374, allocations: 15.97 kB / 365.9 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.837e-06/0.008382, allocations: 4 kB / 365.9 MB, free: 0.6289 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.27e-05/0.008425, allocations: 3.938 kB / 365.9 MB, free: 0.625 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.421e-05/0.008439, allocations: 7.984 kB / 365.9 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.008444, allocations: 4 kB / 365.9 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.867e-05/0.008482, allocations: 135.2 kB / 366.1 MB, free: 492 kB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008482, allocations: 8.062 kB / 366.1 MB, free: 484 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002037/0.008686, allocations: 24 kB / 366.1 MB, free: 460 kB / 330.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 6.473e-05/0.008751, allocations: 99.19 kB / 366.2 MB, free: 352 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001923/0.008943, allocations: 245.3 kB / 366.4 MB, free: 84 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.008945, allocations: 0 / 366.4 MB, free: 84 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.942e-05/0.009044, allocations: 201.5 kB / 366.6 MB, free: 15.86 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001466/0.009191, allocations: 8.125 kB / 366.6 MB, free: 15.86 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005484/0.009739, allocations: 357.6 kB / 367 MB, free: 15.47 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.332e-05/0.009772, allocations: 71.28 kB / 367.1 MB, free: 15.38 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.667e-05/0.009799, allocations: 16.33 kB / 367.1 MB, free: 15.36 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.91e-05/0.009838, allocations: 74.2 kB / 367.1 MB, free: 15.29 MB / 346.7 MB Notification: Performance of SimCode: time 4.11e-07/0.009839, allocations: 0 / 367.1 MB, free: 15.29 MB / 346.7 MB Notification: Performance of Templates: time 0.002678/0.01252, allocations: 1.272 MB / 368.4 MB, free: 14.02 MB / 346.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: 2.8334869337268174]