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.196/2.196, allocations: 251 MB / 265.9 MB, free: 11.68 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.001557/0.001557, allocations: 176.8 kB / 325.5 MB, free: 2.883 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.362/2.362, allocations: 205.4 MB / 0.5764 GB, free: 21.18 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.001212/0.001212, allocations: 103.2 kB / 0.6809 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007637/0.0007637, allocations: 16.41 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2389/0.2398, allocations: 106.3 MB / 0.8988 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9374/1.177, allocations: 181.1 MB / 1.076 GB, free: 66.14 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003921/1.178, allocations: 96.56 kB / 1.076 GB, free: 66.14 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.4098/1.587, allocations: 102.8 MB / 1.176 GB, free: 32.77 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.555e-06/1.588, allocations: 3.75 kB / 1.176 GB, free: 32.77 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001686/1.588, allocations: 53.38 kB / 1.176 GB, free: 32.77 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: 769 * Number of variables: 769 Notification: Performance of Generate backend data structure: time 0.0105/1.598, allocations: 2.413 MB / 1.179 GB, free: 31.33 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/1.598, allocations: 11.5 kB / 1.179 GB, free: 31.33 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002337/1.601, allocations: 443.1 kB / 1.179 GB, free: 31.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02008/1.621, allocations: 1.89 MB / 1.181 GB, free: 30.33 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005711/1.627, allocations: 1.673 MB / 1.182 GB, free: 29.06 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002644/1.627, allocations: 214.3 kB / 1.183 GB, free: 28.93 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001833/1.629, allocations: 279.4 kB / 1.183 GB, free: 28.75 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02096/1.65, allocations: 5.234 MB / 1.188 GB, free: 25.02 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001231/1.65, allocations: 3.938 kB / 1.188 GB, free: 25.02 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008739/1.651, allocations: 122.9 kB / 1.188 GB, free: 24.98 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005105/1.651, allocations: 195.5 kB / 1.188 GB, free: 24.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02286/1.674, allocations: 5.369 MB / 1.194 GB, free: 21.02 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04121/1.715, allocations: 22.47 MB / 1.215 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01157/1.727, allocations: 2.994 MB / 1.218 GB, free: 9.609 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004192/1.728, allocations: 126 kB / 1.219 GB, free: 9.469 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.779e-05/1.728, allocations: 55.5 kB / 1.219 GB, free: 9.406 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=132): time 4.789e-06/1.728, allocations: 0 / 1.219 GB, free: 9.406 MB / 0.7136 GB Notification: Performance of matching and sorting (n=174): time 0.07962/1.807, allocations: 12.96 MB / 1.231 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001638/1.807, allocations: 238.9 kB / 1.231 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002097/1.81, allocations: 0.8546 MB / 1.232 GB, free: 11.26 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0005349/1.81, allocations: 53.7 kB / 1.232 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001144/1.811, allocations: 1.158 MB / 1.233 GB, free: 10.03 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001215/1.813, allocations: 0.5852 MB / 1.234 GB, free: 9.434 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004337/1.813, allocations: 51.94 kB / 1.234 GB, free: 9.383 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0003677/1.813, allocations: 427.2 kB / 1.235 GB, free: 8.957 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008991/1.822, allocations: 1.85 MB / 1.236 GB, free: 7.102 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009863/1.832, allocations: 2.423 MB / 1.239 GB, free: 4.43 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009906/1.842, allocations: 2.149 MB / 1.241 GB, free: 2.281 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-05/1.842, allocations: 8 kB / 1.241 GB, free: 2.273 MB / 0.7292 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.02409/1.866, allocations: 5.306 MB / 1.246 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.002947/1.869, allocations: 6.877 MB / 1.253 GB, free: 5.535 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.458e-05/1.87, allocations: 20 kB / 1.253 GB, free: 5.516 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004773/1.874, allocations: 1.079 MB / 1.254 GB, free: 4.43 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006745/1.881, allocations: 0.7448 MB / 1.254 GB, free: 3.684 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02448/1.906, allocations: 10.62 MB / 1.265 GB, free: 8.801 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006012/1.912, allocations: 463.1 kB / 1.265 GB, free: 8.348 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000721/1.913, allocations: 111.9 kB / 1.265 GB, free: 8.238 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/1.913, allocations: 4 kB / 1.265 GB, free: 8.234 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02389/1.936, allocations: 5.165 MB / 1.27 GB, free: 3.059 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.763e-05/1.937, allocations: 23.98 kB / 1.27 GB, free: 3.035 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004042/1.941, allocations: 0.881 MB / 1.271 GB, free: 2.148 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006713/1.947, allocations: 0.7331 MB / 1.272 GB, free: 1.414 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02344/1.971, allocations: 10.55 MB / 1.282 GB, free: 6.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005628/1.977, allocations: 455.3 kB / 1.283 GB, free: 6.145 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006775/1.977, allocations: 107.9 kB / 1.283 GB, free: 6.039 MB / 0.7761 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 () * Number of clocked 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.003682/1.981, allocations: 1.273 MB / 1.284 GB, free: 4.754 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000656/1.982, allocations: 118.6 kB / 1.284 GB, free: 4.637 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0233/2.005, allocations: 4.926 MB / 1.289 GB, free: 15.67 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.301e-05/2.005, allocations: 16 kB / 1.289 GB, free: 15.65 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.94e-05/2.005, allocations: 12 kB / 1.289 GB, free: 15.64 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.794e-05/2.005, allocations: 15.95 kB / 1.289 GB, free: 15.62 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03355/2.039, allocations: 8.68 MB / 1.298 GB, free: 6.793 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-05/2.039, allocations: 8.094 kB / 1.298 GB, free: 6.785 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005186/2.044, allocations: 0.5264 MB / 1.298 GB, free: 6.258 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004056/2.048, allocations: 0.8759 MB / 1.299 GB, free: 5.375 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004149/2.049, allocations: 51.97 kB / 1.299 GB, free: 5.324 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0228/2.071, allocations: 10.16 MB / 1.309 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.366e-05/2.071, allocations: 15.83 kB / 1.309 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0212/2.093, allocations: 4.988 MB / 1.314 GB, free: 5.613 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001838/2.095, allocations: 0.5188 MB / 1.314 GB, free: 5.074 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005242/2.095, allocations: 39.98 kB / 1.314 GB, free: 5.035 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005175/2.1, allocations: 399.4 kB / 1.315 GB, free: 4.645 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007105/2.101, allocations: 152.9 kB / 1.315 GB, free: 4.496 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002808/2.101, allocations: 67.95 kB / 1.315 GB, free: 4.43 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001632/2.103, allocations: 0.6747 MB / 1.316 GB, free: 3.758 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6.81e-07/2.103, allocations: 0 / 1.316 GB, free: 3.758 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.006789/2.11, allocations: 1.238 MB / 1.317 GB, free: 2.52 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (101): * Single equations (assignments): 99 * 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.02262/2.133, allocations: 7.448 MB / 1.324 GB, free: 10.86 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.03613/2.169, allocations: 7.937 MB / 1.332 GB, free: 2.875 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-05/2.169, allocations: 0.875 kB / 1.332 GB, free: 2.875 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.01187/2.181, allocations: 2.601 MB / 1.334 GB, free: 252 kB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001784/2.182, allocations: 147.3 kB / 1.335 GB, free: 108 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08348/2.266, allocations: 29.85 MB / 1.364 GB, free: 1.586 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005677/2.272, allocations: 2.347 MB / 1.366 GB, free: 15.2 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.007615/2.279, allocations: 1.241 MB / 1.367 GB, free: 13.95 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00292/2.282, allocations: 0.8506 MB / 1.368 GB, free: 13.1 MB / 0.8698 GB Notification: Performance of SimCode: time 1.132e-06/2.282, allocations: 0 / 1.368 GB, free: 13.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.739/3.021, allocations: 50.33 MB / 1.417 GB, free: 250 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002314/3.022, allocations: 236.6 kB / 1.417 GB, free: 249.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.225/7.247, allocations: 4 kB / 1.417 GB, free: 249.8 MB / 0.8698 GB