Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_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.451/2.451, allocations: 248.7 MB / 256.2 MB, free: 7.051 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.001403/0.001403, allocations: 174.1 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.057/2.057, allocations: 205.3 MB / 0.5662 GB, free: 0.5508 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.001083/0.001083, allocations: 92.2 kB / 0.6704 GB, free: 5.754 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.017e-05/3.021e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1966/0.1967, allocations: 106.3 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.069/1.266, allocations: 190.1 MB / 1.07 GB, free: 15.61 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003521/1.267, allocations: 95.31 kB / 1.07 GB, free: 15.56 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.4977/1.764, allocations: 112.7 MB / 1.18 GB, free: 7.375 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.455e-06/1.764, allocations: 0 / 1.18 GB, free: 7.375 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0003145/1.765, allocations: 71.98 kB / 1.18 GB, free: 7.305 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.0117/1.776, allocations: 2.68 MB / 1.183 GB, free: 4.562 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.725e-05/1.777, allocations: 8.031 kB / 1.183 GB, free: 4.555 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006853/1.783, allocations: 0.6674 MB / 1.183 GB, free: 3.883 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008226/1.792, allocations: 2.063 MB / 1.185 GB, free: 1.758 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000219/1.792, allocations: 96 kB / 1.185 GB, free: 1.664 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001418/1.793, allocations: 171.9 kB / 1.186 GB, free: 1.496 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01057/1.804, allocations: 2.98 MB / 1.188 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01518/1.819, allocations: 4.114 MB / 1.192 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001555/1.819, allocations: 19.78 kB / 1.192 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005735/1.82, allocations: 8 kB / 1.192 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000335/1.82, allocations: 169.8 kB / 1.193 GB, free: 9.949 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03803/1.858, allocations: 20.99 MB / 1.213 GB, free: 2.984 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002856/1.861, allocations: 1.236 MB / 1.214 GB, free: 1.734 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002429/1.864, allocations: 0.9919 MB / 1.215 GB, free: 0.7461 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001062/1.864, allocations: 13.31 kB / 1.215 GB, free: 0.7305 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.801e-05/1.864, allocations: 51.86 kB / 1.215 GB, free: 0.6719 MB / 0.823 GB Notification: Performance of pre-optimization done (n=107): time 3.717e-06/1.864, allocations: 0 / 1.215 GB, free: 0.6719 MB / 0.823 GB Notification: Performance of matching and sorting (n=138): time 0.01585/1.88, allocations: 4.719 MB / 1.22 GB, free: 11.96 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.823e-05/1.88, allocations: 68.72 kB / 1.22 GB, free: 11.88 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001907/1.882, allocations: 0.8228 MB / 1.221 GB, free: 11.05 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0002774/1.882, allocations: 29.7 kB / 1.221 GB, free: 11.01 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.001283/1.883, allocations: 1.303 MB / 1.222 GB, free: 9.691 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007556/1.884, allocations: 461.1 kB / 1.223 GB, free: 9.234 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001345/1.884, allocations: 0 / 1.223 GB, free: 9.234 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002286/1.885, allocations: 377.8 kB / 1.223 GB, free: 8.859 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00204/1.887, allocations: 0.8317 MB / 1.224 GB, free: 8.027 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002522/1.889, allocations: 1.28 MB / 1.225 GB, free: 6.547 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002498/1.892, allocations: 1.064 MB / 1.226 GB, free: 5.48 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.425e-05/1.892, allocations: 4 kB / 1.226 GB, free: 5.477 MB / 0.8386 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.009794/1.902, allocations: 3.172 MB / 1.229 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.01e-05/1.902, allocations: 15.94 kB / 1.229 GB, free: 2.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.099e-05/1.902, allocations: 16 kB / 1.229 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005293/1.907, allocations: 1.081 MB / 1.23 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002024/1.909, allocations: 263.6 kB / 1.23 GB, free: 0.9062 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0264/1.936, allocations: 12.04 MB / 1.242 GB, free: 4.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002093/1.938, allocations: 59.91 kB / 1.242 GB, free: 4.461 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002704/1.938, allocations: 68 kB / 1.242 GB, free: 4.395 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 131 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,84.0%) 17,(5,88.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004364/1.938, allocations: 152.5 kB / 1.243 GB, free: 4.238 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009008/1.947, allocations: 2.8 MB / 1.245 GB, free: 1.418 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007092/1.948, allocations: 150.2 kB / 1.245 GB, free: 1.27 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009917/1.958, allocations: 2.946 MB / 1.248 GB, free: 14.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.548e-05/1.958, allocations: 12 kB / 1.248 GB, free: 14.29 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.471e-05/1.958, allocations: 12 kB / 1.248 GB, free: 14.28 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.092e-05/1.958, allocations: 11.97 kB / 1.248 GB, free: 14.27 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02197/1.98, allocations: 5.511 MB / 1.254 GB, free: 8.637 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.757e-05/1.98, allocations: 4 kB / 1.254 GB, free: 8.633 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001275/1.982, allocations: 152.3 kB / 1.254 GB, free: 8.484 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004803/1.986, allocations: 0.9985 MB / 1.255 GB, free: 7.477 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001657/1.987, allocations: 12 kB / 1.255 GB, free: 7.465 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6519/2.639, allocations: 11.72 MB / 1.266 GB, free: 246.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-05/2.639, allocations: 9.125 kB / 1.266 GB, free: 246.9 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008931/2.648, allocations: 3.191 MB / 1.269 GB, free: 246.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001525/2.649, allocations: 413.7 kB / 1.27 GB, free: 246.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004646/2.65, allocations: 6.938 kB / 1.27 GB, free: 246.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001535/2.651, allocations: 58.36 kB / 1.27 GB, free: 246.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005706/2.652, allocations: 119.5 kB / 1.27 GB, free: 246.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000145/2.652, allocations: 43.3 kB / 1.27 GB, free: 246.1 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001499/2.654, allocations: 0.618 MB / 1.271 GB, free: 246 MB / 0.8698 GB Notification: Performance of sort global known variables: time 9.52e-07/2.654, allocations: 0.875 kB / 1.271 GB, free: 246 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003879/2.657, allocations: 0.5954 MB / 1.271 GB, free: 246 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 67 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,88.0%) 25,(5,84.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01007/2.668, allocations: 4.964 MB / 1.276 GB, free: 243.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.008112/2.676, allocations: 2.875 MB / 1.279 GB, free: 243.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.319e-05/2.676, allocations: 4 kB / 1.279 GB, free: 243.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.005533/2.681, allocations: 1.82 MB / 1.281 GB, free: 242.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003605/2.685, allocations: 378.6 kB / 1.281 GB, free: 242.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01595/2.701, allocations: 4.975 MB / 1.286 GB, free: 241.8 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004915/2.706, allocations: 2.391 MB / 1.288 GB, free: 241 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.00214/2.708, allocations: 339.2 kB / 1.288 GB, free: 241 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002179/2.71, allocations: 0.9863 MB / 1.289 GB, free: 241 MB / 0.8698 GB Notification: Performance of SimCode: time 1.222e-06/2.71, allocations: 1.219 kB / 1.289 GB, free: 241 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1626/2.873, allocations: 46.15 MB / 1.335 GB, free: 239.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002468/2.873, allocations: 166.4 kB / 1.335 GB, free: 239.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.677/6.55, allocations: 2.969 kB / 1.335 GB, free: 239.3 MB / 0.8698 GB