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_R_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_R_N,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_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.231/2.231, allocations: 248.7 MB / 256.2 MB, free: 7.137 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.001588/0.001588, allocations: 178.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.058/2.058, allocations: 205.3 MB / 0.5662 GB, free: 0.6055 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.001561/0.00156, allocations: 95.88 kB / 0.6704 GB, free: 5.816 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.643e-05/2.647e-05, allocations: 4 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2026/0.2027, allocations: 106.3 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9026/1.105, allocations: 165.2 MB / 1.045 GB, free: 7.262 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003508/1.106, allocations: 92.19 kB / 1.046 GB, free: 7.211 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.8404/1.946, allocations: 200.4 MB / 1.241 GB, free: 7.133 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.034e-06/1.946, allocations: 0 / 1.241 GB, free: 7.133 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0005293/1.947, allocations: 148 kB / 1.241 GB, free: 6.988 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.02174/1.969, allocations: 4.863 MB / 1.246 GB, free: 2.055 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/1.969, allocations: 12.03 kB / 1.246 GB, free: 2.043 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01078/1.979, allocations: 1.129 MB / 1.247 GB, free: 0.9062 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6214/2.601, allocations: 3.689 MB / 1.251 GB, free: 188.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004564/2.601, allocations: 185.8 kB / 1.251 GB, free: 188.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002594/2.604, allocations: 334.6 kB / 1.251 GB, free: 188.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01957/2.624, allocations: 5.686 MB / 1.257 GB, free: 188.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02951/2.653, allocations: 7.86 MB / 1.265 GB, free: 187 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000367/2.654, allocations: 22.09 kB / 1.265 GB, free: 187 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002341/2.656, allocations: 14.28 kB / 1.265 GB, free: 187 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005866/2.657, allocations: 298 kB / 1.265 GB, free: 187 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06487/2.722, allocations: 40.26 MB / 1.304 GB, free: 160.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007469/2.729, allocations: 2.972 MB / 1.307 GB, free: 160.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005075/2.734, allocations: 2.066 MB / 1.309 GB, free: 160.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002976/2.735, allocations: 22.89 kB / 1.309 GB, free: 160.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.934e-05/2.735, allocations: 60.22 kB / 1.309 GB, free: 160.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=209): time 6.953e-06/2.735, allocations: 0 / 1.309 GB, free: 160.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=212): time 0.02258/2.757, allocations: 6.304 MB / 1.315 GB, free: 159.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.102e-05/2.757, allocations: 72.84 kB / 1.316 GB, free: 159.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002924/2.76, allocations: 1.332 MB / 1.317 GB, free: 159.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.000577/2.761, allocations: 28.55 kB / 1.317 GB, free: 159.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001772/2.763, allocations: 2.389 MB / 1.319 GB, free: 158.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001208/2.764, allocations: 0.7014 MB / 1.32 GB, free: 157.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002632/2.764, allocations: 0 / 1.32 GB, free: 157.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002083/2.764, allocations: 409.6 kB / 1.32 GB, free: 157.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002827/2.767, allocations: 1.241 MB / 1.321 GB, free: 157.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003525/2.771, allocations: 2.018 MB / 1.323 GB, free: 156.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003572/2.774, allocations: 1.607 MB / 1.325 GB, free: 156.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.305e-05/2.775, allocations: 6.844 kB / 1.325 GB, free: 156.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.0128/2.787, allocations: 4.601 MB / 1.33 GB, free: 156.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.743e-05/2.787, allocations: 22.8 kB / 1.33 GB, free: 156.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-05/2.787, allocations: 23.5 kB / 1.33 GB, free: 156.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005426/2.793, allocations: 1.392 MB / 1.331 GB, free: 156 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003098/2.796, allocations: 443.1 kB / 1.331 GB, free: 156 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02937/2.825, allocations: 16.45 MB / 1.347 GB, free: 148.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003597/2.829, allocations: 96.11 kB / 1.348 GB, free: 148.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007229/2.83, allocations: 107 kB / 1.348 GB, free: 148.1 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 113 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (219): * Single equations (assignments): 215 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,66.7%) 32,(6,66.7%) 24,(4,100.0%) 18,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006602/2.831, allocations: 173.5 kB / 1.348 GB, free: 147.9 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01074/2.841, allocations: 3.987 MB / 1.352 GB, free: 146.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001279/2.843, allocations: 268.5 kB / 1.352 GB, free: 146.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01115/2.854, allocations: 4.175 MB / 1.356 GB, free: 144.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-05/2.854, allocations: 20.56 kB / 1.356 GB, free: 144.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.36e-05/2.854, allocations: 17.03 kB / 1.356 GB, free: 144.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.157e-05/2.854, allocations: 11.11 kB / 1.356 GB, free: 144.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02499/2.879, allocations: 8.535 MB / 1.364 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-05/2.879, allocations: 7.312 kB / 1.364 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002086/2.881, allocations: 234.2 kB / 1.365 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005435/2.887, allocations: 1.368 MB / 1.366 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004523/2.887, allocations: 7.656 kB / 1.366 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02822/2.915, allocations: 16.43 MB / 1.382 GB, free: 131.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.05e-05/2.916, allocations: 5.781 kB / 1.382 GB, free: 131.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01207/2.928, allocations: 4.612 MB / 1.387 GB, free: 129.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003706/2.931, allocations: 0.6107 MB / 1.387 GB, free: 128.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00148/2.933, allocations: 10.64 kB / 1.387 GB, free: 128.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00395/2.937, allocations: 83.61 kB / 1.387 GB, free: 128.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009098/2.938, allocations: 177.3 kB / 1.387 GB, free: 128.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002427/2.938, allocations: 55.94 kB / 1.387 GB, free: 128.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001971/2.94, allocations: 0.9663 MB / 1.388 GB, free: 128.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.72e-07/2.94, allocations: 1.875 kB / 1.388 GB, free: 128.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.005616/2.946, allocations: 1.055 MB / 1.389 GB, free: 128.3 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 (107): * Single equations (assignments): 103 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,100.0%) 18,(6,66.7%) 24,(6,66.7%) 32,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01111/2.957, allocations: 6.338 MB / 1.396 GB, free: 124.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01041/2.967, allocations: 4.329 MB / 1.4 GB, free: 122.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-05/2.967, allocations: 3.719 kB / 1.4 GB, free: 122.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0069/2.974, allocations: 2.744 MB / 1.402 GB, free: 121.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005529/2.98, allocations: 0.6788 MB / 1.403 GB, free: 121.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0246/3.005, allocations: 8.696 MB / 1.412 GB, free: 118.1 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006915/3.012, allocations: 3.783 MB / 1.415 GB, free: 116.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.00321/3.015, allocations: 0.5263 MB / 1.416 GB, free: 116.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003804/3.019, allocations: 1.944 MB / 1.418 GB, free: 115 MB / 0.8542 GB Notification: Performance of SimCode: time 1.192e-06/3.019, allocations: 0 / 1.418 GB, free: 115 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2264/3.245, allocations: 76.32 MB / 1.492 GB, free: 63.82 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002681/3.245, allocations: 167.6 kB / 1.492 GB, free: 63.62 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.996/8.241, allocations: 0 / 1.492 GB, free: 63.62 MB / 0.8542 GB