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.0008958/0.0008958, allocations: 73.11 kB / 20.67 MB, free: 3.828 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.0009859/0.0009859, allocations: 177 kB / 24.08 MB, free: 432 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.003/1.003, allocations: 177.1 MB / 204.5 MB, free: 5.168 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.06545/0.06545, allocations: 18.13 MB / 279.2 MB, free: 11.05 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.633e-06/1.633e-06, allocations: 0 / 355.3 MB, free: 10.01 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.345e-05/1.508e-05, allocations: 2.312 kB / 355.3 MB, free: 10 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P): time 0.00196/0.001975, allocations: 1.706 MB / 357 MB, free: 8.281 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007215/0.002697, allocations: 486.7 kB / 357.5 MB, free: 7.805 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.633e-05/0.002773, allocations: 0 / 357.5 MB, free: 7.805 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.205e-05/0.002815, allocations: 11.86 kB / 357.5 MB, free: 7.793 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001632/0.002979, allocations: 39.69 kB / 357.5 MB, free: 7.754 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.772e-05/0.003046, allocations: 31.91 kB / 357.6 MB, free: 7.723 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001313/0.003178, allocations: 123.5 kB / 357.7 MB, free: 7.602 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.489e-05/0.003272, allocations: 17.62 kB / 357.7 MB, free: 7.582 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/0.003415, allocations: 55.83 kB / 357.7 MB, free: 7.527 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.599e-05/0.003491, allocations: 47.81 kB / 357.8 MB, free: 7.48 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.00351, allocations: 12 kB / 357.8 MB, free: 7.469 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.274e-05/0.003522, allocations: 8 kB / 357.8 MB, free: 7.461 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.791e-05/0.00354, allocations: 19.92 kB / 357.8 MB, free: 7.441 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.351e-05/0.003574, allocations: 39.83 kB / 357.9 MB, free: 7.402 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001113/0.003685, allocations: 75.67 kB / 357.9 MB, free: 7.328 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.003687, allocations: 0 / 357.9 MB, free: 7.328 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.003688, allocations: 7.938 kB / 358 MB, free: 7.32 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.216e-06/0.003691, allocations: 0 / 358 MB, free: 7.32 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004203/0.004111, allocations: 448.1 kB / 358.4 MB, free: 6.848 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.004149, allocations: 8.031 kB / 358.4 MB, free: 6.84 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.865e-05/0.004187, allocations: 24.84 kB / 358.4 MB, free: 6.816 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.004335, allocations: 143.2 kB / 358.6 MB, free: 6.652 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.004348, allocations: 8.375 kB / 358.6 MB, free: 6.645 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.477e-05/0.004373, allocations: 12.38 kB / 358.6 MB, free: 6.633 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001028/0.004476, allocations: 71.44 kB / 358.7 MB, free: 6.559 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.004484, allocations: 0 / 358.7 MB, free: 6.559 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.004493, allocations: 8 kB / 358.7 MB, free: 6.551 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.0045, allocations: 0 / 358.7 MB, free: 6.551 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.716e-05/0.004537, allocations: 19.98 kB / 358.7 MB, free: 6.531 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004531/0.00499, allocations: 363.4 kB / 359 MB, free: 6.141 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001656/0.005155, allocations: 86.94 kB / 359.1 MB, free: 6.043 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.254e-05/0.005188, allocations: 35.66 kB / 359.2 MB, free: 6.004 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.065e-06/0.005196, allocations: 4 kB / 359.2 MB, free: 6 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/0.005216, allocations: 37.33 kB / 359.2 MB, free: 5.953 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 1.343e-06/0.005217, allocations: 4 kB / 359.2 MB, free: 5.949 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004251/0.005642, allocations: 310 kB / 359.5 MB, free: 5.605 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.403e-05/0.005666, allocations: 55.41 kB / 359.6 MB, free: 5.539 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.005771, allocations: 212.1 kB / 359.8 MB, free: 5.316 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/0.005782, allocations: 25.7 kB / 359.8 MB, free: 5.285 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.107e-05/0.005843, allocations: 167 kB / 360 MB, free: 5.113 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.538e-05/0.005868, allocations: 47.58 kB / 360 MB, free: 5.066 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.828e-05/0.005906, allocations: 39.36 kB / 360 MB, free: 5.02 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.006016, allocations: 0.4884 MB / 360.5 MB, free: 4.52 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2e-05/0.006036, allocations: 15.98 kB / 360.5 MB, free: 4.504 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.833e-05/0.006074, allocations: 57.84 kB / 360.6 MB, free: 4.438 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.824e-05/0.006162, allocations: 89.92 kB / 360.7 MB, free: 4.34 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.006163, allocations: 0 / 360.7 MB, free: 4.34 MB / 282.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.000258/0.006421, allocations: 176.6 kB / 360.9 MB, free: 4.148 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.006433, allocations: 4 kB / 360.9 MB, free: 4.145 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.006438, allocations: 0 / 360.9 MB, free: 4.145 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001973/0.006635, allocations: 63.39 kB / 360.9 MB, free: 4.074 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.903e-05/0.006694, allocations: 27.92 kB / 361 MB, free: 4.047 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002298/0.008992, allocations: 6.247 MB / 367.2 MB, free: 13.51 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.238e-05/0.009034, allocations: 7.938 kB / 367.2 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.00904, allocations: 4 kB / 367.2 MB, free: 13.5 MB / 298.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.949e-05/0.009129, allocations: 172.5 kB / 367.4 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.358e-05/0.009153, allocations: 19.89 kB / 367.4 MB, free: 13.3 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.52e-05/0.009168, allocations: 12.78 kB / 367.4 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.009172, allocations: 7.938 kB / 367.4 MB, free: 13.28 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.009174, allocations: 4.031 kB / 367.4 MB, free: 13.28 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.009177, allocations: 0 / 367.4 MB, free: 13.28 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003043/0.009481, allocations: 400.8 kB / 367.8 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.009483, allocations: 0 / 367.8 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.423e-05/0.009548, allocations: 23.98 kB / 367.8 MB, free: 12.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000149/0.009697, allocations: 47.7 kB / 367.9 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.009704, allocations: 4 kB / 367.9 MB, free: 12.76 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001117/0.01082, allocations: 2.005 MB / 369.9 MB, free: 10.65 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.01082, allocations: 3.938 kB / 369.9 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001982/0.01102, allocations: 310.7 kB / 370.2 MB, free: 10.31 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.631e-05/0.01104, allocations: 19.89 kB / 370.2 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.014e-05/0.01105, allocations: 0 / 370.2 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.977e-05/0.0111, allocations: 8 kB / 370.2 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.619e-05/0.01111, allocations: 7.984 kB / 370.2 MB, free: 10.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.01112, allocations: 0 / 370.2 MB, free: 10.27 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.101e-05/0.01117, allocations: 156.6 kB / 370.4 MB, free: 10.12 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01117, allocations: 0 / 370.4 MB, free: 10.12 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002506/0.01142, allocations: 31.94 kB / 370.4 MB, free: 10.09 MB / 298.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.655e-05/0.01149, allocations: 103.2 kB / 370.5 MB, free: 9.977 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002737/0.01177, allocations: 417.9 kB / 370.9 MB, free: 9.535 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.01177, allocations: 0 / 370.9 MB, free: 9.535 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.01187, allocations: 209.5 kB / 371.1 MB, free: 9.309 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002026/0.01207, allocations: 19.98 kB / 371.2 MB, free: 9.289 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006599/0.01273, allocations: 438 kB / 371.6 MB, free: 8.824 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.319e-05/0.01278, allocations: 71.83 kB / 371.6 MB, free: 8.734 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.127e-05/0.01281, allocations: 12.59 kB / 371.7 MB, free: 8.723 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.009e-05/0.01286, allocations: 86.19 kB / 371.7 MB, free: 8.637 MB / 298.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01286, allocations: 0 / 371.7 MB, free: 8.637 MB / 298.7 MB Notification: Performance of Templates: time 0.003393/0.01625, allocations: 1.741 MB / 373.5 MB, free: 6.906 MB / 298.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.915476351045072]