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.409/2.409, allocations: 251 MB / 265.9 MB, free: 11.7 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.00149/0.00149, allocations: 170.9 kB / 325.5 MB, free: 2.906 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.42/2.42, allocations: 205.4 MB / 0.5764 GB, free: 20.85 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.001159/0.001159, allocations: 101.9 kB / 0.6809 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000479/0.0004788, allocations: 11.88 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2326, allocations: 106.3 MB / 0.8988 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9718/1.204, allocations: 173.9 MB / 1.069 GB, free: 65.2 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003934/1.205, allocations: 103.4 kB / 1.069 GB, free: 65.2 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.4244/1.629, allocations: 112.3 MB / 1.178 GB, free: 29.98 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.586e-06/1.629, allocations: 0 / 1.178 GB, free: 29.98 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002092/1.63, allocations: 74.17 kB / 1.178 GB, free: 29.96 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: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.01116/1.641, allocations: 2.507 MB / 1.181 GB, free: 28.46 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/1.641, allocations: 15.5 kB / 1.181 GB, free: 28.46 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002423/1.643, allocations: 453.9 kB / 1.181 GB, free: 28.32 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01051/1.654, allocations: 0.6931 MB / 1.182 GB, free: 28 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007582/1.661, allocations: 1.614 MB / 1.184 GB, free: 27.36 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004231/1.662, allocations: 215.8 kB / 1.184 GB, free: 27.35 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002269/1.664, allocations: 285.2 kB / 1.184 GB, free: 27.34 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.023/1.687, allocations: 4.595 MB / 1.189 GB, free: 24.88 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002614/1.688, allocations: 11.88 kB / 1.189 GB, free: 24.87 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001753/1.689, allocations: 124.7 kB / 1.189 GB, free: 24.84 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005264/1.69, allocations: 181.5 kB / 1.189 GB, free: 24.67 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01361/1.704, allocations: 3.752 MB / 1.193 GB, free: 21.67 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03951/1.743, allocations: 23.06 MB / 1.215 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005492/1.749, allocations: 1.574 MB / 1.217 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000287/1.749, allocations: 101.6 kB / 1.217 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.071e-05/1.749, allocations: 47.12 kB / 1.217 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=72): time 3.306e-06/1.749, allocations: 0 / 1.217 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of matching and sorting (n=75): time 0.01113/1.76, allocations: 3.541 MB / 1.22 GB, free: 7.113 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001198/1.761, allocations: 137.4 kB / 1.22 GB, free: 6.945 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002434/1.763, allocations: 0.9378 MB / 1.221 GB, free: 6.004 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002852/1.763, allocations: 41.64 kB / 1.221 GB, free: 5.957 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001252/1.765, allocations: 1.196 MB / 1.222 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005918/1.765, allocations: 276.2 kB / 1.223 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002173/1.765, allocations: 24 kB / 1.223 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0003609/1.766, allocations: 410.6 kB / 1.223 GB, free: 4.035 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002376/1.768, allocations: 0.7872 MB / 1.224 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003028/1.771, allocations: 1.275 MB / 1.225 GB, free: 1.754 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002887/1.774, allocations: 0.9984 MB / 1.226 GB, free: 0.7539 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-05/1.774, allocations: 4 kB / 1.226 GB, free: 0.75 MB / 0.7136 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.006794/1.781, allocations: 2.156 MB / 1.228 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.002446/1.784, allocations: 5.493 MB / 1.234 GB, free: 8.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.222e-05/1.784, allocations: 16 kB / 1.234 GB, free: 8.645 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.135e-05/1.784, allocations: 24 kB / 1.234 GB, free: 8.621 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003528/1.787, allocations: 415.2 kB / 1.234 GB, free: 8.215 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.643e-05/1.787, allocations: 27.92 kB / 1.234 GB, free: 8.188 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003071/1.79, allocations: 259.2 kB / 1.234 GB, free: 7.934 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004055/1.791, allocations: 59.98 kB / 1.234 GB, free: 7.875 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/1.791, allocations: 4 kB / 1.234 GB, free: 7.871 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005209/1.796, allocations: 1.753 MB / 1.236 GB, free: 6.117 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.866e-05/1.796, allocations: 16.03 kB / 1.236 GB, free: 6.102 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.594e-05/1.796, allocations: 27.95 kB / 1.236 GB, free: 6.074 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002808/1.799, allocations: 359.4 kB / 1.236 GB, free: 5.723 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.697e-05/1.799, allocations: 31.92 kB / 1.236 GB, free: 5.691 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002219/1.802, allocations: 183.3 kB / 1.237 GB, free: 5.512 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002215/1.802, allocations: 59.98 kB / 1.237 GB, free: 5.453 MB / 0.7292 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 () * Number of clocked 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.003558/1.805, allocations: 1.168 MB / 1.238 GB, free: 4.273 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000702/1.806, allocations: 98.78 kB / 1.238 GB, free: 4.176 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004895/1.811, allocations: 1.495 MB / 1.239 GB, free: 2.672 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.622e-05/1.811, allocations: 19.95 kB / 1.239 GB, free: 2.652 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/1.811, allocations: 4 kB / 1.239 GB, free: 2.648 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-05/1.811, allocations: 3.984 kB / 1.239 GB, free: 2.645 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01871/1.83, allocations: 7.28 MB / 1.247 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.168e-05/1.83, allocations: 8 kB / 1.247 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002184/1.832, allocations: 263.5 kB / 1.247 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.661e-05/1.832, allocations: 12 kB / 1.247 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000124/1.832, allocations: 24.34 kB / 1.247 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.24e-05/1.832, allocations: 19.94 kB / 1.247 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.496e-05/1.832, allocations: 15.94 kB / 1.247 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004505/1.837, allocations: 2.418 MB / 1.249 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001147/1.838, allocations: 371.5 kB / 1.25 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002784/1.838, allocations: 27.94 kB / 1.25 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001841/1.84, allocations: 139.8 kB / 1.25 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003175/1.841, allocations: 79.69 kB / 1.25 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001024/1.841, allocations: 28 kB / 1.25 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001641/1.842, allocations: 0.7142 MB / 1.251 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.51e-07/1.842, allocations: 0 / 1.251 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.004392/1.847, allocations: 0.8242 MB / 1.251 GB, free: 5.844 MB / 0.7448 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 () * Number of clocked 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.006168/1.853, allocations: 5.552 MB / 1.257 GB, free: 24 kB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.007389/1.86, allocations: 2.649 MB / 1.259 GB, free: 13.37 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.678e-05/1.861, allocations: 8.062 kB / 1.259 GB, free: 13.36 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.002049/1.863, allocations: 0.7318 MB / 1.26 GB, free: 12.63 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002542/1.865, allocations: 262.3 kB / 1.26 GB, free: 12.38 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0348/1.9, allocations: 20.32 MB / 1.28 GB, free: 7.469 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004419/1.905, allocations: 2.171 MB / 1.282 GB, free: 5.266 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.003754/1.908, allocations: 0.7383 MB / 1.283 GB, free: 4.523 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002662/1.911, allocations: 0.8195 MB / 1.284 GB, free: 3.703 MB / 0.7761 GB Notification: Performance of SimCode: time 1.663e-06/1.911, allocations: 0 / 1.284 GB, free: 3.703 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08806/1.999, allocations: 30.19 MB / 1.313 GB, free: 5.793 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003085/2, allocations: 208.5 kB / 1.314 GB, free: 5.547 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.285/5.284, allocations: 2.188 kB / 1.314 GB, free: 5.547 MB / 0.8073 GB