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.199/2.199, 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.001489/0.001488, allocations: 182.6 kB / 325.5 MB, free: 2.902 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.383/2.383, allocations: 205.4 MB / 0.5764 GB, free: 20.82 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.001665/0.001665, allocations: 85.78 kB / 0.6809 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004762/0.0004761, allocations: 12.12 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2615/0.262, allocations: 106.3 MB / 0.8988 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9452/1.207, allocations: 181.1 MB / 1.076 GB, free: 65.82 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003678/1.208, allocations: 99.84 kB / 1.076 GB, free: 65.82 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.386/1.594, allocations: 102.8 MB / 1.176 GB, free: 32.29 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.276e-06/1.594, allocations: 0 / 1.176 GB, free: 32.29 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001075/1.594, allocations: 54.5 kB / 1.176 GB, free: 32.28 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.008582/1.603, allocations: 2.413 MB / 1.179 GB, free: 30.84 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/1.603, allocations: 7.75 kB / 1.179 GB, free: 30.84 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001396/1.604, allocations: 447 kB / 1.179 GB, free: 30.71 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01965/1.624, allocations: 1.893 MB / 1.181 GB, free: 29.87 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005328/1.629, allocations: 1.665 MB / 1.182 GB, free: 28.62 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001687/1.629, allocations: 220.5 kB / 1.183 GB, free: 28.49 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000981/1.63, allocations: 281.5 kB / 1.183 GB, free: 28.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01851/1.649, allocations: 5.236 MB / 1.188 GB, free: 24.57 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000102/1.649, allocations: 3.938 kB / 1.188 GB, free: 24.56 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005715/1.65, allocations: 133.2 kB / 1.188 GB, free: 24.52 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000487/1.65, allocations: 189.4 kB / 1.188 GB, free: 24.34 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02207/1.672, allocations: 5.372 MB / 1.194 GB, free: 20.55 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04431/1.717, allocations: 22.47 MB / 1.216 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01558/1.732, allocations: 3.007 MB / 1.218 GB, free: 9.215 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004788/1.733, allocations: 118.1 kB / 1.219 GB, free: 9.082 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.634e-05/1.733, allocations: 51.56 kB / 1.219 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=132): time 6.733e-06/1.733, allocations: 4 kB / 1.219 GB, free: 9.02 MB / 0.7136 GB Notification: Performance of matching and sorting (n=174): time 0.1015/1.834, allocations: 12.95 MB / 1.231 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001406/1.835, allocations: 234.9 kB / 1.232 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001949/1.837, allocations: 0.8584 MB / 1.232 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0005017/1.837, allocations: 61.64 kB / 1.232 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001062/1.838, allocations: 1.154 MB / 1.234 GB, free: 9.648 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001113/1.839, allocations: 0.5969 MB / 1.234 GB, free: 9.043 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000367/1.84, allocations: 40 kB / 1.234 GB, free: 9.004 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0003249/1.84, allocations: 431.2 kB / 1.235 GB, free: 8.574 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008922/1.849, allocations: 1.843 MB / 1.236 GB, free: 6.727 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009828/1.859, allocations: 2.423 MB / 1.239 GB, free: 4.055 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009689/1.869, allocations: 2.152 MB / 1.241 GB, free: 1.902 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.771e-05/1.869, allocations: 4 kB / 1.241 GB, free: 1.898 MB / 0.7292 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.02428/1.893, allocations: 5.302 MB / 1.246 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.00297/1.896, allocations: 6.89 MB / 1.253 GB, free: 5.152 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.52e-05/1.896, allocations: 16 kB / 1.253 GB, free: 5.137 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004695/1.901, allocations: 1.075 MB / 1.254 GB, free: 4.055 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006809/1.908, allocations: 0.737 MB / 1.255 GB, free: 3.316 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02435/1.932, allocations: 10.59 MB / 1.265 GB, free: 8.449 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005985/1.938, allocations: 471 kB / 1.265 GB, free: 7.988 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006818/1.939, allocations: 108 kB / 1.265 GB, free: 7.883 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/1.939, allocations: 4 kB / 1.265 GB, free: 7.879 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0233/1.962, allocations: 5.173 MB / 1.27 GB, free: 2.695 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.098e-05/1.962, allocations: 20 kB / 1.271 GB, free: 2.676 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004018/1.966, allocations: 0.881 MB / 1.271 GB, free: 1.789 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006897/1.973, allocations: 0.7292 MB / 1.272 GB, free: 1.059 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02429/1.998, allocations: 10.54 MB / 1.282 GB, free: 6.246 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005873/2.004, allocations: 447.2 kB / 1.283 GB, free: 5.809 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008095/2.004, allocations: 115.9 kB / 1.283 GB, free: 5.695 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.003835/2.008, allocations: 1.273 MB / 1.284 GB, free: 4.41 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006695/2.009, allocations: 122.6 kB / 1.284 GB, free: 4.289 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02341/2.032, allocations: 4.922 MB / 1.289 GB, free: 15.32 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.072e-05/2.032, allocations: 16 kB / 1.289 GB, free: 15.31 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.95e-05/2.033, allocations: 12 kB / 1.289 GB, free: 15.3 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-05/2.033, allocations: 11.97 kB / 1.289 GB, free: 15.29 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03383/2.066, allocations: 8.687 MB / 1.298 GB, free: 6.445 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.153e-05/2.067, allocations: 8.094 kB / 1.298 GB, free: 6.438 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005261/2.072, allocations: 0.5233 MB / 1.298 GB, free: 5.914 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004131/2.076, allocations: 0.8876 MB / 1.299 GB, free: 5.02 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004608/2.076, allocations: 51.97 kB / 1.299 GB, free: 4.969 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0234/2.1, allocations: 10.12 MB / 1.309 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-05/2.1, allocations: 11.89 kB / 1.309 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02141/2.121, allocations: 4.992 MB / 1.314 GB, free: 5.293 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001929/2.123, allocations: 0.5188 MB / 1.314 GB, free: 4.754 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005819/2.124, allocations: 39.98 kB / 1.314 GB, free: 4.715 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005275/2.129, allocations: 399.4 kB / 1.315 GB, free: 4.324 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007463/2.13, allocations: 152.9 kB / 1.315 GB, free: 4.176 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00029/2.13, allocations: 67.95 kB / 1.315 GB, free: 4.109 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001638/2.132, allocations: 0.6747 MB / 1.316 GB, free: 3.438 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.7e-07/2.132, allocations: 0 / 1.316 GB, free: 3.438 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.007602/2.14, allocations: 1.238 MB / 1.317 GB, free: 2.199 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.02291/2.163, allocations: 7.453 MB / 1.324 GB, free: 10.54 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.03585/2.199, allocations: 7.935 MB / 1.332 GB, free: 2.551 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-05/2.199, allocations: 0 / 1.332 GB, free: 2.551 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.01184/2.21, allocations: 2.602 MB / 1.334 GB, free: 15.92 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001912/2.212, allocations: 151.9 kB / 1.335 GB, free: 15.78 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08148/2.294, allocations: 29.84 MB / 1.364 GB, free: 1.262 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004773/2.299, allocations: 2.358 MB / 1.366 GB, free: 14.86 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.007305/2.306, allocations: 1.225 MB / 1.367 GB, free: 13.63 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002865/2.309, allocations: 0.8507 MB / 1.368 GB, free: 12.78 MB / 0.8698 GB Notification: Performance of SimCode: time 1.352e-06/2.309, allocations: 0 / 1.368 GB, free: 12.78 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.748/3.057, allocations: 50.3 MB / 1.417 GB, free: 245.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002911/3.058, allocations: 243.9 kB / 1.417 GB, free: 245.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.052/7.11, allocations: 3.594 kB / 1.417 GB, free: 245.3 MB / 0.8698 GB