Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.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.Conversion.Examples.TransformerDD,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerDD",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.384/2.384, allocations: 248.5 MB / 261 MB, free: 5.941 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.001417/0.001417, allocations: 182.6 kB / 320.4 MB, free: 15.33 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.025/2.025, allocations: 205.2 MB / 0.571 GB, free: 11.75 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.001074/0.001073, allocations: 103.5 kB / 0.6754 GB, free: 0.8477 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.448e-05/3.46e-05, allocations: 4 kB / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.2063, allocations: 106.2 MB / 0.8907 GB, free: 7.445 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9219/1.128, allocations: 180.7 MB / 1.067 GB, free: 4.457 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003777/1.129, allocations: 101.6 kB / 1.067 GB, free: 4.402 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.4427/1.571, allocations: 98.56 MB / 1.164 GB, free: 8.199 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.923e-06/1.572, allocations: 0 / 1.164 GB, free: 8.199 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001438/1.572, allocations: 52 kB / 1.164 GB, free: 8.148 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 729 * Number of variables: 729 Notification: Performance of Generate backend data structure: time 0.01014/1.582, allocations: 2.258 MB / 1.166 GB, free: 5.836 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.741e-05/1.582, allocations: 8.031 kB / 1.166 GB, free: 5.828 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001848/1.584, allocations: 428.5 kB / 1.166 GB, free: 5.402 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0205/1.604, allocations: 1.873 MB / 1.168 GB, free: 3.523 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006156/1.611, allocations: 1.607 MB / 1.17 GB, free: 1.871 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003257/1.611, allocations: 201.5 kB / 1.17 GB, free: 1.672 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001599/1.613, allocations: 264 kB / 1.17 GB, free: 1.414 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01667/1.629, allocations: 4.516 MB / 1.174 GB, free: 12.8 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.67e-05/1.629, allocations: 0 / 1.174 GB, free: 12.8 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007544/1.63, allocations: 119.9 kB / 1.175 GB, free: 12.68 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005664/1.631, allocations: 192.4 kB / 1.175 GB, free: 12.49 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01538/1.646, allocations: 4.25 MB / 1.179 GB, free: 8.227 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04467/1.691, allocations: 20.98 MB / 1.199 GB, free: 1.402 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005799/1.697, allocations: 2.497 MB / 1.202 GB, free: 14.73 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004999/1.702, allocations: 1.641 MB / 1.203 GB, free: 13.07 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003583/1.702, allocations: 122 kB / 1.204 GB, free: 12.93 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.41e-05/1.702, allocations: 55.5 kB / 1.204 GB, free: 12.87 MB / 0.823 GB Notification: Performance of pre-optimization done (n=139): time 4.638e-06/1.702, allocations: 0 / 1.204 GB, free: 12.87 MB / 0.823 GB Notification: Performance of matching and sorting (n=181): time 0.05335/1.756, allocations: 9.974 MB / 1.213 GB, free: 2.859 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001486/1.756, allocations: 230.9 kB / 1.214 GB, free: 2.586 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001941/1.758, allocations: 0.8781 MB / 1.214 GB, free: 1.703 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004661/1.758, allocations: 53.7 kB / 1.214 GB, free: 1.645 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000947/1.759, allocations: 1.1 MB / 1.216 GB, free: 0.5273 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001097/1.76, allocations: 0.6125 MB / 1.216 GB, free: 15.9 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003178/1.761, allocations: 44 kB / 1.216 GB, free: 15.86 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003302/1.761, allocations: 435.2 kB / 1.217 GB, free: 15.43 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003873/1.765, allocations: 1.394 MB / 1.218 GB, free: 14.03 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004515/1.769, allocations: 1.972 MB / 1.22 GB, free: 11.81 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004828/1.774, allocations: 1.712 MB / 1.222 GB, free: 10.1 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.473e-05/1.774, allocations: 4 kB / 1.222 GB, free: 10.09 MB / 0.8386 GB Notification: Performance of matching and sorting (n=290) (initialization): time 0.01417/1.789, allocations: 4.413 MB / 1.226 GB, free: 5.668 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.00309/1.792, allocations: 6.878 MB / 1.233 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-05/1.792, allocations: 20 kB / 1.233 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004814/1.797, allocations: 1.075 MB / 1.234 GB, free: 13.15 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006941/1.804, allocations: 0.7409 MB / 1.234 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02367/1.827, allocations: 10.1 MB / 1.244 GB, free: 2.02 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005946/1.833, allocations: 463 kB / 1.245 GB, free: 1.566 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005823/1.834, allocations: 115.9 kB / 1.245 GB, free: 1.453 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/1.834, allocations: 5.875 kB / 1.245 GB, free: 1.449 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01265/1.847, allocations: 4.268 MB / 1.249 GB, free: 13.17 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-05/1.847, allocations: 16 kB / 1.249 GB, free: 13.16 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003864/1.851, allocations: 0.8682 MB / 1.25 GB, free: 12.28 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006868/1.858, allocations: 0.7448 MB / 1.251 GB, free: 11.54 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02191/1.88, allocations: 10.04 MB / 1.26 GB, free: 1.223 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00563/1.885, allocations: 451.2 kB / 1.261 GB, free: 0.7812 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005748/1.886, allocations: 111.9 kB / 1.261 GB, free: 0.6719 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (220): * Single equations (assignments): 218 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,100.0%) 32,(4,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008074/1.887, allocations: 232.3 kB / 1.261 GB, free: 448 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006497/1.887, allocations: 122.6 kB / 1.261 GB, free: 324 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6629/2.55, allocations: 4.18 MB / 1.265 GB, free: 253.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.183e-05/2.55, allocations: 17.69 kB / 1.265 GB, free: 253.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.96e-05/2.551, allocations: 12.88 kB / 1.265 GB, free: 253.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.574e-05/2.551, allocations: 9.531 kB / 1.265 GB, free: 253.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02405/2.575, allocations: 7.804 MB / 1.273 GB, free: 252.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.217e-05/2.575, allocations: 7.719 kB / 1.273 GB, free: 252.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005373/2.58, allocations: 0.5427 MB / 1.273 GB, free: 252.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004086/2.584, allocations: 0.874 MB / 1.274 GB, free: 252.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004679/2.585, allocations: 56.14 kB / 1.274 GB, free: 252.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02083/2.606, allocations: 9.68 MB / 1.284 GB, free: 249.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.761e-05/2.606, allocations: 15.53 kB / 1.284 GB, free: 249.6 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01095/2.617, allocations: 4.223 MB / 1.288 GB, free: 248.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002052/2.619, allocations: 0.5301 MB / 1.289 GB, free: 248.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007237/2.62, allocations: 40.28 kB / 1.289 GB, free: 248.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005431/2.625, allocations: 410.6 kB / 1.289 GB, free: 248.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007949/2.626, allocations: 166 kB / 1.289 GB, free: 248.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003177/2.626, allocations: 68.16 kB / 1.289 GB, free: 248.2 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001718/2.628, allocations: 0.7009 MB / 1.29 GB, free: 248.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7.41e-07/2.628, allocations: 0 / 1.29 GB, free: 248.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.007314/2.635, allocations: 1.223 MB / 1.291 GB, free: 248.1 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 107 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,100.0%) 32,(4,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01181/2.647, allocations: 7.228 MB / 1.298 GB, free: 243.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.02046/2.668, allocations: 6.561 MB / 1.305 GB, free: 243.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.597e-05/2.668, allocations: 1.375 kB / 1.305 GB, free: 243.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.006739/2.674, allocations: 2.118 MB / 1.307 GB, free: 242.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001797/2.676, allocations: 165.1 kB / 1.307 GB, free: 242.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03017/2.706, allocations: 6.639 MB / 1.313 GB, free: 240.3 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003105/2.71, allocations: 2.279 MB / 1.315 GB, free: 239.3 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.006947/2.717, allocations: 1.314 MB / 1.317 GB, free: 239.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002107/2.719, allocations: 0.8008 MB / 1.318 GB, free: 238.6 MB / 0.8698 GB Notification: Performance of SimCode: time 1.253e-06/2.719, allocations: 3.656 kB / 1.318 GB, free: 238.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1263/2.845, allocations: 51.7 MB / 1.368 GB, free: 230.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000305/2.845, allocations: 204.1 kB / 1.368 GB, free: 230.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.024/6.87, allocations: 0 / 1.368 GB, free: 230.1 MB / 0.8698 GB