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_L.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_L,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",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.343/2.343, allocations: 248.7 MB / 256.2 MB, free: 7.066 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.001453/0.001453, allocations: 174.9 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.21/2.21, allocations: 205.3 MB / 0.5662 GB, free: 0.5117 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.001548/0.001548, allocations: 99.8 kB / 0.6704 GB, free: 5.715 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.137e-05/2.167e-05, allocations: 4 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2238/0.2239, allocations: 106.3 MB / 0.8841 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9313/1.155, allocations: 164.6 MB / 1.045 GB, free: 8.172 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003474/1.156, allocations: 91.69 kB / 1.045 GB, free: 8.121 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.7287/1.884, allocations: 178.9 MB / 1.22 GB, free: 13.79 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.485e-06/1.884, allocations: 224 / 1.22 GB, free: 13.79 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0004426/1.885, allocations: 119.9 kB / 1.22 GB, free: 13.68 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01637/1.901, allocations: 3.833 MB / 1.224 GB, free: 9.777 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/1.901, allocations: 8.031 kB / 1.224 GB, free: 9.77 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009629/1.911, allocations: 0.9426 MB / 1.224 GB, free: 8.82 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01181/1.923, allocations: 2.979 MB / 1.227 GB, free: 5.781 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003491/1.923, allocations: 152 kB / 1.228 GB, free: 5.633 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002241/1.925, allocations: 283.7 kB / 1.228 GB, free: 5.355 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01576/1.941, allocations: 4.529 MB / 1.232 GB, free: 0.8203 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02405/1.965, allocations: 6.555 MB / 1.239 GB, free: 9.816 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003318/1.966, allocations: 23.78 kB / 1.239 GB, free: 9.793 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001754/1.968, allocations: 12 kB / 1.239 GB, free: 9.781 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000539/1.968, allocations: 281 kB / 1.239 GB, free: 9.504 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.666/2.634, allocations: 34.06 MB / 1.272 GB, free: 179.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004574/2.639, allocations: 2.09 MB / 1.274 GB, free: 179.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00286/2.642, allocations: 1.209 MB / 1.275 GB, free: 179.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001578/2.642, allocations: 15.19 kB / 1.275 GB, free: 179.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.738e-05/2.642, allocations: 42.89 kB / 1.275 GB, free: 179 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=133): time 3.797e-06/2.642, allocations: 1.094 kB / 1.275 GB, free: 179 MB / 0.8542 GB Notification: Performance of matching and sorting (n=136): time 0.01402/2.656, allocations: 4.373 MB / 1.28 GB, free: 178.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/2.656, allocations: 70.14 kB / 1.28 GB, free: 178.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00252/2.659, allocations: 1.06 MB / 1.281 GB, free: 178.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0003312/2.659, allocations: 25.7 kB / 1.281 GB, free: 178 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001716/2.661, allocations: 1.99 MB / 1.283 GB, free: 177.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007791/2.662, allocations: 474.3 kB / 1.283 GB, free: 177 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001658/2.662, allocations: 4.469 kB / 1.283 GB, free: 177 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001774/2.662, allocations: 380.6 kB / 1.284 GB, free: 176.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002131/2.664, allocations: 0.8475 MB / 1.284 GB, free: 176.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002757/2.667, allocations: 1.491 MB / 1.286 GB, free: 175.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002874/2.67, allocations: 1.111 MB / 1.287 GB, free: 175.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.218e-05/2.67, allocations: 6.062 kB / 1.287 GB, free: 175.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.0105/2.68, allocations: 3.211 MB / 1.29 GB, free: 175.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.562e-05/2.68, allocations: 14.06 kB / 1.29 GB, free: 175.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-05/2.681, allocations: 22.48 kB / 1.29 GB, free: 175.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004532/2.685, allocations: 0.8767 MB / 1.291 GB, free: 175.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002521/2.688, allocations: 353.9 kB / 1.291 GB, free: 175.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02604/2.714, allocations: 20.36 MB / 1.311 GB, free: 160.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002751/2.717, allocations: 63.8 kB / 1.311 GB, free: 160.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005497/2.717, allocations: 87.98 kB / 1.311 GB, free: 160.9 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (182): * Single equations (assignments): 170 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(3,77.8%) 5,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005044/2.718, allocations: 166.2 kB / 1.312 GB, free: 160.8 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008291/2.726, allocations: 2.675 MB / 1.314 GB, free: 160.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009059/2.727, allocations: 193.3 kB / 1.314 GB, free: 160.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008554/2.735, allocations: 2.806 MB / 1.317 GB, free: 160.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.361e-05/2.736, allocations: 13.16 kB / 1.317 GB, free: 160.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.884e-05/2.736, allocations: 10.22 kB / 1.317 GB, free: 160.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.377e-05/2.736, allocations: 8.578 kB / 1.317 GB, free: 160.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01922/2.755, allocations: 6.384 MB / 1.323 GB, free: 159.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.53e-05/2.755, allocations: 6.812 kB / 1.323 GB, free: 159.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001659/2.757, allocations: 188.3 kB / 1.324 GB, free: 159.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004098/2.761, allocations: 0.7985 MB / 1.324 GB, free: 159 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003313/2.761, allocations: 11.27 kB / 1.324 GB, free: 159 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02294/2.784, allocations: 19.46 MB / 1.343 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.165e-05/2.784, allocations: 7.5 kB / 1.343 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007792/2.792, allocations: 3.142 MB / 1.346 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001798/2.794, allocations: 442.3 kB / 1.347 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006472/2.795, allocations: 10.38 kB / 1.347 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001953/2.797, allocations: 52.45 kB / 1.347 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006117/2.797, allocations: 123.3 kB / 1.347 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001264/2.797, allocations: 38 kB / 1.347 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001609/2.799, allocations: 0.7781 MB / 1.348 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.163e-06/2.799, allocations: 1.5 kB / 1.348 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.005134/2.804, allocations: 0.7462 MB / 1.349 GB, free: 143.4 MB / 0.8542 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 (91): * Single equations (assignments): 79 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008342/2.813, allocations: 4.89 MB / 1.353 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.008393/2.821, allocations: 3.738 MB / 1.357 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.081e-05/2.821, allocations: 0 / 1.357 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.005449/2.826, allocations: 2.577 MB / 1.359 GB, free: 138 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005009/2.832, allocations: 0.5931 MB / 1.36 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02189/2.853, allocations: 6.667 MB / 1.367 GB, free: 135.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006651/2.86, allocations: 3.185 MB / 1.37 GB, free: 134.2 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002612/2.863, allocations: 447.8 kB / 1.37 GB, free: 134.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003443/2.866, allocations: 1.552 MB / 1.372 GB, free: 132.9 MB / 0.8542 GB Notification: Performance of SimCode: time 3.336e-06/2.866, allocations: 0 / 1.372 GB, free: 132.9 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1658/3.032, allocations: 56.56 MB / 1.427 GB, free: 128.1 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002672/3.033, allocations: 168 kB / 1.427 GB, free: 127.9 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.756/6.788, allocations: 0 / 1.427 GB, free: 127.9 MB / 0.8542 GB