Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_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.ACSimpleGrid_N,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_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.169/2.169, allocations: 248.7 MB / 256.2 MB, free: 7.047 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.001405/0.001405, allocations: 181.7 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.087/2.087, allocations: 205.3 MB / 0.5662 GB, free: 0.5938 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.001201/0.001201, allocations: 82.55 kB / 0.6704 GB, free: 5.805 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.373e-05/3.364e-05, allocations: 4 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.2008, allocations: 106.3 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9964/1.197, allocations: 186.4 MB / 1.066 GB, free: 2.781 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003722/1.198, allocations: 100.5 kB / 1.066 GB, free: 2.727 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2796/1.477, allocations: 66.08 MB / 1.131 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.514e-06/1.477, allocations: 0 / 1.131 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0002024/1.478, allocations: 39.94 kB / 1.131 GB, free: 10.2 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: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.007696/1.485, allocations: 1.683 MB / 1.132 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.853e-05/1.485, allocations: 8.031 kB / 1.132 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005817/1.491, allocations: 0.6651 MB / 1.133 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004872/1.496, allocations: 1.231 MB / 1.134 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001759/1.496, allocations: 52 kB / 1.134 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009506/1.497, allocations: 103.8 kB / 1.134 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006806/1.504, allocations: 1.939 MB / 1.136 GB, free: 4.422 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009268/1.514, allocations: 2.372 MB / 1.139 GB, free: 1.988 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001073/1.514, allocations: 0 / 1.139 GB, free: 1.988 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000629/1.514, allocations: 11.98 kB / 1.139 GB, free: 1.977 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001966/1.515, allocations: 91.2 kB / 1.139 GB, free: 1.887 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02401/1.539, allocations: 10.51 MB / 1.149 GB, free: 6.496 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002021/1.541, allocations: 0.7181 MB / 1.15 GB, free: 5.77 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001322/1.542, allocations: 0.509 MB / 1.15 GB, free: 5.258 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002208/1.542, allocations: 89.47 kB / 1.15 GB, free: 5.152 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.956e-05/1.542, allocations: 38.94 kB / 1.15 GB, free: 5.105 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=46): time 3.246e-06/1.542, allocations: 0 / 1.15 GB, free: 5.105 MB / 0.7605 GB Notification: Performance of matching and sorting (n=72): time 0.0197/1.562, allocations: 4.362 MB / 1.155 GB, free: 0.7266 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.063e-05/1.562, allocations: 89.88 kB / 1.155 GB, free: 0.6211 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0017/1.564, allocations: 0.7495 MB / 1.155 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0002163/1.564, allocations: 25.7 kB / 1.155 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008208/1.565, allocations: 0.7813 MB / 1.156 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004108/1.565, allocations: 240.4 kB / 1.156 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/1.566, allocations: 0 / 1.156 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002749/1.566, allocations: 398.7 kB / 1.157 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001763/1.568, allocations: 0.7365 MB / 1.158 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002209/1.57, allocations: 1.107 MB / 1.159 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002961/1.573, allocations: 1.07 MB / 1.16 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-05/1.573, allocations: 4 kB / 1.16 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.01321/1.586, allocations: 3.244 MB / 1.163 GB, free: 8.062 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.002065/1.588, allocations: 4.267 MB / 1.167 GB, free: 3.465 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.401e-05/1.588, allocations: 8 kB / 1.167 GB, free: 3.457 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009729/1.598, allocations: 1.408 MB / 1.168 GB, free: 2.043 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001705/1.6, allocations: 227.6 kB / 1.169 GB, free: 1.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01843/1.618, allocations: 7.008 MB / 1.175 GB, free: 10.67 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002366/1.621, allocations: 179.5 kB / 1.176 GB, free: 10.5 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003136/1.621, allocations: 51.92 kB / 1.176 GB, free: 10.45 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/1.621, allocations: 13.92 kB / 1.176 GB, free: 10.43 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004977/1.626, allocations: 1.666 MB / 1.177 GB, free: 8.766 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-05/1.626, allocations: 16.03 kB / 1.177 GB, free: 8.75 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.2e-05/1.626, allocations: 16 kB / 1.177 GB, free: 8.734 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002658/1.629, allocations: 347.4 kB / 1.178 GB, free: 8.395 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.666e-05/1.629, allocations: 23.92 kB / 1.178 GB, free: 8.371 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001748/1.631, allocations: 119.8 kB / 1.178 GB, free: 8.254 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002597/1.631, allocations: 51.98 kB / 1.178 GB, free: 8.203 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 14} * Non-linear torn systems: 1 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004528/1.632, allocations: 128.7 kB / 1.178 GB, free: 8.07 MB / 0.7917 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01252/1.644, allocations: 2.861 MB / 1.181 GB, free: 5.188 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004965/1.645, allocations: 86.97 kB / 1.181 GB, free: 5.102 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01305/1.658, allocations: 2.991 MB / 1.184 GB, free: 2.09 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.96e-05/1.658, allocations: 8 kB / 1.184 GB, free: 2.082 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.185e-05/1.658, allocations: 4 kB / 1.184 GB, free: 2.078 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.446e-05/1.658, allocations: 3.984 kB / 1.184 GB, free: 2.074 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01933/1.677, allocations: 5.29 MB / 1.189 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.89e-05/1.677, allocations: 4 kB / 1.189 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000947/1.678, allocations: 107.8 kB / 1.189 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01041/1.689, allocations: 1.615 MB / 1.191 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001974/1.689, allocations: 4 kB / 1.191 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02365/1.713, allocations: 9.144 MB / 1.2 GB, free: 1.574 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.307e-05/1.713, allocations: 7.938 kB / 1.2 GB, free: 1.566 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01251/1.725, allocations: 2.978 MB / 1.202 GB, free: 14.49 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001206/1.727, allocations: 324 kB / 1.203 GB, free: 14.15 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003743/1.727, allocations: 7.953 kB / 1.203 GB, free: 14.14 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002322/1.729, allocations: 175.7 kB / 1.203 GB, free: 13.97 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004571/1.73, allocations: 60.42 kB / 1.203 GB, free: 13.91 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001146/1.73, allocations: 20 kB / 1.203 GB, free: 13.89 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001439/1.731, allocations: 0.5849 MB / 1.204 GB, free: 13.31 MB / 0.823 GB Notification: Performance of sort global known variables: time 9.02e-07/1.731, allocations: 0 / 1.204 GB, free: 13.31 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.004023/1.735, allocations: 0.6171 MB / 1.204 GB, free: 12.7 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 42 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 13} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0152/1.751, allocations: 4.169 MB / 1.208 GB, free: 8.434 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01485/1.766, allocations: 2.911 MB / 1.211 GB, free: 5.512 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.58e-05/1.766, allocations: 2.438 kB / 1.211 GB, free: 5.512 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.007223/1.773, allocations: 1.336 MB / 1.212 GB, free: 4.156 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002855/1.776, allocations: 216.1 kB / 1.213 GB, free: 3.945 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01731/1.793, allocations: 3.307 MB / 1.216 GB, free: 0.5625 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004756/1.798, allocations: 1.751 MB / 1.218 GB, free: 14.78 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.005325/1.803, allocations: 0.6353 MB / 1.218 GB, free: 14.14 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002102/1.806, allocations: 0.4954 MB / 1.219 GB, free: 13.65 MB / 0.8386 GB Notification: Performance of SimCode: time 2.625e-06/1.806, allocations: 0 / 1.219 GB, free: 13.65 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7232/2.529, allocations: 36 MB / 1.254 GB, free: 257.1 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002715/2.529, allocations: 174.4 kB / 1.254 GB, free: 257 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.502/6.031, allocations: 1.875 kB / 1.254 GB, free: 257 MB / 0.8542 GB