Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.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.TransformerFull,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerFull",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.229/2.229, allocations: 248.5 MB / 261.1 MB, free: 5.953 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.001541/0.001541, allocations: 179.2 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.952/1.952, allocations: 205.1 MB / 0.571 GB, free: 11.84 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.001117/0.001117, allocations: 102.4 kB / 0.6754 GB, free: 0.9219 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.86e-05/3.894e-05, allocations: 4 kB / 0.7869 GB, free: 97.81 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2057, allocations: 106.2 MB / 0.8907 GB, free: 7.473 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9315/1.137, allocations: 185.8 MB / 1.072 GB, free: 15.59 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003771/1.138, allocations: 103.6 kB / 1.072 GB, free: 15.53 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.5586/1.696, allocations: 120.8 MB / 1.19 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of FrontEnd: time 3.206e-06/1.696, allocations: 0 / 1.19 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0002106/1.697, allocations: 59.98 kB / 1.19 GB, free: 12.56 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 792 * Number of variables: 792 Notification: Performance of Generate backend data structure: time 0.01291/1.71, allocations: 2.427 MB / 1.193 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.685e-05/1.71, allocations: 12.03 kB / 1.193 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002289/1.712, allocations: 454.2 kB / 1.193 GB, free: 9.605 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02263/1.735, allocations: 2.048 MB / 1.195 GB, free: 7.551 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006962/1.742, allocations: 1.79 MB / 1.197 GB, free: 5.715 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00035/1.742, allocations: 225.8 kB / 1.197 GB, free: 5.492 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001815/1.744, allocations: 284 kB / 1.197 GB, free: 5.215 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02019/1.764, allocations: 4.948 MB / 1.202 GB, free: 200 kB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001245/1.764, allocations: 3.938 kB / 1.202 GB, free: 196 kB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001201/1.766, allocations: 120 kB / 1.202 GB, free: 76 kB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008894/1.766, allocations: 254 kB / 1.202 GB, free: 15.82 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0216/1.788, allocations: 4.666 MB / 1.207 GB, free: 11.15 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05009/1.838, allocations: 22.43 MB / 1.229 GB, free: 2.75 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005815/1.844, allocations: 2.043 MB / 1.231 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003678/1.848, allocations: 1.236 MB / 1.232 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003299/1.848, allocations: 118 kB / 1.232 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.887e-05/1.848, allocations: 43.56 kB / 1.232 GB, free: 15.22 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=122): time 4.148e-06/1.848, allocations: 0 / 1.232 GB, free: 15.22 MB / 0.8542 GB Notification: Performance of matching and sorting (n=173): time 0.1051/1.953, allocations: 11.26 MB / 1.243 GB, free: 3.938 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.484e-05/1.954, allocations: 69.41 kB / 1.243 GB, free: 3.859 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00347/1.957, allocations: 1.021 MB / 1.244 GB, free: 2.812 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0007262/1.958, allocations: 53.7 kB / 1.244 GB, free: 2.754 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.002328/1.96, allocations: 1.266 MB / 1.246 GB, free: 1.469 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001736/1.962, allocations: 0.597 MB / 1.246 GB, free: 0.8633 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003785/1.962, allocations: 44 kB / 1.246 GB, free: 0.8203 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003905/1.963, allocations: 451.5 kB / 1.247 GB, free: 380 kB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004307/1.967, allocations: 1.504 MB / 1.248 GB, free: 14.86 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0051/1.972, allocations: 2.223 MB / 1.25 GB, free: 12.32 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005258/1.978, allocations: 1.876 MB / 1.252 GB, free: 10.45 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.448e-05/1.978, allocations: 8 kB / 1.252 GB, free: 10.44 MB / 0.8698 GB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01778/1.996, allocations: 5.154 MB / 1.257 GB, free: 5.254 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.6081/2.604, allocations: 8.871 MB / 1.266 GB, free: 242.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.359e-05/2.604, allocations: 23.62 kB / 1.266 GB, free: 242.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00779/2.612, allocations: 1.383 MB / 1.267 GB, free: 242.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00706/2.619, allocations: 0.7639 MB / 1.268 GB, free: 242.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03511/2.654, allocations: 17.1 MB / 1.285 GB, free: 235 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006615/2.661, allocations: 488.5 kB / 1.285 GB, free: 235 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009002/2.662, allocations: 120.7 kB / 1.285 GB, free: 235 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/2.662, allocations: 7.688 kB / 1.285 GB, free: 235 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01774/2.679, allocations: 5.002 MB / 1.29 GB, free: 234.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001325/2.68, allocations: 23.25 kB / 1.29 GB, free: 234.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007116/2.687, allocations: 1.357 MB / 1.292 GB, free: 234.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007051/2.694, allocations: 0.767 MB / 1.292 GB, free: 234.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03166/2.725, allocations: 16.94 MB / 1.309 GB, free: 227.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006052/2.732, allocations: 476.9 kB / 1.309 GB, free: 227.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006906/2.732, allocations: 122.8 kB / 1.309 GB, free: 227.3 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 102 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (235): * Single equations (assignments): 229 * 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%) 10,(2,100.0%) 10,(3,100.0%) 9,(2,100.0%) 10,(3,100.0%) 9,(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000936/2.733, allocations: 240.8 kB / 1.31 GB, free: 227.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005528/2.734, allocations: 140.1 kB / 1.31 GB, free: 227.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01586/2.75, allocations: 4.773 MB / 1.314 GB, free: 226.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.674e-05/2.75, allocations: 16.09 kB / 1.314 GB, free: 226.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.888e-05/2.75, allocations: 11.66 kB / 1.314 GB, free: 226.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.888e-05/2.75, allocations: 11.3 kB / 1.314 GB, free: 226.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02476/2.775, allocations: 8.587 MB / 1.323 GB, free: 223.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.753e-05/2.775, allocations: 11.69 kB / 1.323 GB, free: 223.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004839/2.78, allocations: 0.5162 MB / 1.323 GB, free: 223.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006112/2.786, allocations: 1.179 MB / 1.324 GB, free: 223.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000448/2.786, allocations: 54.58 kB / 1.325 GB, free: 223.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02795/2.814, allocations: 16.44 MB / 1.341 GB, free: 211.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.117e-06/2.814, allocations: 9.469 kB / 1.341 GB, free: 211.6 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0115/2.826, allocations: 4.367 MB / 1.345 GB, free: 209.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001758/2.828, allocations: 0.5469 MB / 1.345 GB, free: 209.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004685/2.828, allocations: 37.19 kB / 1.345 GB, free: 209.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00515/2.833, allocations: 447.6 kB / 1.346 GB, free: 209.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006653/2.834, allocations: 145.6 kB / 1.346 GB, free: 209.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002724/2.834, allocations: 67.38 kB / 1.346 GB, free: 209 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001663/2.836, allocations: 0.7899 MB / 1.347 GB, free: 208.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6.52e-07/2.836, allocations: 0 / 1.347 GB, free: 208.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.007117/2.843, allocations: 1.329 MB / 1.348 GB, free: 208.6 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 (104): * Single equations (assignments): 98 * 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%) 10,(2,100.0%) 10,(2,100.0%) 10,(2,100.0%) 10,(2,100.0%) 10,(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01269/2.856, allocations: 6.826 MB / 1.355 GB, free: 204 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.02348/2.879, allocations: 8.01 MB / 1.363 GB, free: 200.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.627e-05/2.879, allocations: 3.344 kB / 1.363 GB, free: 200.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.008541/2.888, allocations: 2.788 MB / 1.365 GB, free: 198.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001997/2.89, allocations: 187.2 kB / 1.366 GB, free: 198.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03238/2.922, allocations: 7.126 MB / 1.372 GB, free: 196.6 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00373/2.926, allocations: 2.424 MB / 1.375 GB, free: 195.5 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.007462/2.934, allocations: 1.293 MB / 1.376 GB, free: 195.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002491/2.936, allocations: 0.9048 MB / 1.377 GB, free: 194.6 MB / 0.8698 GB Notification: Performance of SimCode: time 1.523e-06/2.936, allocations: 0 / 1.377 GB, free: 194.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1369/3.073, allocations: 61.39 MB / 1.437 GB, free: 157.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000276/3.074, allocations: 206.6 kB / 1.437 GB, free: 157.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.725/7.798, allocations: 0 / 1.437 GB, free: 157.5 MB / 0.8698 GB