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.214/2.214, allocations: 248.7 MB / 256.2 MB, free: 7.027 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.001506/0.001506, allocations: 172.1 kB / 315.4 MB, free: 3.984 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.037/2.037, allocations: 205.2 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.001085/0.001085, allocations: 93.22 kB / 0.6704 GB, free: 5.734 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.48e-05/2.485e-05, allocations: 8 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1993/0.1994, allocations: 106.2 MB / 0.8841 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9524/1.152, allocations: 181.3 MB / 1.061 GB, free: 7.73 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005283/1.152, allocations: 98.11 kB / 1.061 GB, free: 7.676 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.4934/1.646, allocations: 101.9 MB / 1.161 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.225e-06/1.646, allocations: 0 / 1.161 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001458/1.646, allocations: 59.94 kB / 1.161 GB, free: 11.18 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.01052/1.657, allocations: 2.337 MB / 1.163 GB, free: 8.781 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.698e-05/1.657, allocations: 12.03 kB / 1.163 GB, free: 8.77 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03127/1.688, allocations: 1.896 MB / 1.165 GB, free: 6.867 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009261/1.697, allocations: 1.654 MB / 1.167 GB, free: 5.164 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003116/1.698, allocations: 92 kB / 1.167 GB, free: 5.074 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001951/1.7, allocations: 160 kB / 1.167 GB, free: 4.918 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02001/1.72, allocations: 3.947 MB / 1.171 GB, free: 0.9648 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02339/1.743, allocations: 4.318 MB / 1.175 GB, free: 12.55 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002118/1.743, allocations: 7.891 kB / 1.175 GB, free: 12.55 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001471/1.745, allocations: 4 kB / 1.175 GB, free: 12.54 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009255/1.746, allocations: 196.8 kB / 1.175 GB, free: 12.35 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04945/1.795, allocations: 21.82 MB / 1.196 GB, free: 4.523 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006051/1.801, allocations: 2.47 MB / 1.199 GB, free: 1.883 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003703/1.805, allocations: 1.325 MB / 1.2 GB, free: 0.5391 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003648/1.806, allocations: 118.4 kB / 1.2 GB, free: 416 kB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.874e-05/1.806, allocations: 59.89 kB / 1.2 GB, free: 344 kB / 0.8073 GB Notification: Performance of pre-optimization done (n=132): time 5.5e-06/1.806, allocations: 0 / 1.2 GB, free: 344 kB / 0.8073 GB Notification: Performance of matching and sorting (n=174): time 0.02764/1.833, allocations: 7.712 MB / 1.208 GB, free: 8.59 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001434/1.834, allocations: 226.9 kB / 1.208 GB, free: 8.32 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001814/1.835, allocations: 0.8078 MB / 1.209 GB, free: 7.504 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004894/1.836, allocations: 29.73 kB / 1.209 GB, free: 7.469 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001182/1.837, allocations: 1.158 MB / 1.21 GB, free: 6.293 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001123/1.838, allocations: 0.5658 MB / 1.211 GB, free: 5.719 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002945/1.839, allocations: 0 / 1.211 GB, free: 5.719 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.00035/1.839, allocations: 435.2 kB / 1.211 GB, free: 5.285 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003594/1.843, allocations: 1.328 MB / 1.212 GB, free: 3.953 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004408/1.847, allocations: 1.892 MB / 1.214 GB, free: 1.812 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006946/1.854, allocations: 1.973 MB / 1.216 GB, free: 15.84 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.137e-05/1.854, allocations: 4 kB / 1.216 GB, free: 15.84 MB / 0.8386 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01686/1.871, allocations: 4.506 MB / 1.22 GB, free: 11.32 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.002998/1.874, allocations: 6.879 MB / 1.227 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.721e-05/1.874, allocations: 16 kB / 1.227 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005195/1.879, allocations: 1.004 MB / 1.228 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006715/1.886, allocations: 0.7292 MB / 1.229 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02865/1.915, allocations: 10.05 MB / 1.239 GB, free: 7.855 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007027/1.922, allocations: 419 kB / 1.239 GB, free: 7.445 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007768/1.923, allocations: 119.9 kB / 1.239 GB, free: 7.328 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/1.923, allocations: 0 / 1.239 GB, free: 7.328 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01462/1.937, allocations: 4.233 MB / 1.243 GB, free: 3.082 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-05/1.938, allocations: 16 kB / 1.243 GB, free: 3.066 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003787/1.941, allocations: 0.8413 MB / 1.244 GB, free: 2.219 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006576/1.948, allocations: 0.737 MB / 1.245 GB, free: 1.48 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02076/1.969, allocations: 9.631 MB / 1.254 GB, free: 7.605 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005511/1.974, allocations: 407.1 kB / 1.255 GB, free: 7.207 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006705/1.975, allocations: 111.9 kB / 1.255 GB, free: 7.098 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 (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.0008379/1.976, allocations: 154.1 kB / 1.255 GB, free: 6.941 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01241/1.988, allocations: 3.502 MB / 1.258 GB, free: 3.422 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009139/1.989, allocations: 126.6 kB / 1.258 GB, free: 3.297 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6052/2.595, allocations: 4.008 MB / 1.262 GB, free: 252.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.224e-05/2.595, allocations: 24.73 kB / 1.262 GB, free: 252.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.874e-05/2.595, allocations: 12.38 kB / 1.262 GB, free: 252.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.469e-05/2.595, allocations: 13.92 kB / 1.262 GB, free: 252.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02813/2.623, allocations: 7.333 MB / 1.27 GB, free: 251.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.489e-05/2.623, allocations: 5.688 kB / 1.27 GB, free: 251.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006645/2.63, allocations: 0.5278 MB / 1.27 GB, free: 251.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004199/2.634, allocations: 0.8565 MB / 1.271 GB, free: 251.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004497/2.635, allocations: 31.91 kB / 1.271 GB, free: 251.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02026/2.655, allocations: 9.367 MB / 1.28 GB, free: 249.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.61e-05/2.655, allocations: 10.94 kB / 1.28 GB, free: 249.2 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01176/2.667, allocations: 4.105 MB / 1.284 GB, free: 248.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001917/2.669, allocations: 0.5146 MB / 1.285 GB, free: 248 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004739/2.669, allocations: 9.562 kB / 1.285 GB, free: 248 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005228/2.674, allocations: 380.7 kB / 1.285 GB, free: 248 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007818/2.675, allocations: 151.8 kB / 1.285 GB, free: 248 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003454/2.676, allocations: 68.95 kB / 1.285 GB, free: 248 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001413/2.677, allocations: 0.6248 MB / 1.286 GB, free: 247.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7.92e-07/2.677, allocations: 2.188 kB / 1.286 GB, free: 247.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.007427/2.685, allocations: 1.098 MB / 1.287 GB, free: 247.9 MB / 0.8698 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 () * 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.01272/2.697, allocations: 6.536 MB / 1.293 GB, free: 244.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01823/2.716, allocations: 6.161 MB / 1.299 GB, free: 243.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.269e-05/2.716, allocations: 1.031 kB / 1.299 GB, free: 243.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.007026/2.723, allocations: 2.025 MB / 1.301 GB, free: 243.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001886/2.725, allocations: 121.5 kB / 1.301 GB, free: 243.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03051/2.755, allocations: 6.586 MB / 1.308 GB, free: 242.6 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003764/2.759, allocations: 2.35 MB / 1.31 GB, free: 241.8 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.007285/2.766, allocations: 1.257 MB / 1.311 GB, free: 241.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00241/2.769, allocations: 0.8442 MB / 1.312 GB, free: 241.8 MB / 0.8698 GB Notification: Performance of SimCode: time 1.693e-06/2.769, allocations: 0 / 1.312 GB, free: 241.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1426/2.911, allocations: 50.74 MB / 1.362 GB, free: 238.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002515/2.912, allocations: 185.6 kB / 1.362 GB, free: 238 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.087/6.999, allocations: 3.094 kB / 1.362 GB, free: 238 MB / 0.8698 GB