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.347/2.347, allocations: 248.5 MB / 261 MB, free: 5.965 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001524/0.001524, allocations: 184.9 kB / 320.4 MB, free: 15.36 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.001/2.001, allocations: 205.2 MB / 0.571 GB, free: 11.84 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.001178/0.001178, allocations: 104.2 kB / 0.6754 GB, free: 0.9297 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.612e-05/4.632e-05, allocations: 11.98 kB / 0.7869 GB, free: 97.81 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.2162, allocations: 106.2 MB / 0.8907 GB, free: 7.469 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9407/1.157, allocations: 168.3 MB / 1.055 GB, free: 0.7383 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003931/1.157, allocations: 98.09 kB / 1.055 GB, free: 0.6836 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.3811/1.539, allocations: 95.89 MB / 1.149 GB, free: 7.414 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.324e-06/1.539, allocations: 0 / 1.149 GB, free: 7.414 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0001547/1.539, allocations: 59.92 kB / 1.149 GB, free: 7.355 MB / 0.7605 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.008653/1.548, allocations: 2.172 MB / 1.151 GB, free: 5.129 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 6.185e-05/1.548, allocations: 12.03 kB / 1.151 GB, free: 5.117 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001395/1.549, allocations: 403.5 kB / 1.151 GB, free: 4.715 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007203/1.556, allocations: 0.75 MB / 1.152 GB, free: 3.961 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005186/1.561, allocations: 1.449 MB / 1.153 GB, free: 2.469 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002502/1.562, allocations: 193.1 kB / 1.154 GB, free: 2.277 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008804/1.563, allocations: 259.9 kB / 1.154 GB, free: 2.023 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01316/1.576, allocations: 4.144 MB / 1.158 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001001/1.576, allocations: 7.938 kB / 1.158 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004977/1.577, allocations: 108 kB / 1.158 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003525/1.577, allocations: 164.2 kB / 1.158 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01106/1.588, allocations: 3.399 MB / 1.162 GB, free: 9.996 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04318/1.631, allocations: 21.51 MB / 1.183 GB, free: 2.582 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001253/1.633, allocations: 0.5286 MB / 1.183 GB, free: 1.98 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001174/1.634, allocations: 0.4969 MB / 1.184 GB, free: 1.461 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 7.759e-05/1.634, allocations: 11.98 kB / 1.184 GB, free: 1.449 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.051e-05/1.634, allocations: 46.5 kB / 1.184 GB, free: 1.395 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=50): time 5.962e-06/1.634, allocations: 0 / 1.184 GB, free: 1.395 MB / 0.7917 GB Notification: Performance of matching and sorting (n=56): time 0.009548/1.643, allocations: 3.625 MB / 1.187 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001834/1.644, allocations: 243.9 kB / 1.187 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003046/1.647, allocations: 1.187 MB / 1.189 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0002122/1.647, allocations: 33.7 kB / 1.189 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.001361/1.648, allocations: 1.23 MB / 1.19 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004159/1.649, allocations: 217.2 kB / 1.19 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000204/1.649, allocations: 32 kB / 1.19 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0003675/1.649, allocations: 406.7 kB / 1.19 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002143/1.652, allocations: 0.7652 MB / 1.191 GB, free: 9.504 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003393/1.655, allocations: 1.462 MB / 1.193 GB, free: 7.707 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002948/1.658, allocations: 1.05 MB / 1.194 GB, free: 6.66 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-05/1.658, allocations: 8 kB / 1.194 GB, free: 6.652 MB / 0.8073 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.007063/1.665, allocations: 2.312 MB / 1.196 GB, free: 4.332 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.00519/1.67, allocations: 9.396 MB / 1.205 GB, free: 10.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.601e-05/1.671, allocations: 20 kB / 1.205 GB, free: 10.18 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.967e-05/1.671, allocations: 40 kB / 1.205 GB, free: 10.14 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003591/1.674, allocations: 443.2 kB / 1.206 GB, free: 9.707 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.975e-05/1.675, allocations: 55.8 kB / 1.206 GB, free: 9.652 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003458/1.678, allocations: 287.1 kB / 1.206 GB, free: 9.371 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003681/1.678, allocations: 83.98 kB / 1.206 GB, free: 9.289 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/1.678, allocations: 4 kB / 1.206 GB, free: 9.285 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005866/1.684, allocations: 1.98 MB / 1.208 GB, free: 7.305 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-05/1.684, allocations: 28.31 kB / 1.208 GB, free: 7.277 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.323e-05/1.685, allocations: 36 kB / 1.208 GB, free: 7.242 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00303/1.688, allocations: 407.3 kB / 1.208 GB, free: 6.844 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.495e-05/1.688, allocations: 43.86 kB / 1.208 GB, free: 6.801 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002463/1.69, allocations: 179.5 kB / 1.209 GB, free: 6.625 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002999/1.691, allocations: 83.98 kB / 1.209 GB, free: 6.543 MB / 0.823 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 () * 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.0006007/1.691, allocations: 215.3 kB / 1.209 GB, free: 6.328 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005184/1.692, allocations: 102.8 kB / 1.209 GB, free: 6.227 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002318/1.694, allocations: 0.8642 MB / 1.21 GB, free: 5.355 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.055e-05/1.694, allocations: 11.94 kB / 1.21 GB, free: 5.344 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.636e-05/1.694, allocations: 8 kB / 1.21 GB, free: 5.336 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.678e-05/1.694, allocations: 3.984 kB / 1.21 GB, free: 5.332 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01959/1.714, allocations: 8.13 MB / 1.218 GB, free: 13 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.261e-05/1.714, allocations: 12 kB / 1.218 GB, free: 12.98 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001044/1.715, allocations: 147.6 kB / 1.218 GB, free: 12.84 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.129e-05/1.715, allocations: 16 kB / 1.218 GB, free: 12.82 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000116/1.715, allocations: 24.66 kB / 1.218 GB, free: 12.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.803e-05/1.715, allocations: 23.92 kB / 1.218 GB, free: 12.78 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.031e-05/1.715, allocations: 19.94 kB / 1.218 GB, free: 12.76 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003729/1.719, allocations: 2.419 MB / 1.22 GB, free: 9.895 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001157/1.72, allocations: 347.5 kB / 1.221 GB, free: 9.535 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002748/1.72, allocations: 27.98 kB / 1.221 GB, free: 9.508 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001778/1.722, allocations: 115.8 kB / 1.221 GB, free: 9.395 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002435/1.722, allocations: 71.67 kB / 1.221 GB, free: 9.324 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.71e-05/1.723, allocations: 28 kB / 1.221 GB, free: 9.297 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.002419/1.725, allocations: 0.9166 MB / 1.222 GB, free: 8.367 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9.01e-07/1.725, allocations: 0 / 1.222 GB, free: 8.367 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.005377/1.73, allocations: 0.8125 MB / 1.223 GB, free: 7.555 MB / 0.8386 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 () * 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.006088/1.737, allocations: 6.501 MB / 1.229 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.006839/1.743, allocations: 2.536 MB / 1.231 GB, free: 14.17 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.766e-05/1.744, allocations: 0 / 1.231 GB, free: 14.17 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001165/1.745, allocations: 450.4 kB / 1.232 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002303/1.747, allocations: 213.7 kB / 1.232 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01408/1.761, allocations: 4.115 MB / 1.236 GB, free: 9.191 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003811/1.765, allocations: 2.031 MB / 1.238 GB, free: 7.125 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.004393/1.769, allocations: 0.8714 MB / 1.239 GB, free: 6.25 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002011/1.772, allocations: 0.714 MB / 1.24 GB, free: 5.535 MB / 0.8542 GB Notification: Performance of SimCode: time 1.904e-06/1.772, allocations: 0 / 1.24 GB, free: 5.535 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7239/2.496, allocations: 29.01 MB / 1.268 GB, free: 252.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001902/2.496, allocations: 184.2 kB / 1.268 GB, free: 252.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.189/5.685, allocations: 0 / 1.268 GB, free: 252.2 MB / 0.8698 GB