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.001003/0.001003, allocations: 72.83 kB / 20.74 MB, free: 3.75 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.001148/0.001148, allocations: 173 kB / 24.16 MB, free: 336 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.046/1.046, allocations: 177.1 MB / 204.6 MB, free: 5.453 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.07168/0.07168, allocations: 18.13 MB / 279.2 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_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.563e-06/1.563e-06, allocations: 0 / 302 MB, free: 1.773 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.405e-05/2.561e-05, allocations: 5.156 kB / 302 MB, free: 1.77 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P): time 0.002744/0.002769, allocations: 1.714 MB / 303.7 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008566/0.003626, allocations: 487.8 kB / 304.2 MB, free: 336 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.899e-05/0.003705, allocations: 0.9375 kB / 304.2 MB, free: 336 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.842e-05/0.003753, allocations: 14.86 kB / 304.2 MB, free: 324 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000207/0.00396, allocations: 35.22 kB / 304.3 MB, free: 300 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.036e-05/0.004041, allocations: 27.64 kB / 304.3 MB, free: 284 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000185/0.004226, allocations: 121.8 kB / 304.4 MB, free: 224 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.004351, allocations: 30.02 kB / 304.4 MB, free: 208 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001874/0.004538, allocations: 50.06 kB / 304.5 MB, free: 188 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001161/0.004654, allocations: 46.88 kB / 304.5 MB, free: 168 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.351e-05/0.004678, allocations: 9.906 kB / 304.5 MB, free: 168 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.78e-05/0.004696, allocations: 12.59 kB / 304.6 MB, free: 164 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.674e-05/0.004723, allocations: 24.08 kB / 304.6 MB, free: 148 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.385e-05/0.004766, allocations: 31.45 kB / 304.6 MB, free: 136 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.004912, allocations: 82.31 kB / 304.7 MB, free: 92 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.004914, allocations: 0 / 304.7 MB, free: 92 kB / 266.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.004915, allocations: 0 / 304.7 MB, free: 92 kB / 266.7 MB Notification: Performance of Transformations before backend: time 4.688e-06/0.004919, allocations: 0 / 304.7 MB, free: 92 kB / 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.0005008/0.00542, allocations: 325.9 kB / 305 MB, free: 15.81 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.005461, allocations: 8.438 kB / 305 MB, free: 15.81 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.604e-05/0.005507, allocations: 15.89 kB / 305 MB, free: 15.81 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001803/0.005687, allocations: 140.2 kB / 305.2 MB, free: 15.66 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.005705, allocations: 8.125 kB / 305.2 MB, free: 15.66 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.871e-05/0.005734, allocations: 10.12 kB / 305.2 MB, free: 15.66 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.005854, allocations: 69.92 kB / 305.3 MB, free: 15.62 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.005862, allocations: 0 / 305.3 MB, free: 15.62 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.005872, allocations: 5.406 kB / 305.3 MB, free: 15.61 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.357e-06/0.005881, allocations: 6.234 kB / 305.3 MB, free: 15.61 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.694e-05/0.005928, allocations: 20.67 kB / 305.3 MB, free: 15.61 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004545/0.006382, allocations: 251.2 kB / 305.5 MB, free: 15.41 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001997/0.006582, allocations: 73.23 kB / 305.6 MB, free: 15.38 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.412e-05/0.006626, allocations: 25.47 kB / 305.6 MB, free: 15.37 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.052e-05/0.006637, allocations: 2.281 kB / 305.6 MB, free: 15.37 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.006661, allocations: 37.77 kB / 305.7 MB, free: 15.32 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 1.583e-06/0.006662, allocations: 0 / 305.7 MB, free: 15.32 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0006044/0.007267, allocations: 299.5 kB / 306 MB, free: 15.12 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.118e-05/0.007298, allocations: 56.69 kB / 306 MB, free: 15.06 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.007423, allocations: 153.4 kB / 306.2 MB, free: 14.94 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.007438, allocations: 33.64 kB / 306.2 MB, free: 14.9 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.606e-05/0.007494, allocations: 105.8 kB / 306.3 MB, free: 14.8 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.07e-05/0.007535, allocations: 53.06 kB / 306.4 MB, free: 14.76 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.605e-05/0.007581, allocations: 29.88 kB / 306.4 MB, free: 14.73 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.985e-05/0.007681, allocations: 327 kB / 306.7 MB, free: 14.41 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.692e-05/0.007707, allocations: 16.09 kB / 306.7 MB, free: 14.41 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.99e-05/0.007757, allocations: 44.36 kB / 306.8 MB, free: 14.38 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000123/0.00788, allocations: 84.03 kB / 306.8 MB, free: 14.34 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.007883, allocations: 1.375 kB / 306.9 MB, free: 14.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.0003404/0.008223, allocations: 139.7 kB / 307 MB, free: 14.27 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.008238, allocations: 11.23 kB / 307 MB, free: 14.27 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.008243, allocations: 0 / 307 MB, free: 14.27 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002598/0.008503, allocations: 55.08 kB / 307.1 MB, free: 14.24 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.428e-05/0.008587, allocations: 22.94 kB / 307.1 MB, free: 14.24 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002551/0.01114, allocations: 4.202 MB / 311.3 MB, free: 10 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.621e-05/0.01119, allocations: 1.312 kB / 311.3 MB, free: 10 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.0112, allocations: 7.812 kB / 311.3 MB, free: 10 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 0.0001043/0.01131, allocations: 120.7 kB / 311.4 MB, free: 9.879 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.233e-05/0.01134, allocations: 8.938 kB / 311.4 MB, free: 9.879 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.464e-05/0.01136, allocations: 17.56 kB / 311.4 MB, free: 9.867 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.01137, allocations: 1.344 kB / 311.4 MB, free: 9.867 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.01137, allocations: 3.938 kB / 311.4 MB, free: 9.863 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.01138, allocations: 4.734 kB / 311.4 MB, free: 9.859 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000361/0.01174, allocations: 296.6 kB / 311.7 MB, free: 9.621 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.01174, allocations: 1.375 kB / 311.7 MB, free: 9.621 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.457e-05/0.01182, allocations: 18.62 kB / 311.7 MB, free: 9.621 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002077/0.01203, allocations: 50.89 kB / 311.8 MB, free: 9.602 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.01204, allocations: 1.406 kB / 311.8 MB, free: 9.602 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008497/0.01289, allocations: 1.358 MB / 313.2 MB, free: 8.281 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.01289, allocations: 3.938 kB / 313.2 MB, free: 8.277 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000238/0.01313, allocations: 229 kB / 313.4 MB, free: 8.105 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.029e-05/0.01315, allocations: 16.55 kB / 313.4 MB, free: 8.094 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.01317, allocations: 2.969 kB / 313.4 MB, free: 8.094 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.325e-05/0.01324, allocations: 1.922 kB / 313.4 MB, free: 8.094 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.93e-05/0.01327, allocations: 12.56 kB / 313.4 MB, free: 8.09 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.01328, allocations: 3.047 kB / 313.4 MB, free: 8.09 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.877e-05/0.01333, allocations: 35.34 kB / 313.5 MB, free: 8.078 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01333, allocations: 0 / 313.5 MB, free: 8.078 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003786/0.01371, allocations: 28.72 kB / 313.5 MB, free: 8.074 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 0.0001252/0.01383, allocations: 91.67 kB / 313.6 MB, free: 7.992 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003188/0.01415, allocations: 293.5 kB / 313.9 MB, free: 7.738 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.01415, allocations: 0 / 313.9 MB, free: 7.738 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001327/0.01429, allocations: 167.5 kB / 314 MB, free: 7.57 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002209/0.01451, allocations: 18.38 kB / 314 MB, free: 7.555 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008751/0.01538, allocations: 375.4 kB / 314.4 MB, free: 7.184 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.716e-05/0.01545, allocations: 72.52 kB / 314.5 MB, free: 7.102 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.082e-05/0.0155, allocations: 11.7 kB / 314.5 MB, free: 7.094 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.626e-05/0.01557, allocations: 60.03 kB / 314.5 MB, free: 7.035 MB / 282.7 MB Notification: Performance of SimCode: time 7.42e-07/0.01557, allocations: 0 / 314.5 MB, free: 7.035 MB / 282.7 MB Notification: Performance of Templates: time 0.004905/0.02047, allocations: 1.756 MB / 316.3 MB, free: 5.391 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: 3.038616464007646]