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.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,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",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.274/2.274, allocations: 248.7 MB / 256.2 MB, free: 7.055 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.001465/0.001465, allocations: 183.7 kB / 315.4 MB, free: 4 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.06/2.06, allocations: 205.3 MB / 0.5662 GB, free: 0.6133 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.001171/0.00117, allocations: 99.66 kB / 0.6704 GB, free: 5.816 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.236e-05/2.229e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2602, allocations: 106.3 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.037/1.298, allocations: 174.8 MB / 1.055 GB, free: 14.06 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005019/1.298, allocations: 103.2 kB / 1.055 GB, free: 14 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.7373/2.035, allocations: 159.1 MB / 1.21 GB, free: 8.004 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.595e-06/2.036, allocations: 0 / 1.21 GB, free: 8.004 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0002804/2.036, allocations: 107.9 kB / 1.21 GB, free: 7.898 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.0142/2.05, allocations: 3.347 MB / 1.214 GB, free: 4.488 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.451e-05/2.05, allocations: 8.031 kB / 1.214 GB, free: 4.48 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008838/2.059, allocations: 0.9589 MB / 1.215 GB, free: 3.516 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00844/2.067, allocations: 2.291 MB / 1.217 GB, free: 1.18 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002505/2.068, allocations: 140 kB / 1.217 GB, free: 1.043 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001758/2.07, allocations: 248 kB / 1.217 GB, free: 0.8008 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01492/2.084, allocations: 4.617 MB / 1.222 GB, free: 12.17 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02026/2.105, allocations: 5.984 MB / 1.228 GB, free: 5.961 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001633/2.105, allocations: 19.84 kB / 1.228 GB, free: 5.941 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007365/2.106, allocations: 4 kB / 1.228 GB, free: 5.938 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004732/2.106, allocations: 258.9 kB / 1.228 GB, free: 5.684 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05562/2.162, allocations: 31.14 MB / 1.258 GB, free: 3.723 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004921/2.167, allocations: 1.824 MB / 1.26 GB, free: 1.855 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002622/2.17, allocations: 1.056 MB / 1.261 GB, free: 0.7891 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002392/2.17, allocations: 97.86 kB / 1.261 GB, free: 0.6758 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.231e-05/2.17, allocations: 51.33 kB / 1.261 GB, free: 0.6172 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=86): time 4.488e-06/2.17, allocations: 0 / 1.261 GB, free: 0.6172 MB / 0.8698 GB Notification: Performance of matching and sorting (n=89): time 0.6564/2.826, allocations: 4.011 MB / 1.265 GB, free: 226.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.669e-05/2.826, allocations: 140.8 kB / 1.265 GB, free: 226.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003215/2.83, allocations: 1.298 MB / 1.266 GB, free: 225.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002985/2.83, allocations: 31.27 kB / 1.267 GB, free: 225.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001796/2.832, allocations: 1.909 MB / 1.268 GB, free: 225 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006019/2.832, allocations: 321.5 kB / 1.269 GB, free: 224.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002072/2.833, allocations: 0.7812 kB / 1.269 GB, free: 224.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002347/2.833, allocations: 395.1 kB / 1.269 GB, free: 224.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002648/2.836, allocations: 1.044 MB / 1.27 GB, free: 224.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003626/2.839, allocations: 2.101 MB / 1.272 GB, free: 223.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00469/2.844, allocations: 1.61 MB / 1.274 GB, free: 223.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.204e-05/2.844, allocations: 9.938 kB / 1.274 GB, free: 223.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.009446/2.853, allocations: 3.161 MB / 1.277 GB, free: 223.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.003298/2.857, allocations: 13.43 MB / 1.29 GB, free: 209.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000173/2.857, allocations: 34.53 kB / 1.29 GB, free: 209.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001177/2.857, allocations: 52.38 kB / 1.29 GB, free: 209.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00487/2.862, allocations: 0.624 MB / 1.291 GB, free: 209.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001051/2.862, allocations: 70.42 kB / 1.291 GB, free: 209.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004453/2.867, allocations: 325 kB / 1.291 GB, free: 209.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000562/2.867, allocations: 113.3 kB / 1.291 GB, free: 209.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/2.867, allocations: 7.766 kB / 1.291 GB, free: 209.1 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007556/2.875, allocations: 2.572 MB / 1.294 GB, free: 209.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001244/2.875, allocations: 32.97 kB / 1.294 GB, free: 209.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.578e-05/2.875, allocations: 52.25 kB / 1.294 GB, free: 209.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003834/2.879, allocations: 0.5604 MB / 1.294 GB, free: 209.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.813e-05/2.879, allocations: 71.27 kB / 1.294 GB, free: 209.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003162/2.882, allocations: 205.5 kB / 1.294 GB, free: 209 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004166/2.883, allocations: 112.4 kB / 1.295 GB, free: 209 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (264): * Single equations (assignments): 264 * 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.0007736/2.884, allocations: 193.3 kB / 1.295 GB, free: 208.9 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004672/2.888, allocations: 1.764 MB / 1.297 GB, free: 208.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006586/2.889, allocations: 145.1 kB / 1.297 GB, free: 208.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004902/2.894, allocations: 1.878 MB / 1.298 GB, free: 208.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.2e-05/2.894, allocations: 9.062 kB / 1.298 GB, free: 208.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/2.894, allocations: 5.5 kB / 1.298 GB, free: 208.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-05/2.894, allocations: 5.609 kB / 1.299 GB, free: 208.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01689/2.911, allocations: 6.61 MB / 1.305 GB, free: 207.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-05/2.911, allocations: 6.531 kB / 1.305 GB, free: 207.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002582/2.914, allocations: 340.8 kB / 1.305 GB, free: 207.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-05/2.914, allocations: 12.31 kB / 1.305 GB, free: 207.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/2.914, allocations: 12.64 kB / 1.305 GB, free: 207.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.83e-05/2.914, allocations: 13.66 kB / 1.305 GB, free: 207.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.448e-05/2.914, allocations: 9.656 kB / 1.305 GB, free: 207.8 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004841/2.919, allocations: 2.692 MB / 1.308 GB, free: 206.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00156/2.92, allocations: 453.5 kB / 1.308 GB, free: 206.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003762/2.921, allocations: 12.14 kB / 1.308 GB, free: 206.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002/2.923, allocations: 151.2 kB / 1.309 GB, free: 206.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002558/2.923, allocations: 73.41 kB / 1.309 GB, free: 206.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001151/2.923, allocations: 27.84 kB / 1.309 GB, free: 206.3 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002174/2.925, allocations: 0.9458 MB / 1.31 GB, free: 206.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.21e-07/2.925, allocations: 0 / 1.31 GB, free: 206.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.008182/2.933, allocations: 1.126 MB / 1.311 GB, free: 206.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 92 * 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.005762/2.939, allocations: 5.188 MB / 1.316 GB, free: 202.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.007406/2.947, allocations: 3.594 MB / 1.319 GB, free: 202.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.096e-05/2.947, allocations: 0 / 1.319 GB, free: 202.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001632/2.948, allocations: 0.8484 MB / 1.32 GB, free: 202.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002971/2.951, allocations: 348.9 kB / 1.32 GB, free: 202.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01883/2.97, allocations: 6.447 MB / 1.327 GB, free: 201.2 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004914/2.975, allocations: 2.932 MB / 1.33 GB, free: 200.4 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.005441/2.981, allocations: 1.242 MB / 1.331 GB, free: 200.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002804/2.984, allocations: 1.271 MB / 1.332 GB, free: 200.4 MB / 0.8698 GB Notification: Performance of SimCode: time 1.012e-06/2.984, allocations: 2.344 kB / 1.332 GB, free: 200.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1177/3.101, allocations: 45.27 MB / 1.376 GB, free: 198.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002431/3.102, allocations: 159 kB / 1.376 GB, free: 198.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.86/6.961, allocations: 7.828 kB / 1.376 GB, free: 198.2 MB / 0.8698 GB