Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.FF_compensation_simple_lead_lag.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AES.Coursework.Typical_control_structures.FF_compensation_simple_lead_lag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.FF_compensation_simple_lead_lag") translateModel(AES.Coursework.Typical_control_structures.FF_compensation_simple_lead_lag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.FF_compensation_simple_lead_lag") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 108.1 kB / 16.41 MB, free: 6.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 192.3 kB / 17.35 MB, free: 5.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09177/0.09177, allocations: 22.34 MB / 313.5 MB, free: 8.859 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 67.89 kB / 437.7 MB, free: 11.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09411/0.09549, allocations: 54.94 MB / 492.7 MB, free: 4.734 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.FF_compensation_simple_lead_lag): time 0.002485/0.09802, allocations: 1.212 MB / 493.9 MB, free: 3.52 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001813/0.09985, allocations: 1.342 MB / 495.2 MB, free: 2.16 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001437/0.1, allocations: 3.938 kB / 495.2 MB, free: 2.156 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003732/0.1004, allocations: 83.55 kB / 495.3 MB, free: 2.074 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000272/0.1007, allocations: 103.5 kB / 495.4 MB, free: 1.973 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003399/0.1011, allocations: 163.7 kB / 495.6 MB, free: 1.812 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005294/0.1016, allocations: 475.2 kB / 496 MB, free: 1.348 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.1018, allocations: 65.08 kB / 496.1 MB, free: 1.277 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002729/0.102, allocations: 195.4 kB / 496.3 MB, free: 1.086 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003348/0.1024, allocations: 223.2 kB / 496.5 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.404e-05/0.1024, allocations: 24 kB / 496.5 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.446e-05/0.1025, allocations: 28 kB / 496.6 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001516/0.1027, allocations: 107.7 kB / 496.7 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.1028, allocations: 131.1 kB / 496.8 MB, free: 0.582 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003244/0.1031, allocations: 294.7 kB / 497.1 MB, free: 300 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.1031, allocations: 4 kB / 497.1 MB, free: 296 kB / 366.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.1032, allocations: 0 / 497.1 MB, free: 296 kB / 366.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.1032, allocations: 3.938 kB / 497.1 MB, free: 292 kB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.002138/0.1053, allocations: 0.8242 MB / 497.9 MB, free: 15.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.1054, allocations: 8.031 kB / 497.9 MB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.893e-05/0.1055, allocations: 32.75 kB / 498 MB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001106/0.1066, allocations: 471.9 kB / 498.4 MB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.1066, allocations: 16.23 kB / 498.4 MB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.451e-05/0.1066, allocations: 28.27 kB / 498.5 MB, free: 14.83 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003352/0.107, allocations: 193.7 kB / 498.6 MB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.107, allocations: 3.938 kB / 498.7 MB, free: 14.63 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.047e-05/0.107, allocations: 8 kB / 498.7 MB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.107, allocations: 4 kB / 498.7 MB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003887/0.1074, allocations: 207.8 kB / 498.9 MB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001192/0.1086, allocations: 0.707 MB / 499.6 MB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006624/0.1093, allocations: 298.4 kB / 499.9 MB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001976/0.1095, allocations: 120.8 kB / 500 MB, free: 13.24 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.078e-05/0.1096, allocations: 8 kB / 500 MB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.1096, allocations: 34.55 kB / 0.4883 GB, free: 13.19 MB / 382.1 MB Notification: Performance of pre-optimization done (n=23): time 1.623e-06/0.1096, allocations: 0 / 0.4883 GB, free: 13.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=23): time 0.001392/0.111, allocations: 0.5948 MB / 0.4889 GB, free: 12.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.891e-05/0.111, allocations: 55.41 kB / 0.4889 GB, free: 12.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001027/0.1121, allocations: 476.3 kB / 0.4894 GB, free: 12.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.1121, allocations: 29.7 kB / 0.4894 GB, free: 11.99 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.1122, allocations: 176.5 kB / 0.4896 GB, free: 11.81 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.814e-05/0.1123, allocations: 91.2 kB / 0.4897 GB, free: 11.72 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.27e-05/0.1124, allocations: 45.7 kB / 0.4897 GB, free: 11.67 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.1126, allocations: 342.8 kB / 0.49 GB, free: 11.33 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001975/0.1128, allocations: 107.9 kB / 0.4902 GB, free: 11.22 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001954/0.113, allocations: 133.6 kB / 0.4903 GB, free: 11.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002251/0.1152, allocations: 0.7083 MB / 0.491 GB, free: 10.37 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.1152, allocations: 0 / 0.491 GB, free: 10.37 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000746/0.116, allocations: 426 kB / 0.4914 GB, free: 9.945 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.116, allocations: 4 kB / 0.4914 GB, free: 9.941 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.116, allocations: 0 / 0.4914 GB, free: 9.941 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002345/0.1163, allocations: 60.8 kB / 0.4914 GB, free: 9.879 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002132/0.1165, allocations: 55.8 kB / 0.4915 GB, free: 9.824 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001548/0.118, allocations: 1.657 MB / 0.4931 GB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000477/0.1185, allocations: 83.83 kB / 0.4932 GB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.198e-05/0.1186, allocations: 4 kB / 0.4932 GB, free: 7.945 MB / 382.1 MB Warning: Assuming fixed start value for the following 7 variables: C.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] K.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] M.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] H.x_scaled[2]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] H.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] P.x_scaled[2]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] P.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] 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 (27): * Single equations (assignments): 26 * 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): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002262/0.1188, allocations: 191.5 kB / 0.4934 GB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.024e-05/0.1189, allocations: 27.81 kB / 0.4934 GB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.712e-05/0.119, allocations: 47.17 kB / 0.4934 GB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.119, allocations: 3.938 kB / 0.4935 GB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.119, allocations: 0 / 0.4935 GB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.471e-05/0.1191, allocations: 120.8 kB / 0.4936 GB, free: 7.531 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.352e-05/0.1191, allocations: 8 kB / 0.4936 GB, free: 7.523 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004806/0.1196, allocations: 71.89 kB / 0.4936 GB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.916e-05/0.1197, allocations: 19.91 kB / 0.4937 GB, free: 7.434 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001258/0.1209, allocations: 0.5209 MB / 0.4942 GB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008191/0.1218, allocations: 0.6566 MB / 0.4948 GB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002165/0.122, allocations: 135.9 kB / 0.4949 GB, free: 6.098 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009185/0.1229, allocations: 378.8 kB / 0.4953 GB, free: 5.73 MB / 382.1 MB Notification: Performance of Backend: time 6.11e-07/0.1229, allocations: 0 / 0.4953 GB, free: 5.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008178/0.1238, allocations: 380.9 kB / 0.4957 GB, free: 5.336 MB / 382.1 MB Notification: Performance of SimCode: time 0.001081/0.1249, allocations: 1.117 MB / 0.4968 GB, free: 4.172 MB / 382.1 MB Notification: Performance of Templates: time 0.007733/0.1326, allocations: 4.123 MB / 0.5008 GB, free: 56 kB / 382.1 MB make -j1 -f AES_AES.Coursework.Typical_control_structures.FF_compensation_simple_lead_lag.makefile (rm -f AES_AES.Coursework.Typical_control_structures.FF_compensation_simple_lead_lag.pipe ; mkfifo AES_AES.Coursework.Typical_control_structures.FF_compensation_simple_lead_lag.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_control_structures.FF_compensation_simple_lead_lag.pipe >> ../files/AES_AES.Coursework.Typical_control_structures.FF_compensation_simple_lead_lag.sim & ./AES_AES.Coursework.Typical_control_structures.FF_compensation_simple_lead_lag -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.FF_compensation_simple_lead_lag.pipe 2>&1)