Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_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.0007926/0.0007926, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0011/0.001893, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006966/0.0006966, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009537/0.00165, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.9479/0.9479, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08861/1.036, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.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.06223/0.06223, allocations: 18.13 MB / 262.1 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0102/0.07243, allocations: 6.782 MB / 268.9 MB, free: 6.352 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_1stOrder_prescribed_P,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P") translateModel(AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 270.2 MB, free: 5.062 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.381e-05/1.493e-05, allocations: 2.312 kB / 270.2 MB, free: 5.059 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P): time 0.001993/0.002008, allocations: 1.743 MB / 271.9 MB, free: 3.297 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005069/0.002515, allocations: 0.4986 MB / 272.4 MB, free: 2.797 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.249e-05/0.002567, allocations: 0 / 272.4 MB, free: 2.797 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.232e-05/0.0026, allocations: 11.86 kB / 272.4 MB, free: 2.785 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.835e-05/0.002678, allocations: 31.72 kB / 272.4 MB, free: 2.754 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.356e-05/0.002732, allocations: 23.97 kB / 272.5 MB, free: 2.73 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.002871, allocations: 135.4 kB / 272.6 MB, free: 2.598 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.32e-05/0.002964, allocations: 22.22 kB / 272.6 MB, free: 2.57 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001643/0.003128, allocations: 95.72 kB / 272.7 MB, free: 2.477 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.862e-05/0.003217, allocations: 43.81 kB / 272.8 MB, free: 2.434 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.003237, allocations: 12 kB / 272.8 MB, free: 2.422 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.241e-05/0.003249, allocations: 8 kB / 272.8 MB, free: 2.414 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.751e-05/0.003267, allocations: 15.94 kB / 272.8 MB, free: 2.398 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.264e-05/0.003299, allocations: 27.94 kB / 272.8 MB, free: 2.371 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001157/0.003415, allocations: 67.69 kB / 272.9 MB, free: 2.305 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.248e-05/0.003428, allocations: 0 / 272.9 MB, free: 2.305 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.003428, allocations: 4 kB / 272.9 MB, free: 2.301 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.174e-05/0.00344, allocations: 0 / 272.9 MB, free: 2.301 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004166/0.003857, allocations: 348 kB / 273.2 MB, free: 1.938 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.003889, allocations: 11.89 kB / 273.2 MB, free: 1.926 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.005e-05/0.003919, allocations: 16.88 kB / 273.3 MB, free: 1.91 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.004043, allocations: 140.8 kB / 273.4 MB, free: 1.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.004055, allocations: 16.28 kB / 273.4 MB, free: 1.734 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.724e-05/0.004072, allocations: 8.328 kB / 273.4 MB, free: 1.727 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.821e-05/0.00415, allocations: 73.78 kB / 273.5 MB, free: 1.648 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.35e-06/0.004155, allocations: 0 / 273.5 MB, free: 1.648 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-06/0.004164, allocations: 4 kB / 273.5 MB, free: 1.645 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.486e-06/0.004168, allocations: 0 / 273.5 MB, free: 1.645 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.599e-05/0.004204, allocations: 27.2 kB / 273.5 MB, free: 1.621 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003303/0.004534, allocations: 245.8 kB / 273.8 MB, free: 1.359 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000142/0.004676, allocations: 70.47 kB / 273.8 MB, free: 1.281 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.693e-05/0.004703, allocations: 24.86 kB / 273.8 MB, free: 1.254 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.135e-06/0.004711, allocations: 8 kB / 273.9 MB, free: 1.246 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.723e-05/0.004728, allocations: 30.56 kB / 273.9 MB, free: 1.207 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.062e-06/0.004729, allocations: 0 / 273.9 MB, free: 1.207 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004272/0.005156, allocations: 306.7 kB / 274.2 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.36e-05/0.00518, allocations: 51.41 kB / 274.2 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.199e-05/0.005262, allocations: 157.1 kB / 274.4 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.947e-06/0.005271, allocations: 29.7 kB / 274.4 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.087e-05/0.005312, allocations: 108.2 kB / 274.5 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.698e-05/0.005339, allocations: 47.62 kB / 274.6 MB, free: 460 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.377e-05/0.005373, allocations: 33.7 kB / 274.6 MB, free: 420 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.064e-05/0.005443, allocations: 326.8 kB / 274.9 MB, free: 84 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.503e-05/0.005458, allocations: 8 kB / 274.9 MB, free: 76 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.884e-05/0.005487, allocations: 38.55 kB / 275 MB, free: 28 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1111/0.1166, allocations: 82.2 kB / 275 MB, free: 3.367 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1166, allocations: 0.6562 kB / 275 MB, free: 3.367 MB / 266.7 MB Warning: The linear system: 1 : G.Pm = G.Pcmd 2 : G.Pm = G.Pcmd [ 1.0 , -1.0 ; 1.0 , -1.0 ] * [ G.Pm ; G.Pcmd ] = [ 0.0 ; 0.0 ] might be structurally or numerically singular for variable G.Pcmd since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003259/0.1169, allocations: 140.5 kB / 275.2 MB, free: 3.312 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.117, allocations: 6.5 kB / 275.2 MB, free: 3.312 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.117, allocations: 5.516 kB / 275.2 MB, free: 3.312 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002189/0.1172, allocations: 54.47 kB / 275.3 MB, free: 3.297 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.013e-05/0.1173, allocations: 30.11 kB / 275.3 MB, free: 3.297 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001264/0.1185, allocations: 4.187 MB / 279.5 MB, free: 15.19 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.521e-05/0.1186, allocations: 7.359 kB / 279.5 MB, free: 15.19 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.1186, allocations: 3.125 kB / 279.5 MB, free: 15.19 MB / 282.7 MB Warning: Assuming fixed start value for the following 1 variables: G.deltag:VARIABLE(unit = \"rad\" fixed = true ) \"generator angle wrt port\" type: Real 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 8.078e-05/0.1187, allocations: 124.8 kB / 279.6 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.378e-05/0.1187, allocations: 14.03 kB / 279.6 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.75e-05/0.1187, allocations: 16.05 kB / 279.6 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.1187, allocations: 2.828 kB / 279.6 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.1187, allocations: 1.766 kB / 279.6 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1187, allocations: 1.875 kB / 279.6 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002833/0.119, allocations: 296.8 kB / 279.9 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.119, allocations: 4.5 kB / 279.9 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.475e-05/0.1191, allocations: 26.98 kB / 280 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.594e-05/0.1191, allocations: 15.36 kB / 280 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001558/0.1193, allocations: 43.12 kB / 280 MB, free: 14.85 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.1193, allocations: 6.266 kB / 280 MB, free: 14.85 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005459/0.1198, allocations: 1.349 MB / 281.4 MB, free: 13.59 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.1198, allocations: 8.094 kB / 281.4 MB, free: 13.59 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001672/0.12, allocations: 233.2 kB / 281.6 MB, free: 13.43 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.12, allocations: 7.125 kB / 281.6 MB, free: 13.43 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.06e-05/0.1201, allocations: 6.438 kB / 281.6 MB, free: 13.43 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.795e-05/0.1201, allocations: 8.828 kB / 281.6 MB, free: 13.43 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.68e-06/0.1201, allocations: 4.078 kB / 281.6 MB, free: 13.43 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.547e-05/0.1201, allocations: 40.14 kB / 281.7 MB, free: 13.42 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1201, allocations: 0 / 281.7 MB, free: 13.42 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002257/0.1203, allocations: 29.94 kB / 281.7 MB, free: 13.42 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (G.thetap,G.deltag,G.wg,Gact.y) * 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 (9): * Single equations (assignments): 8 * 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.566e-05/0.1204, allocations: 82.23 kB / 281.8 MB, free: 13.35 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002202/0.1206, allocations: 294.7 kB / 282.1 MB, free: 13.12 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.054e-05/0.1207, allocations: 3.984 kB / 282.1 MB, free: 13.12 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.653e-05/0.1207, allocations: 161.1 kB / 282.2 MB, free: 13.01 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001597/0.1209, allocations: 24.3 kB / 282.3 MB, free: 13.01 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/0.1223, allocations: 349 kB / 282.6 MB, free: 12.81 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.803e-05/0.1224, allocations: 75.31 kB / 282.7 MB, free: 12.74 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.35e-05/0.1224, allocations: 15.75 kB / 282.7 MB, free: 12.74 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.284e-05/0.1225, allocations: 60.64 kB / 282.7 MB, free: 12.7 MB / 282.7 MB Notification: Performance of SimCode: time 6.01e-07/0.1225, allocations: 1.125 kB / 282.7 MB, free: 12.7 MB / 282.7 MB Notification: Performance of Templates: time 0.00392/0.1264, allocations: 1.812 MB / 284.6 MB, free: 12.66 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P.makefile [Timeout 660] (rm -f AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P.pipe ; mkfifo AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P.pipe ; head -c 1048576 < AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P.pipe >> ../files/AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P.sim & ./AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P -abortSlowSimulation -alarm=240 -lv LOG_STATS > AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6606274228543043]