Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Running command: translateModel(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P") translateModel(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HC_SS_case_001.mo:3:1-67:19:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HC_case_001.mo:3:1-55:16:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HNcontrol_HC_SS_case_002.mo:3:1-91:29:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HNcontrol_HC_SS_case_001.mo:3:1-85:29:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1205/0.1205, allocations: 21.45 MB / 36.4 MB, free: 1.156 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00108/0.00108, allocations: 180.7 kB / 42.62 MB, free: 3.992 MB / 33.03 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.796/1.796, allocations: 205.4 MB / 254.1 MB, free: 15.19 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001105/0.001105, allocations: 90 kB / 307.8 MB, free: 11.09 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004243/0.0004243, allocations: 7.719 kB / 371.2 MB, free: 60.27 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1364, allocations: 52.95 MB / 424.2 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1207/0.2571, allocations: 78.53 MB / 0.4909 GB, free: 0.5352 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002814/0.2575, allocations: 75.95 kB / 0.491 GB, free: 472 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2261/0.4836, allocations: 1.538 MB / 0.4925 GB, free: 78.55 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4836, allocations: 4.25 kB / 0.4925 GB, free: 78.55 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.406e-06/0.4837, allocations: 2.688 kB / 0.4925 GB, free: 78.55 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0004011/0.4841, allocations: 400.1 kB / 0.4929 GB, free: 78.17 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.4841, allocations: 8.219 kB / 0.4929 GB, free: 78.17 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.204e-05/0.4842, allocations: 12.59 kB / 0.4929 GB, free: 78.17 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.4843, allocations: 185.1 kB / 0.4931 GB, free: 77.97 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.4843, allocations: 7.672 kB / 0.4931 GB, free: 77.97 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.83e-05/0.4844, allocations: 13.52 kB / 0.4931 GB, free: 77.96 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.4845, allocations: 83.75 kB / 0.4932 GB, free: 77.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.4845, allocations: 0 / 0.4932 GB, free: 77.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.4845, allocations: 0 / 0.4932 GB, free: 77.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.4845, allocations: 2.375 kB / 0.4932 GB, free: 77.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.789e-05/0.4846, allocations: 42.22 kB / 0.4932 GB, free: 77.93 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005213/0.4851, allocations: 374.1 kB / 0.4936 GB, free: 77.64 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002826/0.4854, allocations: 91.73 kB / 0.4937 GB, free: 77.62 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.227e-06/0.4855, allocations: 0 / 0.4937 GB, free: 77.62 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.63e-05/0.4855, allocations: 35.91 kB / 0.4937 GB, free: 77.58 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 9.22e-07/0.4855, allocations: 0 / 0.4937 GB, free: 77.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006771/0.4862, allocations: 422.5 kB / 0.4941 GB, free: 77.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.162e-05/0.4862, allocations: 51.41 kB / 0.4942 GB, free: 77.23 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.4863, allocations: 133.7 kB / 0.4943 GB, free: 77.14 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.4863, allocations: 26.36 kB / 0.4943 GB, free: 77.11 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.477e-05/0.4864, allocations: 100.2 kB / 0.4944 GB, free: 77.03 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.451e-05/0.4864, allocations: 45.17 kB / 0.4944 GB, free: 77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.98e-06/0.4864, allocations: 6.734 kB / 0.4945 GB, free: 77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.667e-05/0.4865, allocations: 328.4 kB / 0.4948 GB, free: 76.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.845e-05/0.4866, allocations: 23.27 kB / 0.4948 GB, free: 76.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.03e-05/0.4867, allocations: 55.28 kB / 0.4948 GB, free: 76.66 MB / 362.7 MB Notification: The given system is mixed-determined. [index = 1] Notification: Performance of analyzeInitialSystem (initialization): time 0.0003294/0.487, allocations: 108.1 kB / 0.4949 GB, free: 76.65 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.487, allocations: 0 / 0.4949 GB, free: 76.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002233/0.4872, allocations: 154.6 kB / 0.4951 GB, free: 76.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.4873, allocations: 5.969 kB / 0.4951 GB, free: 76.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.4873, allocations: 0 / 0.4951 GB, free: 76.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001593/0.4874, allocations: 41.86 kB / 0.4951 GB, free: 76.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.681e-05/0.4875, allocations: 22.12 kB / 0.4952 GB, free: 76.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001069/0.4886, allocations: 1.46 MB / 0.4966 GB, free: 75.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.371e-05/0.4887, allocations: 0 / 0.4966 GB, free: 75.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.4887, allocations: 7.75 kB / 0.4966 GB, free: 75.22 MB / 362.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 Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: G.Pm = G.Pcmd. 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 (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.000116/0.4888, allocations: 135.3 kB / 0.4967 GB, free: 75.1 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.075e-05/0.4889, allocations: 8.453 kB / 0.4967 GB, free: 75.09 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.597e-05/0.4889, allocations: 16.75 kB / 0.4967 GB, free: 75.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.4889, allocations: 3 kB / 0.4967 GB, free: 75.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.4889, allocations: 1.453 kB / 0.4967 GB, free: 75.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.4889, allocations: 0.75 kB / 0.4967 GB, free: 75.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005434/0.4895, allocations: 437.4 kB / 0.4972 GB, free: 74.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.4895, allocations: 0 / 0.4972 GB, free: 74.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.445e-05/0.4896, allocations: 27.2 kB / 0.4972 GB, free: 74.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001226/0.4897, allocations: 38.78 kB / 0.4972 GB, free: 74.73 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.86e-05/0.4898, allocations: 8.109 kB / 0.4972 GB, free: 74.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008359/0.4906, allocations: 1.452 MB / 0.4987 GB, free: 73.38 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.4906, allocations: 0 / 0.4987 GB, free: 73.38 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002904/0.4909, allocations: 285.1 kB / 0.4989 GB, free: 73.18 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.365e-05/0.4909, allocations: 91.44 kB / 0.499 GB, free: 73.08 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.491, allocations: 7.125 kB / 0.499 GB, free: 73.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.57e-05/0.4911, allocations: 0 / 0.499 GB, free: 73.08 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.155e-05/0.4911, allocations: 12.33 kB / 0.499 GB, free: 73.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-06/0.4911, allocations: 9.281 kB / 0.499 GB, free: 73.07 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.549e-05/0.4912, allocations: 112.1 kB / 0.4991 GB, free: 73 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.422e-06/0.4912, allocations: 0 / 0.4991 GB, free: 73 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000319/0.4915, allocations: 32.33 kB / 0.4992 GB, free: 73 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (G.thetap,G.deltag,G.wg) * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001053/0.4916, allocations: 106.9 kB / 0.4993 GB, free: 72.9 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003106/0.492, allocations: 202.9 kB / 0.4995 GB, free: 72.78 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.492, allocations: 1.094 kB / 0.4995 GB, free: 72.78 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001468/0.4921, allocations: 155.7 kB / 0.4996 GB, free: 72.66 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001618/0.4923, allocations: 12.19 kB / 0.4996 GB, free: 72.66 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000893/0.4932, allocations: 0.5403 MB / 0.5002 GB, free: 72.29 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001692/0.4934, allocations: 0.711 MB / 0.5009 GB, free: 71.59 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.079e-05/0.4934, allocations: 8.766 kB / 0.5009 GB, free: 71.59 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.801e-05/0.4935, allocations: 12.81 kB / 0.5009 GB, free: 71.58 MB / 362.7 MB Notification: Performance of SimCode: time 3.5e-07/0.4935, allocations: 0 / 0.5009 GB, free: 71.58 MB / 362.7 MB Notification: Performance of Templates: time 0.003891/0.4974, allocations: 1.195 MB / 0.502 GB, free: 71.49 MB / 362.7 MB make -j1 -f AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P.makefile (rm -f AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P.pipe ; mkfifo AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P.pipe ; head -c 1048576 < AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P.pipe >> ../files/AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P.sim & ./AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P.pipe 2>&1)