Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ElecSys_case_studies.foo.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.001532/0.001532, allocations: 84.23 kB / 20.23 MB, free: 4.18 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.001809/0.001809, allocations: 157.3 kB / 23.53 MB, free: 0.8789 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 1.487/1.487, allocations: 177.2 MB / 203.9 MB, free: 5.59 MB / 186.7 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.1242/0.1242, allocations: 18.14 MB / 278.5 MB, free: 11.33 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.Coursework.ElecSys_case_studies.foo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ElecSys_case_studies.foo") translateModel(AES.Coursework.ElecSys_case_studies.foo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ElecSys_case_studies.foo") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 356.5 MB, free: 8.211 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.204e-05/3.368e-05, allocations: 2.312 kB / 356.5 MB, free: 8.207 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_case_studies.foo): time 0.004106/0.00414, allocations: 1.83 MB / 358.3 MB, free: 6.363 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001499/0.005639, allocations: 0.5221 MB / 358.9 MB, free: 5.84 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001793/0.005819, allocations: 3.938 kB / 358.9 MB, free: 5.836 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003801/0.006199, allocations: 27.78 kB / 358.9 MB, free: 5.809 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003066/0.006505, allocations: 63.55 kB / 359 MB, free: 5.746 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003272/0.006832, allocations: 75.86 kB / 359 MB, free: 5.672 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003711/0.007203, allocations: 179.4 kB / 359.2 MB, free: 5.496 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001493/0.007353, allocations: 17.8 kB / 359.2 MB, free: 5.48 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003401/0.007693, allocations: 87.69 kB / 359.3 MB, free: 5.395 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002289/0.007922, allocations: 71.77 kB / 359.4 MB, free: 5.324 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.843e-05/0.00798, allocations: 12 kB / 359.4 MB, free: 5.312 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.315e-05/0.008023, allocations: 12 kB / 359.4 MB, free: 5.301 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.501e-05/0.008118, allocations: 51.81 kB / 359.5 MB, free: 5.25 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.485e-05/0.008213, allocations: 39.91 kB / 359.5 MB, free: 5.211 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003014/0.008515, allocations: 151.5 kB / 359.6 MB, free: 5.062 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.008519, allocations: 0 / 359.6 MB, free: 5.062 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.00852, allocations: 0 / 359.6 MB, free: 5.062 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.665e-06/0.008528, allocations: 3.938 kB / 359.6 MB, free: 5.059 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.001323/0.009851, allocations: 429.5 kB / 360.1 MB, free: 4.609 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.0099, allocations: 8.922 kB / 360.1 MB, free: 4.602 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000102/0.01, allocations: 24.84 kB / 360.1 MB, free: 4.578 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005135/0.01052, allocations: 197.4 kB / 360.3 MB, free: 4.359 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.719e-05/0.01054, allocations: 12.31 kB / 360.3 MB, free: 4.348 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.987e-05/0.01058, allocations: 12.38 kB / 360.3 MB, free: 4.336 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002811/0.01086, allocations: 118.2 kB / 360.4 MB, free: 4.215 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.01088, allocations: 4.172 kB / 360.4 MB, free: 4.211 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.32e-05/0.0109, allocations: 7.938 kB / 360.4 MB, free: 4.203 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.01091, allocations: 4 kB / 360.4 MB, free: 4.199 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002189/0.01113, allocations: 83.89 kB / 360.5 MB, free: 4.117 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008656/0.01199, allocations: 376.1 kB / 360.9 MB, free: 3.719 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000399/0.01239, allocations: 154.7 kB / 361 MB, free: 3.559 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000141/0.01253, allocations: 64.83 kB / 361.1 MB, free: 3.492 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.01255, allocations: 0 / 361.1 MB, free: 3.492 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.74e-05/0.01259, allocations: 38.56 kB / 361.1 MB, free: 3.445 MB / 282.7 MB Notification: Performance of pre-optimization done (n=15): time 1.022e-06/0.01259, allocations: 0 / 361.1 MB, free: 3.445 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.001286/0.01388, allocations: 484.9 kB / 361.6 MB, free: 2.938 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.208e-05/0.01393, allocations: 51.41 kB / 361.7 MB, free: 2.875 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004012/0.01433, allocations: 202.3 kB / 361.9 MB, free: 2.668 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/0.01436, allocations: 29.7 kB / 361.9 MB, free: 2.633 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.01447, allocations: 112.4 kB / 362 MB, free: 2.516 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003544/0.01483, allocations: 59.47 kB / 362.1 MB, free: 2.457 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.218e-05/0.01492, allocations: 37.7 kB / 362.1 MB, free: 2.414 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002125/0.01513, allocations: 326.8 kB / 362.4 MB, free: 2.086 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.01526, allocations: 51.91 kB / 362.5 MB, free: 2.035 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001442/0.0154, allocations: 71.23 kB / 362.5 MB, free: 1.965 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008858/0.01629, allocations: 264.2 kB / 362.8 MB, free: 1.703 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.01629, allocations: 4 kB / 362.8 MB, free: 1.699 MB / 282.7 MB Warning: The linear system: 1 : Ge1.Pm = Ge1.Pcmd 2 : Ge1.Pm = Ge1.Pcmd [ 1.0 , -1.0 ; 1.0 , -1.0 ] * [ Ge1.Pm ; Ge1.Pcmd ] = [ 0.0 ; 0.0 ] might be structurally or numerically singular for variable Ge1.Pcmd since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006387/0.01693, allocations: 235.9 kB / 363 MB, free: 1.453 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.01695, allocations: 7.984 kB / 363 MB, free: 1.445 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.01696, allocations: 4 kB / 363 MB, free: 1.441 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003831/0.01734, allocations: 57.72 kB / 363.1 MB, free: 1.379 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001941/0.01753, allocations: 39.91 kB / 363.1 MB, free: 1.34 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003854/0.02139, allocations: 4.384 MB / 367.5 MB, free: 12.69 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001906/0.02158, allocations: 20 kB / 367.5 MB, free: 12.67 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.519e-05/0.02159, allocations: 4 kB / 367.5 MB, free: 12.66 MB / 298.7 MB Warning: Assuming fixed start value for the following 1 variables: Ge1.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: 2 * 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 (17): * Single equations (assignments): 15 * 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.0001823/0.02178, allocations: 133.7 kB / 367.7 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.172e-05/0.02184, allocations: 24.03 kB / 367.7 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.047e-05/0.02189, allocations: 25.11 kB / 367.7 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.02189, allocations: 4 kB / 367.7 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.0219, allocations: 0 / 367.7 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.0219, allocations: 0 / 367.7 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000778/0.02268, allocations: 426.9 kB / 368.1 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.02268, allocations: 0 / 368.1 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001604/0.02284, allocations: 23.98 kB / 368.2 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003031/0.02314, allocations: 56.77 kB / 368.2 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.44e-05/0.02317, allocations: 7.984 kB / 368.2 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001783/0.02495, allocations: 1.489 MB / 369.7 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.02495, allocations: 0 / 369.7 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005758/0.02553, allocations: 348.1 kB / 370.1 MB, free: 9.98 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.499e-05/0.02556, allocations: 11.98 kB / 370.1 MB, free: 9.969 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.71e-05/0.02559, allocations: 7.938 kB / 370.1 MB, free: 9.961 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001946/0.02579, allocations: 15.98 kB / 370.1 MB, free: 9.945 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.35e-05/0.02585, allocations: 15.91 kB / 370.1 MB, free: 9.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.02586, allocations: 4 kB / 370.1 MB, free: 9.926 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002969/0.02616, allocations: 164 kB / 370.3 MB, free: 9.766 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02616, allocations: 4 kB / 370.3 MB, free: 9.762 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004105/0.02657, allocations: 32 kB / 370.3 MB, free: 9.73 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Ge1.thetap,Ge1.deltag,Ge1.wg,C.x_scaled[1]) * 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 (13): * 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: 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.0001495/0.02672, allocations: 95.19 kB / 370.4 MB, free: 9.625 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006359/0.02735, allocations: 357 kB / 370.8 MB, free: 9.25 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.02736, allocations: 4 kB / 370.8 MB, free: 9.246 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003184/0.02767, allocations: 189.7 kB / 370.9 MB, free: 9.051 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00031/0.02798, allocations: 23.92 kB / 371 MB, free: 9.027 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009949/0.02898, allocations: 440.7 kB / 371.4 MB, free: 8.566 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001583/0.02914, allocations: 119.6 kB / 371.5 MB, free: 8.43 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.904e-05/0.02922, allocations: 17.48 kB / 371.5 MB, free: 8.414 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.786e-05/0.02927, allocations: 16.5 kB / 371.5 MB, free: 8.398 MB / 298.7 MB Notification: Performance of SimCode: time 6.81e-07/0.02928, allocations: 0 / 371.5 MB, free: 8.398 MB / 298.7 MB Notification: Performance of Templates: time 0.006227/0.0355, allocations: 1.985 MB / 373.5 MB, free: 6.422 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ElecSys_case_studies.foo.makefile [Timeout 660] (rm -f AES_AES.Coursework.ElecSys_case_studies.foo.pipe ; mkfifo AES_AES.Coursework.ElecSys_case_studies.foo.pipe ; head -c 1048576 < AES_AES.Coursework.ElecSys_case_studies.foo.pipe >> ../files/AES_AES.Coursework.ElecSys_case_studies.foo.sim & ./AES_AES.Coursework.ElecSys_case_studies.foo -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ElecSys_case_studies.foo.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.58852609700989]