Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.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.PVPanels,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels",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.369/2.369, allocations: 248.7 MB / 256.2 MB, free: 7.086 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.001525/0.001525, allocations: 180 kB / 315.4 MB, free: 4.035 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.069/2.069, allocations: 205.3 MB / 0.5662 GB, free: 0.5352 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001055/0.001055, allocations: 86.59 kB / 0.6704 GB, free: 5.742 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.038e-05/3.05e-05, allocations: 0 / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2522, allocations: 106.3 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.343/7.595, allocations: 2.238 GB / 3.122 GB, free: 131 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004689/7.596, allocations: 103.1 kB / 3.123 GB, free: 130.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.322/8.918, allocations: 184.7 MB / 3.303 GB, free: 232.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.094e-06/8.918, allocations: 0 / 3.303 GB, free: 232.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0003566/8.918, allocations: 105.2 kB / 3.303 GB, free: 232.7 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1124 * Number of variables: 1124 Notification: Performance of Generate backend data structure: time 0.0147/8.933, allocations: 3.639 MB / 3.307 GB, free: 231.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/8.933, allocations: 11.75 kB / 3.307 GB, free: 231.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02042/8.953, allocations: 1.8 MB / 3.308 GB, free: 230.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007939/8.961, allocations: 2.404 MB / 3.311 GB, free: 230.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002708/8.962, allocations: 137.1 kB / 3.311 GB, free: 230.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002148/8.964, allocations: 250.5 kB / 3.311 GB, free: 230.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01602/8.98, allocations: 5.161 MB / 3.316 GB, free: 230.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01936/8.999, allocations: 5.398 MB / 3.321 GB, free: 229.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001722/8.999, allocations: 16.75 kB / 3.321 GB, free: 229.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001085/9.001, allocations: 13.83 kB / 3.321 GB, free: 229.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000304/9.001, allocations: 212.8 kB / 3.322 GB, free: 229.6 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05572/9.057, allocations: 25.17 MB / 3.346 GB, free: 216.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008692/9.065, allocations: 3.626 MB / 3.35 GB, free: 215.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003907/9.069, allocations: 1.751 MB / 3.351 GB, free: 214.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001135/9.07, allocations: 0.5134 MB / 3.352 GB, free: 214.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004404/9.075, allocations: 1.905 MB / 3.354 GB, free: 213.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=254): time 6.132e-06/9.075, allocations: 1.406 kB / 3.354 GB, free: 213.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=257): time 0.02411/9.099, allocations: 6.396 MB / 3.36 GB, free: 210.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001584/9.099, allocations: 453.1 kB / 3.36 GB, free: 209.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003014/9.102, allocations: 1.39 MB / 3.362 GB, free: 209.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.000899/9.103, allocations: 29.3 kB / 3.362 GB, free: 209.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001898/9.105, allocations: 1.713 MB / 3.363 GB, free: 207.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001552/9.107, allocations: 0.8258 MB / 3.364 GB, free: 207.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003797/9.107, allocations: 0 / 3.364 GB, free: 207.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002128/9.107, allocations: 413.6 kB / 3.365 GB, free: 206.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003594/9.111, allocations: 1.361 MB / 3.366 GB, free: 206.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004611/9.116, allocations: 2.055 MB / 3.368 GB, free: 204.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01397/9.13, allocations: 2.603 MB / 3.371 GB, free: 204 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.152e-05/9.13, allocations: 3.375 kB / 3.371 GB, free: 204 MB / 0.8698 GB Notification: Performance of matching and sorting (n=346) (initialization): time 0.02079/9.151, allocations: 4.587 MB / 3.375 GB, free: 202.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001374/9.152, allocations: 6.783 MB / 3.382 GB, free: 195.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.548e-05/9.152, allocations: 21.06 kB / 3.382 GB, free: 195.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.016e-05/9.152, allocations: 35.14 kB / 3.382 GB, free: 195.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008465/9.161, allocations: 0.8402 MB / 3.383 GB, free: 195.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.048e-05/9.161, allocations: 39.94 kB / 3.383 GB, free: 195.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006443/9.167, allocations: 344.2 kB / 3.383 GB, free: 195.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009727/9.168, allocations: 135 kB / 3.383 GB, free: 195.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/9.168, allocations: 5.531 kB / 3.383 GB, free: 195.3 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01863/9.187, allocations: 4.009 MB / 3.387 GB, free: 194 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.562e-05/9.187, allocations: 16.81 kB / 3.387 GB, free: 194 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.052e-05/9.187, allocations: 33.03 kB / 3.387 GB, free: 194 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007371/9.194, allocations: 0.7822 MB / 3.388 GB, free: 194 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.89e-05/9.195, allocations: 39.86 kB / 3.388 GB, free: 194 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00517/9.2, allocations: 295.5 kB / 3.388 GB, free: 193.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004302/9.2, allocations: 136.3 kB / 3.388 GB, free: 193.9 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (346): * Single equations (assignments): 346 * 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.001042/9.201, allocations: 171.5 kB / 3.388 GB, free: 193.7 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01889/9.22, allocations: 4.165 MB / 3.392 GB, free: 192.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001053/9.221, allocations: 236 kB / 3.393 GB, free: 192.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02151/9.243, allocations: 4.795 MB / 3.397 GB, free: 189.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.147e-05/9.243, allocations: 28 kB / 3.397 GB, free: 189.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.256e-05/9.243, allocations: 0 / 3.397 GB, free: 189.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.916e-05/9.243, allocations: 18.16 kB / 3.397 GB, free: 189.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02899/9.272, allocations: 8.978 MB / 3.406 GB, free: 182.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-05/9.272, allocations: 4 kB / 3.406 GB, free: 182.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008493/9.281, allocations: 0.7874 MB / 3.407 GB, free: 181.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.203e-05/9.281, allocations: 11.75 kB / 3.407 GB, free: 181.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008105/9.281, allocations: 50.19 kB / 3.407 GB, free: 181.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.838e-05/9.281, allocations: 12 kB / 3.407 GB, free: 181.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/9.281, allocations: 0 / 3.407 GB, free: 181.9 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02482/9.306, allocations: 4.769 MB / 3.412 GB, free: 177.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004165/9.311, allocations: 0.8081 MB / 3.412 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001789/9.312, allocations: 4 kB / 3.412 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00877/9.321, allocations: 245.4 kB / 3.413 GB, free: 176.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001109/9.322, allocations: 172.5 kB / 3.413 GB, free: 176.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007582/9.323, allocations: 90.94 kB / 3.413 GB, free: 176.5 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.003988/9.327, allocations: 1.111 MB / 3.414 GB, free: 175.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.924e-06/9.327, allocations: 0 / 3.414 GB, free: 175.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01231/9.34, allocations: 1.25 MB / 3.415 GB, free: 174.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (276): * Single equations (assignments): 274 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.03052/9.37, allocations: 6.345 MB / 3.421 GB, free: 168.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01352/9.384, allocations: 5.147 MB / 3.426 GB, free: 164 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.71e-05/9.384, allocations: 5.125 kB / 3.426 GB, free: 164 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.004156/9.388, allocations: 1.701 MB / 3.428 GB, free: 162.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004996/9.393, allocations: 0.5225 MB / 3.429 GB, free: 162.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02109/9.414, allocations: 6.911 MB / 3.435 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003441/9.418, allocations: 2.689 MB / 3.438 GB, free: 153 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.01189/9.43, allocations: 1.407 MB / 3.439 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00449/9.434, allocations: 1.573 MB / 3.441 GB, free: 150.1 MB / 0.8698 GB Notification: Performance of SimCode: time 1.813e-06/9.434, allocations: 4 kB / 3.441 GB, free: 150.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1871/9.621, allocations: 67.84 MB / 3.507 GB, free: 82.99 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002374/9.622, allocations: 208.3 kB / 3.507 GB, free: 82.72 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.451/15.07, allocations: 3.125 kB / 3.507 GB, free: 82.72 MB / 0.8698 GB