Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.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.Impedances,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",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.365/2.365, allocations: 248.5 MB / 261 MB, free: 6.004 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.001509/0.001509, allocations: 182.8 kB / 320.4 MB, free: 15.34 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.037/2.037, allocations: 205.2 MB / 0.571 GB, free: 11.76 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.001229/0.001229, allocations: 104.5 kB / 0.6754 GB, free: 0.8477 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.772e-05/3.792e-05, allocations: 4 kB / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.2127, allocations: 106.2 MB / 0.8907 GB, free: 7.449 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.052/1.265, allocations: 161.1 MB / 1.048 GB, free: 7.391 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000394/1.265, allocations: 105.7 kB / 1.048 GB, free: 7.328 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.3939/1.659, allocations: 85.95 MB / 1.132 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.144e-06/1.659, allocations: 0 / 1.132 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0002018/1.66, allocations: 59.98 kB / 1.132 GB, free: 8.422 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.009204/1.669, allocations: 2.116 MB / 1.134 GB, free: 6.25 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.032e-05/1.669, allocations: 12.03 kB / 1.134 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001874/1.671, allocations: 374.2 kB / 1.135 GB, free: 5.863 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007399/1.678, allocations: 0.7579 MB / 1.135 GB, free: 5.102 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005939/1.684, allocations: 1.539 MB / 1.137 GB, free: 3.516 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002959/1.685, allocations: 176.8 kB / 1.137 GB, free: 3.34 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001363/1.686, allocations: 231.9 kB / 1.137 GB, free: 3.113 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01504/1.701, allocations: 3.817 MB / 1.141 GB, free: 15.12 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001148/1.701, allocations: 4 kB / 1.141 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000879/1.702, allocations: 95.98 kB / 1.141 GB, free: 15.02 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003342/1.703, allocations: 164.5 kB / 1.141 GB, free: 14.86 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0117/1.714, allocations: 3.181 MB / 1.144 GB, free: 11.66 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03479/1.749, allocations: 16.49 MB / 1.16 GB, free: 9.742 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005986/1.755, allocations: 2.099 MB / 1.162 GB, free: 7.465 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001677/1.757, allocations: 0.5898 MB / 1.163 GB, free: 6.867 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002353/1.757, allocations: 93.61 kB / 1.163 GB, free: 6.758 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.797e-05/1.757, allocations: 47.11 kB / 1.163 GB, free: 6.703 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=72): time 3.797e-06/1.757, allocations: 0 / 1.163 GB, free: 6.703 MB / 0.7761 GB Notification: Performance of matching and sorting (n=76): time 0.007561/1.765, allocations: 2.574 MB / 1.166 GB, free: 4.102 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.444e-05/1.765, allocations: 111.6 kB / 1.166 GB, free: 3.965 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00209/1.767, allocations: 0.8962 MB / 1.167 GB, free: 3.043 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001758/1.767, allocations: 37.77 kB / 1.167 GB, free: 3 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.001106/1.768, allocations: 1.099 MB / 1.168 GB, free: 1.883 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004885/1.769, allocations: 272.2 kB / 1.168 GB, free: 1.613 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/1.769, allocations: 24 kB / 1.168 GB, free: 1.59 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000334/1.769, allocations: 418.7 kB / 1.168 GB, free: 1.172 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001595/1.771, allocations: 0.5856 MB / 1.169 GB, free: 0.5859 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002144/1.773, allocations: 1.127 MB / 1.17 GB, free: 15.21 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002157/1.775, allocations: 0.8372 MB / 1.171 GB, free: 14.37 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.896e-05/1.775, allocations: 8 kB / 1.171 GB, free: 14.36 MB / 0.7917 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.005656/1.781, allocations: 1.936 MB / 1.173 GB, free: 12.41 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 4.131e-05/1.781, allocations: 15.94 kB / 1.173 GB, free: 12.39 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.019e-05/1.781, allocations: 23.94 kB / 1.173 GB, free: 12.37 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007179/1.782, allocations: 163.3 kB / 1.173 GB, free: 12.2 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002559/1.785, allocations: 339.4 kB / 1.173 GB, free: 11.86 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.318e-05/1.785, allocations: 43.92 kB / 1.173 GB, free: 11.82 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002073/1.787, allocations: 135.6 kB / 1.173 GB, free: 11.69 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002485/1.787, allocations: 64 kB / 1.174 GB, free: 11.62 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 161 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003864/1.787, allocations: 196.4 kB / 1.174 GB, free: 11.43 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003707/1.788, allocations: 110.7 kB / 1.174 GB, free: 11.32 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003342/1.791, allocations: 1.189 MB / 1.175 GB, free: 10.1 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.875e-05/1.791, allocations: 11.95 kB / 1.175 GB, free: 10.09 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.705e-05/1.791, allocations: 7.984 kB / 1.175 GB, free: 10.08 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.795e-05/1.791, allocations: 3.984 kB / 1.175 GB, free: 10.08 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0109/1.802, allocations: 3.769 MB / 1.179 GB, free: 6.16 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-05/1.802, allocations: 4 kB / 1.179 GB, free: 6.156 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002199/1.805, allocations: 156 kB / 1.179 GB, free: 6.004 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001088/1.806, allocations: 151.3 kB / 1.179 GB, free: 5.844 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001979/1.806, allocations: 16 kB / 1.179 GB, free: 5.828 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.951e-05/1.806, allocations: 4 kB / 1.179 GB, free: 5.824 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.126e-06/1.806, allocations: 4 kB / 1.179 GB, free: 5.82 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00523/1.811, allocations: 1.553 MB / 1.181 GB, free: 4.148 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001678/1.813, allocations: 287.7 kB / 1.181 GB, free: 3.848 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006873/1.814, allocations: 19.98 kB / 1.181 GB, free: 3.828 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00279/1.817, allocations: 75.86 kB / 1.181 GB, free: 3.754 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004726/1.817, allocations: 56.48 kB / 1.181 GB, free: 3.699 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001459/1.817, allocations: 27.94 kB / 1.181 GB, free: 3.672 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.002658/1.82, allocations: 0.6878 MB / 1.182 GB, free: 2.969 MB / 0.7917 GB Notification: Performance of sort global known variables: time 8.82e-07/1.82, allocations: 0 / 1.182 GB, free: 2.969 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.00345/1.824, allocations: 416.1 kB / 1.182 GB, free: 2.562 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004377/1.828, allocations: 2.818 MB / 1.185 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.003912/1.832, allocations: 1.646 MB / 1.186 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 7.173e-06/1.832, allocations: 0 / 1.186 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001691/1.834, allocations: 0.8438 MB / 1.187 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002177/1.836, allocations: 243.4 kB / 1.187 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01269/1.849, allocations: 3.669 MB / 1.191 GB, free: 8.996 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003663/1.852, allocations: 1.957 MB / 1.193 GB, free: 7.004 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.002216/1.855, allocations: 437.3 kB / 1.193 GB, free: 6.574 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002044/1.857, allocations: 0.7141 MB / 1.194 GB, free: 5.859 MB / 0.8073 GB Notification: Performance of SimCode: time 1.973e-06/1.857, allocations: 4 kB / 1.194 GB, free: 5.855 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1117/1.968, allocations: 27.54 MB / 1.221 GB, free: 10.62 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003824/1.969, allocations: 198.3 kB / 1.221 GB, free: 10.39 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.181/5.15, allocations: 0 / 1.221 GB, free: 10.39 MB / 0.8386 GB