Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.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.Loads.Examples.Loads_N,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N",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.283/2.283, allocations: 248.5 MB / 261.1 MB, free: 5.965 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.001542/0.001542, allocations: 190 kB / 320.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.038/2.038, allocations: 205.2 MB / 0.571 GB, free: 11.73 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.001064/0.001063, allocations: 90.12 kB / 0.6754 GB, free: 0.8242 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.369e-05/4.414e-05, allocations: 4 kB / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.2268, allocations: 106.3 MB / 0.8907 GB, free: 7.445 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.018/1.245, allocations: 173.8 MB / 1.06 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004122/1.245, allocations: 101.2 kB / 1.061 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.481/1.726, allocations: 111.8 MB / 1.17 GB, free: 1.816 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.094e-06/1.727, allocations: 0 / 1.17 GB, free: 1.816 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0002216/1.727, allocations: 67.94 kB / 1.17 GB, free: 1.75 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: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.01134/1.738, allocations: 2.431 MB / 1.172 GB, free: 15.26 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 6.275e-05/1.738, allocations: 12.03 kB / 1.172 GB, free: 15.25 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002181/1.74, allocations: 437.8 kB / 1.173 GB, free: 14.81 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006947/1.747, allocations: 0.695 MB / 1.173 GB, free: 14.11 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006165/1.754, allocations: 1.605 MB / 1.175 GB, free: 12.46 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003679/1.754, allocations: 213.8 kB / 1.175 GB, free: 12.25 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001627/1.756, allocations: 292 kB / 1.175 GB, free: 11.97 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01601/1.772, allocations: 4.533 MB / 1.18 GB, free: 7.25 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001468/1.772, allocations: 11.84 kB / 1.18 GB, free: 7.238 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006372/1.773, allocations: 124 kB / 1.18 GB, free: 7.117 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003753/1.773, allocations: 180.7 kB / 1.18 GB, free: 6.938 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01717/1.79, allocations: 3.671 MB / 1.184 GB, free: 3.246 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04978/1.84, allocations: 23.06 MB / 1.206 GB, free: 10.05 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005548/1.846, allocations: 1.546 MB / 1.208 GB, free: 8.473 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002271/1.848, allocations: 0.8294 MB / 1.208 GB, free: 7.629 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003049/1.848, allocations: 97.73 kB / 1.209 GB, free: 7.516 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.411e-05/1.848, allocations: 43.11 kB / 1.209 GB, free: 7.461 MB / 0.823 GB Notification: Performance of pre-optimization done (n=72): time 4.137e-06/1.848, allocations: 0 / 1.209 GB, free: 7.461 MB / 0.823 GB Notification: Performance of matching and sorting (n=75): time 0.008852/1.857, allocations: 2.912 MB / 1.211 GB, free: 4.52 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/1.858, allocations: 137.1 kB / 1.212 GB, free: 4.355 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002189/1.86, allocations: 0.9223 MB / 1.212 GB, free: 3.43 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002651/1.86, allocations: 37.7 kB / 1.212 GB, free: 3.387 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001232/1.861, allocations: 1.2 MB / 1.214 GB, free: 2.168 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005322/1.862, allocations: 268.2 kB / 1.214 GB, free: 1.902 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001905/1.862, allocations: 27.94 kB / 1.214 GB, free: 1.875 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0003213/1.862, allocations: 406.9 kB / 1.214 GB, free: 1.469 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002/1.864, allocations: 0.7639 MB / 1.215 GB, free: 0.7031 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002616/1.867, allocations: 1.244 MB / 1.216 GB, free: 15.24 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002756/1.87, allocations: 0.97 MB / 1.217 GB, free: 14.27 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.58e-05/1.87, allocations: 4 kB / 1.217 GB, free: 14.27 MB / 0.8386 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.005842/1.876, allocations: 2.096 MB / 1.219 GB, free: 12.16 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.002804/1.879, allocations: 5.495 MB / 1.225 GB, free: 6.234 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.274e-05/1.879, allocations: 12 kB / 1.225 GB, free: 6.223 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.143e-05/1.879, allocations: 24 kB / 1.225 GB, free: 6.199 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003462/1.882, allocations: 419.2 kB / 1.225 GB, free: 5.789 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.598e-05/1.882, allocations: 23.94 kB / 1.225 GB, free: 5.766 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003019/1.885, allocations: 263.2 kB / 1.225 GB, free: 5.508 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000268/1.886, allocations: 67.94 kB / 1.225 GB, free: 5.441 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/1.886, allocations: 8 kB / 1.225 GB, free: 5.434 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004614/1.89, allocations: 1.693 MB / 1.227 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-05/1.891, allocations: 12 kB / 1.227 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.254e-05/1.891, allocations: 24 kB / 1.227 GB, free: 3.703 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002705/1.893, allocations: 368.2 kB / 1.227 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.621e-05/1.893, allocations: 31.86 kB / 1.228 GB, free: 3.312 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002075/1.895, allocations: 171.4 kB / 1.228 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001819/1.896, allocations: 59.98 kB / 1.228 GB, free: 3.086 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 156 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005126/1.896, allocations: 184.5 kB / 1.228 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003898/1.897, allocations: 102.7 kB / 1.228 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003912/1.901, allocations: 1.46 MB / 1.229 GB, free: 1.324 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-05/1.901, allocations: 11.98 kB / 1.229 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/1.901, allocations: 0 / 1.229 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.695e-05/1.901, allocations: 3.984 kB / 1.229 GB, free: 1.309 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01831/1.919, allocations: 7.23 MB / 1.237 GB, free: 9.867 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.067e-05/1.919, allocations: 16.25 kB / 1.237 GB, free: 9.852 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002151/1.921, allocations: 259.6 kB / 1.237 GB, free: 9.598 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.967e-05/1.921, allocations: 16 kB / 1.237 GB, free: 9.582 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001235/1.921, allocations: 24 kB / 1.237 GB, free: 9.559 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.118e-05/1.921, allocations: 15.94 kB / 1.237 GB, free: 9.543 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-05/1.921, allocations: 15.94 kB / 1.237 GB, free: 9.527 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004508/1.926, allocations: 2.379 MB / 1.239 GB, free: 6.801 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001876/1.928, allocations: 375.5 kB / 1.24 GB, free: 6.414 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005605/1.929, allocations: 39.88 kB / 1.24 GB, free: 6.375 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00257/1.931, allocations: 135.8 kB / 1.24 GB, free: 6.242 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003138/1.932, allocations: 71.83 kB / 1.24 GB, free: 6.172 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001029/1.932, allocations: 28 kB / 1.24 GB, free: 6.145 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001613/1.933, allocations: 0.7067 MB / 1.24 GB, free: 5.418 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.61e-07/1.933, allocations: 3.938 kB / 1.24 GB, free: 5.414 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.004274/1.938, allocations: 0.8242 MB / 1.241 GB, free: 4.59 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 78 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006358/1.944, allocations: 5.505 MB / 1.247 GB, free: 14.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.007044/1.951, allocations: 2.593 MB / 1.249 GB, free: 12.21 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.791e-05/1.951, allocations: 4 kB / 1.249 GB, free: 12.21 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001866/1.953, allocations: 0.7125 MB / 1.25 GB, free: 11.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002482/1.956, allocations: 259.8 kB / 1.25 GB, free: 11.25 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01526/1.971, allocations: 4.59 MB / 1.255 GB, free: 6.488 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004314/1.975, allocations: 2.172 MB / 1.257 GB, free: 4.281 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003937/1.979, allocations: 0.7851 MB / 1.258 GB, free: 3.492 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002256/1.982, allocations: 0.8078 MB / 1.258 GB, free: 2.684 MB / 0.8698 GB Notification: Performance of SimCode: time 1.443e-06/1.982, allocations: 0 / 1.258 GB, free: 2.684 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7189/2.701, allocations: 31.57 MB / 1.289 GB, free: 249.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000298/2.701, allocations: 179.3 kB / 1.289 GB, free: 249.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.307/6.008, allocations: 0 / 1.289 GB, free: 249.6 MB / 0.8698 GB