Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.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.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource",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.307/2.307, allocations: 248.7 MB / 256.2 MB, free: 7.016 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.002165/0.002165, allocations: 184.3 kB / 315.4 MB, free: 3.992 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.193/2.193, allocations: 205.3 MB / 0.5662 GB, free: 0.5352 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.001084/0.001084, allocations: 92.34 kB / 0.6704 GB, free: 5.734 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.155e-05/4.168e-05, allocations: 4 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.2557, allocations: 106.3 MB / 0.8841 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9294/1.185, allocations: 168.5 MB / 1.049 GB, free: 4.207 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003723/1.186, allocations: 95.5 kB / 1.049 GB, free: 4.156 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.4002/1.586, allocations: 95.51 MB / 1.142 GB, free: 14.54 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.305e-06/1.586, allocations: 0 / 1.142 GB, free: 14.54 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0001963/1.586, allocations: 59.92 kB / 1.142 GB, free: 14.48 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.009431/1.596, allocations: 2.172 MB / 1.144 GB, free: 12.25 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.612e-05/1.596, allocations: 8.031 kB / 1.144 GB, free: 12.25 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007479/1.603, allocations: 0.7461 MB / 1.145 GB, free: 11.5 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005346/1.609, allocations: 1.457 MB / 1.146 GB, free: 9.996 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002429/1.609, allocations: 84 kB / 1.146 GB, free: 9.914 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001279/1.61, allocations: 151.9 kB / 1.147 GB, free: 9.766 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01005/1.62, allocations: 2.958 MB / 1.149 GB, free: 6.801 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01348/1.634, allocations: 3.778 MB / 1.153 GB, free: 2.824 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001183/1.634, allocations: 11.92 kB / 1.153 GB, free: 2.812 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005087/1.634, allocations: 4 kB / 1.153 GB, free: 2.809 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003265/1.635, allocations: 164.2 kB / 1.153 GB, free: 2.648 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03755/1.672, allocations: 20.69 MB / 1.174 GB, free: 12.08 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001128/1.674, allocations: 0.5122 MB / 1.174 GB, free: 11.5 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001061/1.675, allocations: 491.2 kB / 1.175 GB, free: 10.99 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 6.026e-05/1.675, allocations: 8 kB / 1.175 GB, free: 10.98 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.533e-05/1.675, allocations: 50.45 kB / 1.175 GB, free: 10.93 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=50): time 4.629e-06/1.675, allocations: 0 / 1.175 GB, free: 10.93 MB / 0.7917 GB Notification: Performance of matching and sorting (n=56): time 0.00904/1.684, allocations: 3.566 MB / 1.178 GB, free: 7.309 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001408/1.684, allocations: 239.3 kB / 1.178 GB, free: 7.02 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002609/1.687, allocations: 1.111 MB / 1.179 GB, free: 5.883 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0001565/1.687, allocations: 33.69 kB / 1.179 GB, free: 5.844 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.001275/1.688, allocations: 1.222 MB / 1.181 GB, free: 4.602 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003642/1.689, allocations: 209.2 kB / 1.181 GB, free: 4.395 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002044/1.689, allocations: 4 kB / 1.181 GB, free: 4.391 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.000289/1.689, allocations: 402.7 kB / 1.181 GB, free: 3.988 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001896/1.691, allocations: 0.7379 MB / 1.182 GB, free: 3.25 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002647/1.694, allocations: 1.416 MB / 1.183 GB, free: 1.492 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003213/1.697, allocations: 1.107 MB / 1.184 GB, free: 396 kB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.118e-05/1.697, allocations: 8 kB / 1.184 GB, free: 388 kB / 0.7917 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.006623/1.704, allocations: 2.219 MB / 1.187 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.004081/1.708, allocations: 9.397 MB / 1.196 GB, free: 4.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.234e-05/1.708, allocations: 24 kB / 1.196 GB, free: 3.996 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.017e-05/1.708, allocations: 36 kB / 1.196 GB, free: 3.961 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003415/1.711, allocations: 447.2 kB / 1.196 GB, free: 3.523 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.199e-05/1.712, allocations: 51.75 kB / 1.196 GB, free: 3.473 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003341/1.715, allocations: 259.2 kB / 1.197 GB, free: 3.219 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003303/1.715, allocations: 83.97 kB / 1.197 GB, free: 3.137 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/1.715, allocations: 4 kB / 1.197 GB, free: 3.133 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005383/1.721, allocations: 1.86 MB / 1.198 GB, free: 1.273 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-05/1.721, allocations: 24 kB / 1.198 GB, free: 1.25 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.066e-05/1.721, allocations: 36 kB / 1.198 GB, free: 1.215 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002872/1.724, allocations: 407.4 kB / 1.199 GB, free: 0.8164 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.154e-05/1.724, allocations: 51.78 kB / 1.199 GB, free: 0.7656 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002371/1.726, allocations: 147.5 kB / 1.199 GB, free: 0.6211 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002854/1.727, allocations: 79.98 kB / 1.199 GB, free: 0.543 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 192 * 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.0004653/1.727, allocations: 172.2 kB / 1.199 GB, free: 376 kB / 0.8073 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002491/1.73, allocations: 0.944 MB / 1.2 GB, free: 15.42 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000456/1.73, allocations: 106.8 kB / 1.2 GB, free: 15.31 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002037/1.732, allocations: 0.8276 MB / 1.201 GB, free: 14.48 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.799e-05/1.732, allocations: 8 kB / 1.201 GB, free: 14.47 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/1.732, allocations: 7.938 kB / 1.201 GB, free: 14.46 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.573e-05/1.732, allocations: 7.984 kB / 1.201 GB, free: 14.45 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01645/1.749, allocations: 7.361 MB / 1.208 GB, free: 6.902 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.511e-05/1.749, allocations: 12 kB / 1.208 GB, free: 6.891 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/1.75, allocations: 143.7 kB / 1.208 GB, free: 6.75 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.9e-05/1.75, allocations: 16 kB / 1.208 GB, free: 6.734 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-05/1.75, allocations: 16 kB / 1.209 GB, free: 6.719 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-05/1.75, allocations: 19.92 kB / 1.209 GB, free: 6.699 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.201e-05/1.75, allocations: 24.41 kB / 1.209 GB, free: 6.676 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003197/1.753, allocations: 2.392 MB / 1.211 GB, free: 3.828 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001001/1.754, allocations: 340 kB / 1.211 GB, free: 3.477 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002828/1.755, allocations: 19.98 kB / 1.211 GB, free: 3.457 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001784/1.756, allocations: 99.83 kB / 1.211 GB, free: 3.359 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002188/1.757, allocations: 79.67 kB / 1.211 GB, free: 3.281 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.536e-05/1.757, allocations: 31.89 kB / 1.211 GB, free: 3.25 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001925/1.759, allocations: 0.8447 MB / 1.212 GB, free: 2.395 MB / 0.823 GB Notification: Performance of sort global known variables: time 7.32e-07/1.759, allocations: 0 / 1.212 GB, free: 2.395 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.005403/1.764, allocations: 0.7461 MB / 1.213 GB, free: 1.648 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 56 * 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.005059/1.769, allocations: 6.443 MB / 1.219 GB, free: 10.84 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.005865/1.775, allocations: 2.385 MB / 1.222 GB, free: 8.469 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.835e-05/1.775, allocations: 0 / 1.222 GB, free: 8.469 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001011/1.776, allocations: 438.8 kB / 1.222 GB, free: 8.043 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002393/1.779, allocations: 202.1 kB / 1.222 GB, free: 7.848 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01365/1.792, allocations: 4.037 MB / 1.226 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003823/1.796, allocations: 2.035 MB / 1.228 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.004541/1.801, allocations: 0.8559 MB / 1.229 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002/1.803, allocations: 0.7086 MB / 1.23 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of SimCode: time 1.202e-06/1.803, allocations: 0 / 1.23 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1007/1.904, allocations: 27.79 MB / 1.257 GB, free: 4.266 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003331/1.904, allocations: 180.8 kB / 1.257 GB, free: 4.07 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.186/5.09, allocations: 0 / 1.257 GB, free: 4.07 MB / 0.8698 GB