Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.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.TransformerStepDownYD,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownYD",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.481/2.481, allocations: 248.5 MB / 261.1 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.002892/0.002891, allocations: 176.9 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.121/2.121, 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.001037/0.001037, allocations: 101.5 kB / 0.6754 GB, free: 0.832 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.939e-05/3.96e-05, allocations: 4 kB / 0.7869 GB, free: 97.77 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.212, allocations: 106.2 MB / 0.8907 GB, free: 7.438 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9786/1.191, allocations: 181 MB / 1.067 GB, free: 4.477 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003921/1.191, allocations: 98.23 kB / 1.068 GB, free: 4.422 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.4169/1.608, allocations: 102.3 MB / 1.167 GB, free: 4.203 MB / 0.7761 GB Notification: Performance of FrontEnd: time 4.819e-06/1.608, allocations: 0 / 1.167 GB, free: 4.203 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.000154/1.608, allocations: 59.94 kB / 1.167 GB, free: 4.145 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: 769 * Number of variables: 769 Notification: Performance of Generate backend data structure: time 0.01053/1.619, allocations: 2.341 MB / 1.17 GB, free: 1.746 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.866e-05/1.619, allocations: 12.03 kB / 1.17 GB, free: 1.734 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001959/1.621, allocations: 441.6 kB / 1.17 GB, free: 1.293 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02053/1.641, allocations: 1.892 MB / 1.172 GB, free: 15.39 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006171/1.648, allocations: 1.658 MB / 1.174 GB, free: 13.7 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000323/1.648, allocations: 213.8 kB / 1.174 GB, free: 13.48 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001752/1.65, allocations: 280 kB / 1.174 GB, free: 13.21 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01704/1.667, allocations: 4.73 MB / 1.179 GB, free: 8.387 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-05/1.667, allocations: 3.938 kB / 1.179 GB, free: 8.383 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006606/1.668, allocations: 119.9 kB / 1.179 GB, free: 8.266 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005395/1.668, allocations: 196.8 kB / 1.179 GB, free: 8.07 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01475/1.683, allocations: 4.373 MB / 1.183 GB, free: 3.684 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04612/1.729, allocations: 22.47 MB / 1.205 GB, free: 11.18 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006316/1.736, allocations: 2.508 MB / 1.208 GB, free: 8.492 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004504/1.74, allocations: 1.461 MB / 1.209 GB, free: 7.012 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000394/1.741, allocations: 118.1 kB / 1.209 GB, free: 6.879 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.104e-05/1.741, allocations: 55.55 kB / 1.209 GB, free: 6.812 MB / 0.823 GB Notification: Performance of pre-optimization done (n=132): time 4.579e-06/1.741, allocations: 3.938 kB / 1.209 GB, free: 6.809 MB / 0.823 GB Notification: Performance of matching and sorting (n=174): time 0.05631/1.797, allocations: 10.02 MB / 1.219 GB, free: 12.75 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001551/1.797, allocations: 242.9 kB / 1.219 GB, free: 12.46 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002024/1.799, allocations: 0.8469 MB / 1.22 GB, free: 11.61 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0005655/1.8, allocations: 53.7 kB / 1.22 GB, free: 11.55 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.001159/1.801, allocations: 1.154 MB / 1.221 GB, free: 10.38 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.00129/1.802, allocations: 0.5931 MB / 1.222 GB, free: 9.781 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003743/1.803, allocations: 40 kB / 1.222 GB, free: 9.742 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003779/1.803, allocations: 431.2 kB / 1.222 GB, free: 9.312 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004952/1.808, allocations: 1.347 MB / 1.224 GB, free: 7.961 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004783/1.813, allocations: 1.934 MB / 1.226 GB, free: 5.77 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004667/1.818, allocations: 1.669 MB / 1.227 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.483e-05/1.818, allocations: 4 kB / 1.227 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01442/1.832, allocations: 4.315 MB / 1.231 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.003157/1.835, allocations: 7.062 MB / 1.238 GB, free: 8.156 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.934e-05/1.836, allocations: 19.98 kB / 1.238 GB, free: 8.137 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004916/1.84, allocations: 1.094 MB / 1.239 GB, free: 7.035 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0069/1.847, allocations: 0.737 MB / 1.24 GB, free: 6.297 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02395/1.871, allocations: 10.15 MB / 1.25 GB, free: 11.87 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00604/1.878, allocations: 463.2 kB / 1.25 GB, free: 11.42 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000816/1.878, allocations: 112 kB / 1.251 GB, free: 11.31 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/1.878, allocations: 4 kB / 1.251 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01471/1.893, allocations: 4.178 MB / 1.255 GB, free: 7.117 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.622e-05/1.893, allocations: 20.22 kB / 1.255 GB, free: 7.098 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004149/1.897, allocations: 0.8757 MB / 1.256 GB, free: 6.215 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006848/1.904, allocations: 0.7331 MB / 1.256 GB, free: 5.48 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6344/2.539, allocations: 10.09 MB / 1.266 GB, free: 249.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005761/2.545, allocations: 450.3 kB / 1.267 GB, free: 249.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000595/2.545, allocations: 112.3 kB / 1.267 GB, free: 249.3 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (212): * Single equations (assignments): 210 * 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.0007772/2.546, allocations: 227.1 kB / 1.267 GB, free: 249.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005893/2.547, allocations: 127.8 kB / 1.267 GB, free: 249.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01267/2.559, allocations: 3.937 MB / 1.271 GB, free: 249 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.023e-05/2.559, allocations: 18.12 kB / 1.271 GB, free: 249 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.49e-05/2.559, allocations: 19.45 kB / 1.271 GB, free: 249 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.701e-05/2.56, allocations: 10 kB / 1.271 GB, free: 249 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0236/2.583, allocations: 7.891 MB / 1.279 GB, free: 247.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.617e-05/2.583, allocations: 6.75 kB / 1.279 GB, free: 247.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005343/2.589, allocations: 0.5301 MB / 1.279 GB, free: 247.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004127/2.593, allocations: 0.8751 MB / 1.28 GB, free: 247.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004571/2.593, allocations: 58.14 kB / 1.28 GB, free: 247.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02142/2.615, allocations: 9.675 MB / 1.289 GB, free: 245.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.524e-05/2.615, allocations: 11.8 kB / 1.289 GB, free: 245.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01056/2.625, allocations: 4.102 MB / 1.293 GB, free: 244.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001972/2.627, allocations: 0.517 MB / 1.294 GB, free: 243.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005994/2.628, allocations: 40.34 kB / 1.294 GB, free: 243.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005513/2.633, allocations: 408.1 kB / 1.294 GB, free: 243.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000785/2.634, allocations: 156.9 kB / 1.295 GB, free: 243.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003089/2.635, allocations: 66.03 kB / 1.295 GB, free: 243.9 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001587/2.636, allocations: 0.6737 MB / 1.295 GB, free: 243.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.373e-06/2.636, allocations: 0 / 1.295 GB, free: 243.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.007103/2.643, allocations: 1.232 MB / 1.296 GB, free: 243.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 101 * 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.01112/2.655, allocations: 6.845 MB / 1.303 GB, free: 239.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01936/2.674, allocations: 6.414 MB / 1.309 GB, free: 237.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.366e-05/2.674, allocations: 3.875 kB / 1.309 GB, free: 237.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.005726/2.68, allocations: 2.102 MB / 1.312 GB, free: 236.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001517/2.681, allocations: 149.1 kB / 1.312 GB, free: 236.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02894/2.71, allocations: 6.777 MB / 1.318 GB, free: 234.6 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003012/2.713, allocations: 2.35 MB / 1.321 GB, free: 233.5 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.006768/2.72, allocations: 1.26 MB / 1.322 GB, free: 233.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002346/2.723, allocations: 0.8593 MB / 1.323 GB, free: 232.8 MB / 0.8698 GB Notification: Performance of SimCode: time 1.694e-06/2.723, allocations: 0 / 1.323 GB, free: 232.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.157/2.88, allocations: 51.72 MB / 1.373 GB, free: 223.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002673/2.88, allocations: 208.4 kB / 1.373 GB, free: 223.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.141/7.021, allocations: 3.953 kB / 1.373 GB, free: 223.6 MB / 0.8698 GB