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.001193/0.001193, allocations: 87.56 kB / 20.97 MB, free: 3.582 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.001529/0.001529, allocations: 177 kB / 24.28 MB, free: 280 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.018/1.018, allocations: 177.1 MB / 204.6 MB, free: 5.633 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.07048/0.07048, allocations: 18.14 MB / 279.2 MB, free: 11.38 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 2.064e-06/2.064e-06, allocations: 0 / 354.8 MB, free: 10.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.889e-05/3.096e-05, allocations: 5.547 kB / 354.9 MB, free: 10.6 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P): time 0.00305/0.003081, allocations: 1.712 MB / 356.6 MB, free: 8.867 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008652/0.003946, allocations: 482.7 kB / 357 MB, free: 8.395 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.448e-05/0.004031, allocations: 4 kB / 357 MB, free: 8.391 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.033e-05/0.004081, allocations: 11.86 kB / 357 MB, free: 8.379 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002145/0.004296, allocations: 35.66 kB / 357.1 MB, free: 8.344 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.734e-05/0.004383, allocations: 23.97 kB / 357.1 MB, free: 8.32 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002048/0.004588, allocations: 131.4 kB / 357.2 MB, free: 8.191 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.004721, allocations: 17.62 kB / 357.3 MB, free: 8.172 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002243/0.004945, allocations: 59.77 kB / 357.3 MB, free: 8.113 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.005057, allocations: 39.88 kB / 357.4 MB, free: 8.074 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.303e-05/0.00508, allocations: 8 kB / 357.4 MB, free: 8.066 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.699e-05/0.005097, allocations: 12 kB / 357.4 MB, free: 8.055 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.455e-05/0.005122, allocations: 19.92 kB / 357.4 MB, free: 8.035 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.087e-05/0.005173, allocations: 43.84 kB / 357.4 MB, free: 7.992 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001489/0.005321, allocations: 67.67 kB / 357.5 MB, free: 7.926 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.005324, allocations: 0 / 357.5 MB, free: 7.926 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.005325, allocations: 0 / 357.5 MB, free: 7.926 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.89e-06/0.00533, allocations: 0 / 357.5 MB, free: 7.926 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.0005819/0.005912, allocations: 456.1 kB / 357.9 MB, free: 7.445 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.005953, allocations: 12.03 kB / 358 MB, free: 7.434 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.751e-05/0.006011, allocations: 20.84 kB / 358 MB, free: 7.414 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002157/0.006227, allocations: 155.4 kB / 358.1 MB, free: 7.238 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.006242, allocations: 8.375 kB / 358.1 MB, free: 7.23 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.979e-05/0.006272, allocations: 12.38 kB / 358.1 MB, free: 7.219 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/0.006411, allocations: 69.78 kB / 358.2 MB, free: 7.145 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.006419, allocations: 3.938 kB / 358.2 MB, free: 7.141 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.006433, allocations: 7.984 kB / 358.2 MB, free: 7.133 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.006442, allocations: 0 / 358.2 MB, free: 7.133 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.151e-05/0.006513, allocations: 31.2 kB / 358.3 MB, free: 7.105 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005852/0.007098, allocations: 363.5 kB / 358.6 MB, free: 6.715 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002526/0.007351, allocations: 87.02 kB / 358.7 MB, free: 6.617 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.327e-05/0.007414, allocations: 35.67 kB / 358.7 MB, free: 6.578 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.688e-06/0.007424, allocations: 0 / 358.7 MB, free: 6.578 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.007456, allocations: 41.39 kB / 358.8 MB, free: 6.527 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 1.744e-06/0.007458, allocations: 0 / 358.8 MB, free: 6.527 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007267/0.008184, allocations: 349.4 kB / 359.1 MB, free: 6.145 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.008218, allocations: 51.41 kB / 359.2 MB, free: 6.082 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.008376, allocations: 216.7 kB / 359.4 MB, free: 5.855 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.00839, allocations: 25.7 kB / 359.4 MB, free: 5.824 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.655e-05/0.008466, allocations: 159 kB / 359.6 MB, free: 5.66 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.113e-05/0.008497, allocations: 39.64 kB / 359.6 MB, free: 5.621 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.234e-05/0.00855, allocations: 43.36 kB / 359.6 MB, free: 5.57 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.008687, allocations: 0.4923 MB / 360.1 MB, free: 5.066 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.782e-05/0.008735, allocations: 19.98 kB / 360.1 MB, free: 5.047 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.949e-05/0.008804, allocations: 51.11 kB / 360.2 MB, free: 4.984 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001636/0.008968, allocations: 113.7 kB / 360.3 MB, free: 4.863 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.008969, allocations: 0 / 360.3 MB, free: 4.863 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.0004041/0.009373, allocations: 184.4 kB / 360.5 MB, free: 4.664 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.009394, allocations: 8 kB / 360.5 MB, free: 4.656 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.0094, allocations: 4.062 kB / 360.5 MB, free: 4.652 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003033/0.009703, allocations: 55.33 kB / 360.6 MB, free: 4.59 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.955e-05/0.009793, allocations: 23.98 kB / 360.6 MB, free: 4.566 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003151/0.01294, allocations: 6.296 MB / 366.9 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.941e-05/0.01301, allocations: 8 kB / 366.9 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.01302, allocations: 4 kB / 366.9 MB, free: 13.95 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.0001405/0.01316, allocations: 172.7 kB / 367.1 MB, free: 13.77 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.129e-05/0.01321, allocations: 19.84 kB / 367.1 MB, free: 13.75 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.656e-05/0.01323, allocations: 12.78 kB / 367.1 MB, free: 13.74 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.01324, allocations: 7.984 kB / 367.1 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.01324, allocations: 0 / 367.1 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.01324, allocations: 0 / 367.1 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005334/0.01378, allocations: 420.3 kB / 367.5 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.01378, allocations: 7.938 kB / 367.5 MB, free: 13.26 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.142e-05/0.01387, allocations: 24.05 kB / 367.5 MB, free: 13.24 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002134/0.01408, allocations: 43.64 kB / 367.6 MB, free: 13.19 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.0141, allocations: 7.984 kB / 367.6 MB, free: 13.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001211/0.01531, allocations: 2.028 MB / 369.6 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.01531, allocations: 8 kB / 369.6 MB, free: 11.03 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002978/0.01561, allocations: 314.7 kB / 369.9 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.074e-05/0.01563, allocations: 11.95 kB / 369.9 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.683e-05/0.01565, allocations: 0 / 369.9 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.163e-05/0.01573, allocations: 11.92 kB / 370 MB, free: 10.67 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.238e-05/0.01576, allocations: 15.92 kB / 370 MB, free: 10.65 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.01577, allocations: 4 kB / 370 MB, free: 10.65 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.399e-05/0.01586, allocations: 160.8 kB / 370.1 MB, free: 10.49 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01586, allocations: 0 / 370.1 MB, free: 10.49 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000399/0.01626, allocations: 28 kB / 370.2 MB, free: 10.46 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 0.0001225/0.01638, allocations: 99.25 kB / 370.3 MB, free: 10.36 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004113/0.01679, allocations: 418.9 kB / 370.7 MB, free: 9.91 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.01679, allocations: 0 / 370.7 MB, free: 9.91 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001474/0.01694, allocations: 217.7 kB / 370.9 MB, free: 9.676 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003103/0.01725, allocations: 26.8 kB / 370.9 MB, free: 9.652 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009965/0.01825, allocations: 442.4 kB / 371.3 MB, free: 9.184 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.75e-05/0.0183, allocations: 71.84 kB / 371.4 MB, free: 9.094 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.97e-05/0.01835, allocations: 12.58 kB / 371.4 MB, free: 9.082 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.539e-05/0.01839, allocations: 12.5 kB / 371.4 MB, free: 9.07 MB / 298.7 MB Notification: Performance of SimCode: time 1.072e-06/0.01839, allocations: 0 / 371.4 MB, free: 9.07 MB / 298.7 MB Notification: Performance of Templates: time 0.004874/0.02326, allocations: 1.653 MB / 373.1 MB, free: 7.43 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: 3.0204761158674955]