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.263/2.263, allocations: 248.7 MB / 256.2 MB, free: 7.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.001375/0.001375, allocations: 182.5 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.108/2.108, allocations: 205.3 MB / 0.5662 GB, free: 0.6016 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.001082/0.001082, allocations: 99.3 kB / 0.6704 GB, free: 5.809 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.481e-05/2.49e-05, allocations: 4 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2046/0.2047, allocations: 106.3 MB / 0.8841 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.015/1.22, allocations: 186.1 MB / 1.066 GB, free: 3.086 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003839/1.22, allocations: 99.98 kB / 1.066 GB, free: 3.031 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.4862/1.707, allocations: 120.3 MB / 1.183 GB, free: 3.824 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.485e-06/1.707, allocations: 4 kB / 1.183 GB, free: 3.82 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0001726/1.707, allocations: 63.98 kB / 1.183 GB, free: 3.758 MB / 0.7917 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.01125/1.718, allocations: 2.419 MB / 1.186 GB, free: 1.281 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.923e-05/1.718, allocations: 8.031 kB / 1.186 GB, free: 1.273 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02186/1.74, allocations: 2.06 MB / 1.188 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007038/1.747, allocations: 1.794 MB / 1.19 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002081/1.747, allocations: 99.95 kB / 1.19 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001623/1.749, allocations: 168 kB / 1.19 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01407/1.763, allocations: 4.088 MB / 1.194 GB, free: 9.012 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01723/1.78, allocations: 4.531 MB / 1.198 GB, free: 4.414 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001136/1.781, allocations: 0 / 1.198 GB, free: 4.414 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008057/1.781, allocations: 0 / 1.198 GB, free: 4.414 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000844/1.782, allocations: 258 kB / 1.198 GB, free: 4.16 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04824/1.83, allocations: 21.78 MB / 1.22 GB, free: 12.43 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005495/1.836, allocations: 2.022 MB / 1.222 GB, free: 10.34 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00334/1.839, allocations: 1.203 MB / 1.223 GB, free: 9.137 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002998/1.84, allocations: 114.4 kB / 1.223 GB, free: 9.004 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.044e-05/1.84, allocations: 51.88 kB / 1.223 GB, free: 8.945 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=122): time 5.109e-06/1.84, allocations: 0 / 1.223 GB, free: 8.945 MB / 0.8386 GB Notification: Performance of matching and sorting (n=173): time 0.02893/1.869, allocations: 6.974 MB / 1.23 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.036e-05/1.869, allocations: 73.41 kB / 1.23 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002542/1.871, allocations: 0.9658 MB / 1.231 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0006368/1.872, allocations: 25.7 kB / 1.231 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.001502/1.874, allocations: 1.263 MB / 1.232 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001291/1.875, allocations: 0.5658 MB / 1.233 GB, free: 15 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003552/1.875, allocations: 0 / 1.233 GB, free: 15 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0004086/1.876, allocations: 447.5 kB / 1.233 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003972/1.88, allocations: 1.481 MB / 1.235 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004498/1.884, allocations: 2.181 MB / 1.237 GB, free: 10.57 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006658/1.891, allocations: 2.133 MB / 1.239 GB, free: 8.434 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.72e-05/1.891, allocations: 4 kB / 1.239 GB, free: 8.43 MB / 0.8542 GB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01844/1.91, allocations: 5.248 MB / 1.244 GB, free: 3.148 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.004094/1.914, allocations: 8.889 MB / 1.253 GB, free: 9.566 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.704e-05/1.914, allocations: 20 kB / 1.253 GB, free: 9.547 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00766/1.922, allocations: 1.371 MB / 1.254 GB, free: 8.156 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006662/1.928, allocations: 0.7643 MB / 1.255 GB, free: 7.391 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6757/2.604, allocations: 16.71 MB / 1.271 GB, free: 243.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006492/2.611, allocations: 450.1 kB / 1.271 GB, free: 243.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007511/2.611, allocations: 118.7 kB / 1.272 GB, free: 243.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/2.611, allocations: 4.25 kB / 1.272 GB, free: 243.8 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01831/2.63, allocations: 4.967 MB / 1.276 GB, free: 243.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001358/2.63, allocations: 23.72 kB / 1.276 GB, free: 243.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006576/2.637, allocations: 1.314 MB / 1.278 GB, free: 243.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006852/2.643, allocations: 0.7617 MB / 1.278 GB, free: 243.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03027/2.674, allocations: 16.1 MB / 1.294 GB, free: 236.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006058/2.68, allocations: 427.6 kB / 1.295 GB, free: 236.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007731/2.681, allocations: 126 kB / 1.295 GB, free: 236.5 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.0009114/2.682, allocations: 166.4 kB / 1.295 GB, free: 236.4 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01461/2.696, allocations: 4.118 MB / 1.299 GB, free: 236.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000868/2.697, allocations: 138.7 kB / 1.299 GB, free: 236.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01642/2.714, allocations: 4.775 MB / 1.304 GB, free: 235.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.926e-05/2.714, allocations: 19.47 kB / 1.304 GB, free: 235.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.061e-05/2.714, allocations: 18.42 kB / 1.304 GB, free: 235.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.681e-05/2.714, allocations: 9.281 kB / 1.304 GB, free: 235.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02411/2.738, allocations: 8.048 MB / 1.312 GB, free: 234.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.045e-05/2.738, allocations: 7.719 kB / 1.312 GB, free: 234.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004654/2.743, allocations: 0.5158 MB / 1.312 GB, free: 234.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005808/2.749, allocations: 1.171 MB / 1.313 GB, free: 234.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004074/2.749, allocations: 26.98 kB / 1.313 GB, free: 234.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02629/2.775, allocations: 15.87 MB / 1.329 GB, free: 223.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.307e-05/2.775, allocations: 9.75 kB / 1.329 GB, free: 223.7 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01195/2.787, allocations: 4.405 MB / 1.333 GB, free: 221.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001931/2.789, allocations: 0.5381 MB / 1.334 GB, free: 221.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005282/2.79, allocations: 15.41 kB / 1.334 GB, free: 221.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005192/2.795, allocations: 417.8 kB / 1.334 GB, free: 221.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007301/2.796, allocations: 156.6 kB / 1.334 GB, free: 221.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002707/2.796, allocations: 67.34 kB / 1.334 GB, free: 221.2 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001498/2.798, allocations: 0.7486 MB / 1.335 GB, free: 220.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.71e-07/2.798, allocations: 0 / 1.335 GB, free: 220.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.007127/2.805, allocations: 1.192 MB / 1.336 GB, free: 220.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 (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.01334/2.818, allocations: 6.843 MB / 1.343 GB, free: 216.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.02139/2.84, allocations: 7.671 MB / 1.35 GB, free: 212.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.385e-05/2.84, allocations: 0 / 1.35 GB, free: 212.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.007883/2.848, allocations: 2.699 MB / 1.353 GB, free: 211.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001759/2.849, allocations: 162 kB / 1.353 GB, free: 211.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03039/2.88, allocations: 6.97 MB / 1.36 GB, free: 209.3 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003595/2.884, allocations: 2.422 MB / 1.362 GB, free: 208.2 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.006983/2.891, allocations: 1.299 MB / 1.364 GB, free: 208.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002184/2.893, allocations: 0.9006 MB / 1.364 GB, free: 207.4 MB / 0.8698 GB Notification: Performance of SimCode: time 1.182e-06/2.893, allocations: 0 / 1.364 GB, free: 207.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.157/3.05, allocations: 60.02 MB / 1.423 GB, free: 174 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002901/3.05, allocations: 190.2 kB / 1.423 GB, free: 173.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.519/7.569, allocations: 0 / 1.423 GB, free: 173.8 MB / 0.8698 GB