Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.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.TransformerStepDownDY,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownDY",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.415/2.415, allocations: 248.7 MB / 256.2 MB, free: 7.051 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: 170.4 kB / 315.4 MB, free: 4.012 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.238/2.238, allocations: 205.2 MB / 0.5662 GB, free: 0.5469 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.001094/0.001094, allocations: 98.45 kB / 0.6704 GB, free: 5.742 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.887e-05/2.91e-05, allocations: 4 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2199/0.22, allocations: 106.2 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.01/1.23, allocations: 181.3 MB / 1.061 GB, free: 7.691 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003727/1.23, allocations: 96.05 kB / 1.061 GB, free: 7.637 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.4307/1.661, allocations: 105.4 MB / 1.164 GB, free: 7.648 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.866e-06/1.661, allocations: 7.938 kB / 1.164 GB, free: 7.641 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001539/1.661, allocations: 59.98 kB / 1.164 GB, free: 7.582 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: 809 * Number of variables: 809 Notification: Performance of Generate backend data structure: time 0.01048/1.672, allocations: 2.428 MB / 1.167 GB, free: 5.098 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/1.672, allocations: 8.562 kB / 1.167 GB, free: 5.09 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02033/1.692, allocations: 1.908 MB / 1.169 GB, free: 3.176 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006786/1.699, allocations: 1.713 MB / 1.17 GB, free: 1.418 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002278/1.699, allocations: 100 kB / 1.17 GB, free: 1.32 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001613/1.701, allocations: 168 kB / 1.17 GB, free: 1.156 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01422/1.715, allocations: 4.069 MB / 1.174 GB, free: 13.08 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01756/1.733, allocations: 4.5 MB / 1.179 GB, free: 8.492 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001073/1.733, allocations: 7.891 kB / 1.179 GB, free: 8.484 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008517/1.734, allocations: 0 / 1.179 GB, free: 8.484 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006044/1.735, allocations: 197 kB / 1.179 GB, free: 8.289 MB / 0.7917 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04656/1.781, allocations: 22.13 MB / 1.201 GB, free: 160 kB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004918/1.786, allocations: 1.994 MB / 1.203 GB, free: 14.04 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003194/1.789, allocations: 1.18 MB / 1.204 GB, free: 12.84 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003301/1.79, allocations: 118.4 kB / 1.204 GB, free: 12.71 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.716e-05/1.79, allocations: 59.81 kB / 1.204 GB, free: 12.64 MB / 0.823 GB Notification: Performance of pre-optimization done (n=123): time 4.709e-06/1.79, allocations: 4 kB / 1.204 GB, free: 12.64 MB / 0.823 GB Notification: Performance of matching and sorting (n=153): time 0.02625/1.816, allocations: 7.232 MB / 1.211 GB, free: 5.367 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001466/1.816, allocations: 222.9 kB / 1.211 GB, free: 5.102 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002093/1.818, allocations: 0.9173 MB / 1.212 GB, free: 4.176 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004662/1.819, allocations: 25.7 kB / 1.212 GB, free: 4.145 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001315/1.82, allocations: 1.246 MB / 1.213 GB, free: 2.879 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001087/1.821, allocations: 0.5083 MB / 1.214 GB, free: 2.363 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003151/1.822, allocations: 4.031 kB / 1.214 GB, free: 2.359 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.000396/1.822, allocations: 431.2 kB / 1.214 GB, free: 1.93 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003553/1.826, allocations: 1.285 MB / 1.215 GB, free: 0.6406 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004447/1.83, allocations: 1.947 MB / 1.217 GB, free: 14.39 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006527/1.837, allocations: 1.91 MB / 1.219 GB, free: 12.48 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.229e-05/1.837, allocations: 4 kB / 1.219 GB, free: 12.48 MB / 0.8386 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01552/1.852, allocations: 4.233 MB / 1.223 GB, free: 8.219 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.003746/1.856, allocations: 8.447 MB / 1.232 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.242e-05/1.856, allocations: 20 kB / 1.232 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003986/1.86, allocations: 0.7427 MB / 1.232 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006979/1.867, allocations: 0.7721 MB / 1.233 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02359/1.891, allocations: 12.25 MB / 1.245 GB, free: 0.6133 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006095/1.897, allocations: 430.9 kB / 1.245 GB, free: 196 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007735/1.898, allocations: 115.9 kB / 1.246 GB, free: 80 kB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/1.898, allocations: 4 kB / 1.246 GB, free: 76 kB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01403/1.912, allocations: 3.96 MB / 1.249 GB, free: 12.09 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001068/1.912, allocations: 23.95 kB / 1.249 GB, free: 12.07 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003013/1.915, allocations: 0.6415 MB / 1.25 GB, free: 11.41 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006988/1.922, allocations: 0.7721 MB / 1.251 GB, free: 10.64 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6604/2.583, allocations: 11.7 MB / 1.262 GB, free: 248.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00578/2.589, allocations: 415.5 kB / 1.263 GB, free: 248.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005422/2.589, allocations: 115.3 kB / 1.263 GB, free: 248.4 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (240): * Single equations (assignments): 234 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007368/2.59, allocations: 171.9 kB / 1.263 GB, free: 248.3 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01154/2.602, allocations: 3.102 MB / 1.266 GB, free: 248.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008452/2.602, allocations: 120.2 kB / 1.266 GB, free: 248.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01263/2.615, allocations: 3.646 MB / 1.27 GB, free: 248 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-05/2.615, allocations: 18.91 kB / 1.27 GB, free: 248 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.313e-05/2.615, allocations: 12.06 kB / 1.27 GB, free: 248 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.816e-05/2.615, allocations: 12.28 kB / 1.27 GB, free: 248 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02037/2.636, allocations: 6.706 MB / 1.276 GB, free: 247 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-05/2.636, allocations: 10.42 kB / 1.276 GB, free: 247 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005235/2.641, allocations: 0.5216 MB / 1.277 GB, free: 247 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003197/2.644, allocations: 0.6196 MB / 1.277 GB, free: 246.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003897/2.645, allocations: 30.33 kB / 1.277 GB, free: 246.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01689/2.662, allocations: 11.53 MB / 1.289 GB, free: 239.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.731e-05/2.662, allocations: 10.06 kB / 1.289 GB, free: 239.9 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01037/2.672, allocations: 3.638 MB / 1.292 GB, free: 238.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001879/2.674, allocations: 0.4937 MB / 1.293 GB, free: 238.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000521/2.675, allocations: 13.16 kB / 1.293 GB, free: 238.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005152/2.68, allocations: 378.3 kB / 1.293 GB, free: 238.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000692/2.68, allocations: 135.5 kB / 1.293 GB, free: 238.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002938/2.681, allocations: 58.55 kB / 1.293 GB, free: 238.6 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001649/2.682, allocations: 0.7088 MB / 1.294 GB, free: 238.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8.61e-07/2.682, allocations: 1.781 kB / 1.294 GB, free: 238.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00766/2.69, allocations: 1.069 MB / 1.295 GB, free: 238.5 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 (105): * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01084/2.701, allocations: 6.071 MB / 1.301 GB, free: 235 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01863/2.72, allocations: 6.464 MB / 1.307 GB, free: 233.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-05/2.72, allocations: 5.109 kB / 1.307 GB, free: 233.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.006156/2.726, allocations: 2.169 MB / 1.309 GB, free: 233 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001783/2.728, allocations: 132 kB / 1.31 GB, free: 233 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02981/2.758, allocations: 6.585 MB / 1.316 GB, free: 231.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00331/2.761, allocations: 2.386 MB / 1.318 GB, free: 231.2 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.007321/2.768, allocations: 1.327 MB / 1.32 GB, free: 231.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002614/2.771, allocations: 0.8707 MB / 1.32 GB, free: 231.1 MB / 0.8698 GB Notification: Performance of SimCode: time 1.934e-06/2.771, allocations: 0 / 1.32 GB, free: 231.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1292/2.9, allocations: 47.37 MB / 1.367 GB, free: 228.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000291/2.901, allocations: 197.8 kB / 1.367 GB, free: 228.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.959/6.86, allocations: 3.828 kB / 1.367 GB, free: 228.6 MB / 0.8698 GB