Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.conf.json 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 Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.113/2.113, allocations: 251 MB / 265.9 MB, free: 11.67 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001573/0.001572, allocations: 186.4 kB / 325.5 MB, free: 2.867 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.485/2.485, allocations: 205.4 MB / 0.5764 GB, free: 20.8 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001141/0.001141, allocations: 80.33 kB / 0.6809 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004737/0.0004738, allocations: 9.938 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2009/0.2014, allocations: 106.3 MB / 0.8988 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9912/1.193, allocations: 168.3 MB / 1.063 GB, free: 64.37 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004085/1.193, allocations: 102.6 kB / 1.063 GB, free: 64.37 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3932/1.586, allocations: 96.33 MB / 1.157 GB, free: 39.24 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.675e-06/1.586, allocations: 0 / 1.157 GB, free: 39.24 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000173/1.587, allocations: 62.36 kB / 1.157 GB, free: 39.23 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.009848/1.596, allocations: 2.271 MB / 1.16 GB, free: 37.85 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/1.597, allocations: 7.812 kB / 1.16 GB, free: 37.85 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002155/1.599, allocations: 399.8 kB / 1.16 GB, free: 37.73 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0075/1.606, allocations: 0.7519 MB / 1.161 GB, free: 37.39 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004793/1.611, allocations: 1.453 MB / 1.162 GB, free: 36.81 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002629/1.611, allocations: 198.1 kB / 1.162 GB, free: 36.79 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001378/1.613, allocations: 258.3 kB / 1.163 GB, free: 36.79 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01439/1.627, allocations: 4.183 MB / 1.167 GB, free: 35.45 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001743/1.627, allocations: 15.75 kB / 1.167 GB, free: 35.44 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001162/1.629, allocations: 106.6 kB / 1.167 GB, free: 35.44 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002945/1.629, allocations: 164 kB / 1.167 GB, free: 35.41 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0139/1.643, allocations: 3.456 MB / 1.17 GB, free: 34.86 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05403/1.697, allocations: 21.52 MB / 1.191 GB, free: 17.84 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001636/1.699, allocations: 0.5266 MB / 1.192 GB, free: 17.43 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.565e-05/1.699, allocations: 10.34 kB / 1.192 GB, free: 17.43 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.69e-05/1.699, allocations: 53.64 kB / 1.192 GB, free: 17.37 MB / 0.698 GB Notification: Performance of pre-optimization done (n=50): time 5.521e-06/1.699, allocations: 3.219 kB / 1.192 GB, free: 17.37 MB / 0.698 GB Notification: Performance of matching and sorting (n=56): time 0.01397/1.713, allocations: 4.004 MB / 1.196 GB, free: 14.57 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/1.713, allocations: 235.2 kB / 1.196 GB, free: 14.29 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002575/1.716, allocations: 1.201 MB / 1.197 GB, free: 13.61 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000149/1.716, allocations: 37.55 kB / 1.197 GB, free: 13.57 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00074/1.717, allocations: 1.235 MB / 1.199 GB, free: 12.48 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002746/1.717, allocations: 208.7 kB / 1.199 GB, free: 12.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001897/1.717, allocations: 27.91 kB / 1.199 GB, free: 12.28 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001813/1.717, allocations: 414.3 kB / 1.199 GB, free: 11.89 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001775/1.719, allocations: 0.7793 MB / 1.2 GB, free: 11.48 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002078/1.721, allocations: 1.468 MB / 1.201 GB, free: 10.11 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002422/1.724, allocations: 1.064 MB / 1.202 GB, free: 9.203 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.812e-05/1.724, allocations: 12 kB / 1.202 GB, free: 9.191 MB / 0.698 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.005726/1.729, allocations: 2.328 MB / 1.205 GB, free: 6.855 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.003093/1.733, allocations: 9.403 MB / 1.214 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.867e-05/1.733, allocations: 24 kB / 1.214 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.325e-05/1.733, allocations: 36 kB / 1.214 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003531/1.736, allocations: 443.2 kB / 1.214 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.37e-05/1.737, allocations: 51.78 kB / 1.214 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003481/1.74, allocations: 283.3 kB / 1.215 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004177/1.74, allocations: 79.98 kB / 1.215 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/1.741, allocations: 4 kB / 1.215 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005812/1.746, allocations: 1.999 MB / 1.217 GB, free: 9.812 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.284e-05/1.746, allocations: 24 kB / 1.217 GB, free: 9.789 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.657e-05/1.747, allocations: 36 kB / 1.217 GB, free: 9.754 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002979/1.75, allocations: 412 kB / 1.217 GB, free: 9.352 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.996e-05/1.75, allocations: 47.86 kB / 1.217 GB, free: 9.305 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002396/1.752, allocations: 183.5 kB / 1.217 GB, free: 9.125 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003048/1.752, allocations: 87.94 kB / 1.217 GB, free: 9.039 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * 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 (192): * Single equations (assignments): 192 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00307/1.756, allocations: 1.121 MB / 1.219 GB, free: 7.906 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005476/1.756, allocations: 102.8 kB / 1.219 GB, free: 7.805 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002393/1.758, allocations: 0.8793 MB / 1.219 GB, free: 6.918 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.103e-05/1.759, allocations: 8 kB / 1.219 GB, free: 6.91 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-05/1.759, allocations: 4 kB / 1.219 GB, free: 6.906 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.383e-05/1.759, allocations: 0 / 1.219 GB, free: 6.906 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01928/1.778, allocations: 8.146 MB / 1.227 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.018e-05/1.778, allocations: 16 kB / 1.227 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001021/1.779, allocations: 143.7 kB / 1.228 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.751e-05/1.779, allocations: 16 kB / 1.228 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.583e-05/1.779, allocations: 20 kB / 1.228 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.641e-05/1.779, allocations: 27.86 kB / 1.228 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-05/1.779, allocations: 15.94 kB / 1.228 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003578/1.783, allocations: 2.439 MB / 1.23 GB, free: 11.44 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00112/1.784, allocations: 339.6 kB / 1.23 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003496/1.784, allocations: 27.98 kB / 1.23 GB, free: 11.06 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001968/1.786, allocations: 103.8 kB / 1.23 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002615/1.787, allocations: 79.66 kB / 1.231 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.208e-05/1.787, allocations: 36 kB / 1.231 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002515/1.789, allocations: 0.9236 MB / 1.232 GB, free: 9.914 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7.01e-07/1.789, allocations: 0 / 1.232 GB, free: 9.914 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.005854/1.795, allocations: 0.8163 MB / 1.232 GB, free: 9.098 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * 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 simulation (56): * Single equations (assignments): 56 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005861/1.801, allocations: 6.509 MB / 1.239 GB, free: 2.234 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.007238/1.808, allocations: 2.546 MB / 1.241 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.508e-05/1.808, allocations: 0 / 1.241 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001289/1.81, allocations: 450.7 kB / 1.242 GB, free: 15.26 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002545/1.812, allocations: 224.3 kB / 1.242 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03683/1.849, allocations: 26.52 MB / 1.268 GB, free: 3.68 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004245/1.854, allocations: 2.037 MB / 1.27 GB, free: 1.609 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.005725/1.859, allocations: 0.8052 MB / 1.27 GB, free: 0.8008 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00313/1.863, allocations: 0.718 MB / 1.271 GB, free: 84 kB / 0.7605 GB Notification: Performance of SimCode: time 1.983e-06/1.863, allocations: 3.938 kB / 1.271 GB, free: 80 kB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.104/1.967, allocations: 27.82 MB / 1.298 GB, free: 4.547 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003675/1.967, allocations: 219.8 kB / 1.299 GB, free: 4.305 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.181/5.148, allocations: 0 / 1.299 GB, free: 4.305 MB / 0.7917 GB