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.001465/0.001465, allocations: 75.64 kB / 19.96 MB, free: 1.746 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.00153/0.00153, allocations: 170.1 kB / 23.24 MB, free: 4.855 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.508/1.508, allocations: 177.1 MB / 203.5 MB, free: 9.16 MB / 190.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.1005/0.1005, allocations: 18.13 MB / 278.1 MB, free: 15.04 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_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.413e-06/1.413e-06, allocations: 0 / 413.2 MB, free: 4.949 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.449e-05/2.59e-05, allocations: 10.22 kB / 413.2 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P): time 0.002962/0.002988, allocations: 1.646 MB / 414.8 MB, free: 3.277 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008963/0.003884, allocations: 463 kB / 415.3 MB, free: 2.824 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.797e-05/0.003962, allocations: 4 kB / 415.3 MB, free: 2.82 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.205e-05/0.004014, allocations: 11.86 kB / 415.3 MB, free: 2.809 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002018/0.004216, allocations: 39.66 kB / 415.3 MB, free: 2.77 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000106/0.004322, allocations: 27.94 kB / 415.4 MB, free: 2.742 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002385/0.00456, allocations: 127.5 kB / 415.5 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001563/0.004717, allocations: 21.62 kB / 415.5 MB, free: 2.594 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002152/0.004932, allocations: 55.77 kB / 415.6 MB, free: 2.539 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001226/0.005055, allocations: 39.83 kB / 415.6 MB, free: 2.5 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.013e-05/0.005085, allocations: 8 kB / 415.6 MB, free: 2.492 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/0.005189, allocations: 12 kB / 415.6 MB, free: 2.48 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.136e-05/0.005221, allocations: 19.91 kB / 415.7 MB, free: 2.461 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.058e-05/0.005281, allocations: 39.84 kB / 415.7 MB, free: 2.422 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001761/0.005457, allocations: 103.6 kB / 415.8 MB, free: 2.32 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.00546, allocations: 0 / 415.8 MB, free: 2.32 MB / 334.1 MB Notification: Performance of FrontEnd: time 8.02e-07/0.005461, allocations: 4 kB / 415.8 MB, free: 2.316 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.078e-05/0.005472, allocations: 0 / 415.8 MB, free: 2.316 MB / 334.1 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.0007417/0.006213, allocations: 345.8 kB / 416.1 MB, free: 1.949 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.006257, allocations: 8.031 kB / 416.1 MB, free: 1.941 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.945e-05/0.006306, allocations: 20.78 kB / 416.2 MB, free: 1.922 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002963/0.006603, allocations: 150.1 kB / 416.3 MB, free: 1.75 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.006616, allocations: 8.375 kB / 416.3 MB, free: 1.742 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.292e-05/0.006649, allocations: 8.375 kB / 416.3 MB, free: 1.734 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002048/0.006854, allocations: 93.69 kB / 416.4 MB, free: 1.637 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.006866, allocations: 4 kB / 416.4 MB, free: 1.633 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.006879, allocations: 4 kB / 416.4 MB, free: 1.629 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.006884, allocations: 0 / 416.4 MB, free: 1.629 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.43e-05/0.006979, allocations: 43.97 kB / 416.5 MB, free: 1.586 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006233/0.007602, allocations: 312.2 kB / 416.8 MB, free: 1.25 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003061/0.007908, allocations: 98.47 kB / 416.9 MB, free: 1.145 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.48e-05/0.007993, allocations: 40.84 kB / 416.9 MB, free: 1.102 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.437e-06/0.008002, allocations: 4 kB / 416.9 MB, free: 1.098 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.008031, allocations: 34.56 kB / 416.9 MB, free: 1.055 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.272e-06/0.008033, allocations: 0 / 416.9 MB, free: 1.055 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008557/0.008888, allocations: 366.6 kB / 417.3 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.923e-05/0.008938, allocations: 59.34 kB / 417.4 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001847/0.009122, allocations: 156.2 kB / 417.5 MB, free: 436 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.009149, allocations: 29.7 kB / 417.5 MB, free: 400 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.085e-05/0.00924, allocations: 116.2 kB / 417.7 MB, free: 276 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.698e-05/0.009277, allocations: 43.64 kB / 417.7 MB, free: 232 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.054e-05/0.009337, allocations: 37.7 kB / 417.7 MB, free: 188 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.009511, allocations: 322.8 kB / 418.1 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.537e-05/0.009576, allocations: 31.98 kB / 418.1 MB, free: 15.83 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.849e-05/0.009665, allocations: 52.59 kB / 418.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004988/0.01016, allocations: 181.8 kB / 418.3 MB, free: 15.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.01016, allocations: 0 / 418.3 MB, free: 15.59 MB / 350.1 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.0004892/0.01065, allocations: 192 kB / 418.5 MB, free: 15.38 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.01067, allocations: 12.06 kB / 418.5 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.01068, allocations: 0 / 418.5 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001948/0.01087, allocations: 57.56 kB / 418.6 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.01098, allocations: 19.98 kB / 418.6 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003369/0.01435, allocations: 4.387 MB / 423 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.603e-05/0.01443, allocations: 8.031 kB / 423 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.375e-05/0.01447, allocations: 7.984 kB / 423 MB, free: 10.62 MB / 350.1 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 0.0001493/0.01461, allocations: 129.8 kB / 423.1 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.588e-05/0.01466, allocations: 23.97 kB / 423.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.14e-05/0.01469, allocations: 12.78 kB / 423.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.0147, allocations: 4 kB / 423.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-06/0.0147, allocations: 0 / 423.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.0147, allocations: 0 / 423.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005905/0.01529, allocations: 384.6 kB / 423.5 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.01529, allocations: 0 / 423.5 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/0.01541, allocations: 19.98 kB / 423.6 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001486/0.01555, allocations: 40.89 kB / 423.6 MB, free: 9.965 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.01557, allocations: 4 kB / 423.6 MB, free: 9.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001342/0.01691, allocations: 1.485 MB / 425.1 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01691, allocations: 0 / 425.1 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004633/0.01738, allocations: 297.9 kB / 425.4 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.785e-05/0.0174, allocations: 7.953 kB / 425.4 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.275e-05/0.01743, allocations: 4 kB / 425.4 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.01753, allocations: 7.938 kB / 425.4 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.211e-05/0.01756, allocations: 7.984 kB / 425.4 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.01758, allocations: 7.984 kB / 425.4 MB, free: 8.027 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001122/0.01769, allocations: 121.6 kB / 425.5 MB, free: 7.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01769, allocations: 0 / 425.5 MB, free: 7.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004281/0.01812, allocations: 32 kB / 425.6 MB, free: 7.879 MB / 350.1 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 0.0001502/0.01827, allocations: 107.2 kB / 425.7 MB, free: 7.766 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000523/0.01879, allocations: 313.2 kB / 426 MB, free: 7.434 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.01879, allocations: 0 / 426 MB, free: 7.434 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002742/0.01907, allocations: 154.7 kB / 426.1 MB, free: 7.27 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.01941, allocations: 23.05 kB / 426.1 MB, free: 7.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.02043, allocations: 439.6 kB / 426.6 MB, free: 6.789 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001231/0.02055, allocations: 97.8 kB / 426.7 MB, free: 6.672 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.565e-05/0.0206, allocations: 12.64 kB / 426.7 MB, free: 6.656 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.891e-05/0.02064, allocations: 16.5 kB / 426.7 MB, free: 6.641 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.02064, allocations: 0 / 426.7 MB, free: 6.641 MB / 350.1 MB Notification: Performance of Templates: time 0.005765/0.0264, allocations: 1.599 MB / 428.3 MB, free: 5.055 MB / 350.1 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=480 -lv LOG_STATS > AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.603751465678215] Failed to read output from testmodel.py, exit status != 0: 0.03542015329003334 0.051121595000000006 0.04245427 Calling exit ...