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.000948/0.000948, allocations: 91.56 kB / 20.45 MB, free: 4.121 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.0009993/0.0009993, allocations: 169 kB / 23.82 MB, free: 0.7539 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 0.9849/0.9849, allocations: 177.1 MB / 204.2 MB, free: 5.148 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.06371/0.06371, allocations: 18.13 MB / 278.9 MB, free: 11.16 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.824e-06/1.824e-06, allocations: 0 / 354.8 MB, free: 10.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.176e-05/2.359e-05, allocations: 6.25 kB / 354.8 MB, free: 10.27 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P): time 0.00198/0.002003, allocations: 1.718 MB / 356.6 MB, free: 8.535 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006299/0.002633, allocations: 482.7 kB / 357 MB, free: 8.062 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.842e-05/0.002702, allocations: 0 / 357 MB, free: 8.062 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.468e-05/0.002746, allocations: 15.86 kB / 357 MB, free: 8.047 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001781/0.002924, allocations: 47.62 kB / 357.1 MB, free: 8 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.039e-05/0.002995, allocations: 19.97 kB / 357.1 MB, free: 7.98 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001534/0.003148, allocations: 123.5 kB / 357.2 MB, free: 7.859 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.003254, allocations: 21.62 kB / 357.3 MB, free: 7.836 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001601/0.003414, allocations: 51.83 kB / 357.3 MB, free: 7.785 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.967e-05/0.003513, allocations: 43.81 kB / 357.3 MB, free: 7.742 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.007e-05/0.003533, allocations: 12 kB / 357.4 MB, free: 7.73 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.449e-05/0.003548, allocations: 8 kB / 357.4 MB, free: 7.723 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.92e-05/0.003567, allocations: 23.92 kB / 357.4 MB, free: 7.699 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.866e-05/0.003606, allocations: 43.83 kB / 357.4 MB, free: 7.656 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001212/0.003727, allocations: 75.61 kB / 357.5 MB, free: 7.582 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.003729, allocations: 0 / 357.5 MB, free: 7.582 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.00373, allocations: 0 / 357.5 MB, free: 7.582 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.003735, allocations: 0 / 357.5 MB, free: 7.582 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.000458/0.004193, allocations: 448.1 kB / 357.9 MB, free: 7.109 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.004229, allocations: 8.031 kB / 358 MB, free: 7.102 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.006e-05/0.004279, allocations: 28.84 kB / 358 MB, free: 7.074 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/0.00445, allocations: 156.9 kB / 358.1 MB, free: 6.895 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.004466, allocations: 8.375 kB / 358.1 MB, free: 6.887 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.187e-05/0.004488, allocations: 8.375 kB / 358.2 MB, free: 6.879 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.004627, allocations: 71.19 kB / 358.2 MB, free: 6.805 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.004636, allocations: 0 / 358.2 MB, free: 6.805 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.004647, allocations: 4 kB / 358.2 MB, free: 6.801 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.004654, allocations: 4 kB / 358.2 MB, free: 6.797 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.058e-05/0.004704, allocations: 19.98 kB / 358.2 MB, free: 6.777 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004665/0.005171, allocations: 367.4 kB / 358.6 MB, free: 6.383 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002107/0.005381, allocations: 90.95 kB / 358.7 MB, free: 6.281 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.077e-05/0.005432, allocations: 31.67 kB / 358.7 MB, free: 6.246 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.919e-06/0.005442, allocations: 4 kB / 358.7 MB, free: 6.242 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.005463, allocations: 33.39 kB / 358.8 MB, free: 6.199 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 1.353e-06/0.005464, allocations: 0 / 358.8 MB, free: 6.199 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005586/0.006023, allocations: 345.9 kB / 359.1 MB, free: 5.82 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.377e-05/0.006047, allocations: 55.41 kB / 359.2 MB, free: 5.754 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.006154, allocations: 216.7 kB / 359.4 MB, free: 5.527 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.908e-06/0.006164, allocations: 29.64 kB / 359.4 MB, free: 5.492 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.838e-05/0.006223, allocations: 167 kB / 359.6 MB, free: 5.32 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.188e-05/0.006245, allocations: 35.66 kB / 359.6 MB, free: 5.285 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.036e-05/0.006285, allocations: 43.36 kB / 359.6 MB, free: 5.234 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.006391, allocations: 0.4884 MB / 360.1 MB, free: 4.734 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.439e-05/0.006426, allocations: 23.98 kB / 360.1 MB, free: 4.711 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.896e-05/0.006475, allocations: 53.77 kB / 360.2 MB, free: 4.648 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001203/0.006595, allocations: 110.2 kB / 360.3 MB, free: 4.531 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.006596, allocations: 0 / 360.3 MB, free: 4.531 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.0002739/0.00687, allocations: 180.5 kB / 360.5 MB, free: 4.336 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.006883, allocations: 4 kB / 360.5 MB, free: 4.332 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.006887, allocations: 0 / 360.5 MB, free: 4.332 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002266/0.007114, allocations: 71.27 kB / 360.6 MB, free: 4.254 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.24e-05/0.007176, allocations: 23.98 kB / 360.6 MB, free: 4.23 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00203/0.009206, allocations: 6.293 MB / 366.9 MB, free: 13.63 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.333e-05/0.009249, allocations: 4 kB / 366.9 MB, free: 13.63 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.009256, allocations: 4 kB / 366.9 MB, free: 13.62 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 0.0001051/0.009361, allocations: 172.6 kB / 367 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.825e-05/0.00939, allocations: 27.84 kB / 367.1 MB, free: 13.42 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.823e-05/0.009408, allocations: 20.77 kB / 367.1 MB, free: 13.4 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.00941, allocations: 4.031 kB / 367.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.009412, allocations: 0 / 367.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.009415, allocations: 0 / 367.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003445/0.00976, allocations: 424.3 kB / 367.5 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.009762, allocations: 0 / 367.5 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.623e-05/0.009828, allocations: 19.98 kB / 367.5 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001556/0.009984, allocations: 59.62 kB / 367.6 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.009992, allocations: 0 / 367.6 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008052/0.0108, allocations: 2.024 MB / 369.6 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.0108, allocations: 4.062 kB / 369.6 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002147/0.01101, allocations: 314.7 kB / 369.9 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.347e-05/0.01103, allocations: 11.95 kB / 369.9 MB, free: 10.35 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.01104, allocations: 11.98 kB / 370 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.945e-05/0.01109, allocations: 3.938 kB / 370 MB, free: 10.33 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.3e-05/0.01111, allocations: 11.98 kB / 370 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.01112, allocations: 4 kB / 370 MB, free: 10.32 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.836e-05/0.01119, allocations: 156.6 kB / 370.1 MB, free: 10.16 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01119, allocations: 0 / 370.1 MB, free: 10.16 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002466/0.01143, allocations: 36 kB / 370.2 MB, free: 10.13 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.798e-05/0.01151, allocations: 99.19 kB / 370.3 MB, free: 10.02 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003033/0.01181, allocations: 422.9 kB / 370.7 MB, free: 9.57 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.155e-06/0.01182, allocations: 4 kB / 370.7 MB, free: 9.566 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001083/0.01193, allocations: 209.5 kB / 370.9 MB, free: 9.34 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000206/0.01213, allocations: 25.03 kB / 370.9 MB, free: 9.316 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007222/0.01285, allocations: 452.8 kB / 371.3 MB, free: 8.844 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.25e-05/0.0129, allocations: 71.83 kB / 371.4 MB, free: 8.754 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.227e-05/0.01293, allocations: 4.656 kB / 371.4 MB, free: 8.75 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.974e-05/0.01296, allocations: 16.5 kB / 371.4 MB, free: 8.734 MB / 298.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01296, allocations: 0 / 371.4 MB, free: 8.734 MB / 298.7 MB Notification: Performance of Templates: time 0.003485/0.01644, allocations: 1.687 MB / 373.1 MB, free: 7.055 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.8358877347782254]