Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.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.TransformerStepUpYD,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepUpYD",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.175/2.175, allocations: 248.5 MB / 261.1 MB, free: 6.047 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.001477/0.001477, allocations: 180.7 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.988/1.988, allocations: 205.2 MB / 0.571 GB, free: 11.81 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.001605/0.001605, allocations: 93.47 kB / 0.6754 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.044e-05/6.06e-05, allocations: 4 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2093/0.2094, allocations: 106.2 MB / 0.8907 GB, free: 7.457 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9314/1.141, allocations: 181 MB / 1.067 GB, free: 4.156 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003571/1.141, allocations: 101.9 kB / 1.068 GB, free: 4.098 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.4271/1.568, allocations: 102.3 MB / 1.167 GB, free: 4.098 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.124e-06/1.569, allocations: 0 / 1.167 GB, free: 4.098 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001543/1.569, allocations: 56 kB / 1.168 GB, free: 4.043 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.01078/1.579, allocations: 2.341 MB / 1.17 GB, free: 1.645 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.634e-05/1.58, allocations: 8.031 kB / 1.17 GB, free: 1.637 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002161/1.582, allocations: 441.6 kB / 1.17 GB, free: 1.195 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02057/1.602, allocations: 1.896 MB / 1.172 GB, free: 15.29 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006341/1.609, allocations: 1.658 MB / 1.174 GB, free: 13.59 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000344/1.609, allocations: 217.8 kB / 1.174 GB, free: 13.38 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001663/1.611, allocations: 276 kB / 1.174 GB, free: 13.11 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01803/1.629, allocations: 4.733 MB / 1.179 GB, free: 8.277 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001126/1.629, allocations: 3.938 kB / 1.179 GB, free: 8.273 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001188/1.63, allocations: 119.9 kB / 1.179 GB, free: 8.156 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005681/1.631, allocations: 188.8 kB / 1.179 GB, free: 7.969 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01541/1.646, allocations: 4.371 MB / 1.183 GB, free: 3.582 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04884/1.695, allocations: 22.47 MB / 1.205 GB, free: 11.09 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006417/1.702, allocations: 2.516 MB / 1.208 GB, free: 8.395 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004874/1.707, allocations: 1.472 MB / 1.209 GB, free: 6.902 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004715/1.707, allocations: 114.1 kB / 1.209 GB, free: 6.773 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.945e-05/1.707, allocations: 63.48 kB / 1.209 GB, free: 6.699 MB / 0.823 GB Notification: Performance of pre-optimization done (n=132): time 4.889e-06/1.707, allocations: 0 / 1.209 GB, free: 6.699 MB / 0.823 GB Notification: Performance of matching and sorting (n=174): time 0.05542/1.763, allocations: 10.02 MB / 1.219 GB, free: 12.64 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001734/1.763, allocations: 234.9 kB / 1.219 GB, free: 12.36 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002052/1.765, allocations: 0.8431 MB / 1.22 GB, free: 11.51 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0005227/1.765, allocations: 53.73 kB / 1.22 GB, free: 11.45 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.001156/1.767, allocations: 1.158 MB / 1.221 GB, free: 10.28 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.001231/1.768, allocations: 0.6009 MB / 1.222 GB, free: 9.668 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003353/1.768, allocations: 40 kB / 1.222 GB, free: 9.629 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003719/1.769, allocations: 427.2 kB / 1.222 GB, free: 9.203 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003989/1.773, allocations: 1.344 MB / 1.224 GB, free: 7.855 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005008/1.778, allocations: 1.938 MB / 1.226 GB, free: 5.66 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004933/1.783, allocations: 1.665 MB / 1.227 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.528e-05/1.783, allocations: 4 kB / 1.227 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01438/1.797, allocations: 4.312 MB / 1.231 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.003739/1.801, allocations: 7.052 MB / 1.238 GB, free: 8.059 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.637e-05/1.801, allocations: 20 kB / 1.238 GB, free: 8.039 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004757/1.806, allocations: 1.079 MB / 1.239 GB, free: 6.953 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006705/1.813, allocations: 0.7292 MB / 1.24 GB, free: 6.223 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02394/1.837, allocations: 10.13 MB / 1.25 GB, free: 11.82 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006028/1.843, allocations: 463.1 kB / 1.25 GB, free: 11.37 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008188/1.844, allocations: 112 kB / 1.251 GB, free: 11.26 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/1.844, allocations: 0 / 1.251 GB, free: 11.26 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01338/1.857, allocations: 4.174 MB / 1.255 GB, free: 7.078 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-05/1.857, allocations: 23.94 kB / 1.255 GB, free: 7.055 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004074/1.861, allocations: 0.876 MB / 1.256 GB, free: 6.172 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006659/1.868, allocations: 0.7331 MB / 1.256 GB, free: 5.438 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6695/2.537, allocations: 10.09 MB / 1.266 GB, free: 249 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00575/2.543, allocations: 448.1 kB / 1.267 GB, free: 249 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006516/2.544, allocations: 109.4 kB / 1.267 GB, free: 249 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.0007635/2.545, allocations: 232.8 kB / 1.267 GB, free: 248.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006164/2.545, allocations: 123.5 kB / 1.267 GB, free: 248.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01297/2.558, allocations: 3.933 MB / 1.271 GB, free: 248.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.616e-05/2.558, allocations: 22.53 kB / 1.271 GB, free: 248.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.495e-05/2.559, allocations: 12 kB / 1.271 GB, free: 248.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.838e-05/2.559, allocations: 10.11 kB / 1.271 GB, free: 248.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02402/2.583, allocations: 7.9 MB / 1.279 GB, free: 247.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-05/2.583, allocations: 7.812 kB / 1.279 GB, free: 247.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005212/2.588, allocations: 0.5251 MB / 1.279 GB, free: 247.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006061/2.594, allocations: 0.8861 MB / 1.28 GB, free: 247.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006506/2.595, allocations: 53.36 kB / 1.28 GB, free: 247.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02651/2.621, allocations: 9.711 MB / 1.289 GB, free: 245.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.374e-05/2.621, allocations: 10.12 kB / 1.289 GB, free: 245.1 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01083/2.632, allocations: 4.101 MB / 1.293 GB, free: 243.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001877/2.634, allocations: 0.5196 MB / 1.294 GB, free: 243.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005652/2.635, allocations: 43.64 kB / 1.294 GB, free: 243.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005248/2.64, allocations: 397.5 kB / 1.294 GB, free: 243.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007259/2.641, allocations: 156.2 kB / 1.295 GB, free: 243.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002988/2.641, allocations: 67.39 kB / 1.295 GB, free: 243.6 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001564/2.643, allocations: 0.6731 MB / 1.295 GB, free: 243.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6.02e-07/2.643, allocations: 1 kB / 1.295 GB, free: 243.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.007255/2.65, allocations: 1.228 MB / 1.296 GB, free: 243.5 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.01149/2.661, allocations: 6.854 MB / 1.303 GB, free: 239.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01996/2.682, allocations: 6.441 MB / 1.309 GB, free: 237.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.371e-05/2.682, allocations: 3.094 kB / 1.309 GB, free: 237.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.006247/2.688, allocations: 2.107 MB / 1.312 GB, free: 236.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001771/2.69, allocations: 146.4 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.03075/2.72, allocations: 6.77 MB / 1.318 GB, free: 234.6 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003733/2.724, allocations: 2.356 MB / 1.321 GB, free: 233.5 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.007291/2.732, allocations: 1.257 MB / 1.322 GB, free: 233.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002469/2.734, allocations: 0.853 MB / 1.323 GB, free: 232.8 MB / 0.8698 GB Notification: Performance of SimCode: time 1.333e-06/2.734, allocations: 0 / 1.323 GB, free: 232.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1233/2.857, allocations: 51.71 MB / 1.373 GB, free: 224 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002271/2.858, allocations: 213.6 kB / 1.373 GB, free: 223.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.015/6.872, allocations: 0 / 1.373 GB, free: 223.8 MB / 0.8698 GB