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.248/2.248, allocations: 248.5 MB / 261 MB, free: 6.008 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.001469/0.001468, allocations: 174.7 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.058/2.058, allocations: 205.2 MB / 0.571 GB, free: 11.75 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.001077/0.001077, allocations: 100.4 kB / 0.6754 GB, free: 0.8359 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.527e-05/4.545e-05, allocations: 4 kB / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2048/0.2049, allocations: 106.2 MB / 0.8907 GB, free: 7.445 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.002/1.207, allocations: 186.1 MB / 1.072 GB, free: 15.51 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003576/1.208, allocations: 100 kB / 1.073 GB, free: 15.46 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2748/1.482, allocations: 66.43 MB / 1.137 GB, free: 3.242 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.428e-06/1.482, allocations: 3.984 kB / 1.137 GB, free: 3.238 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0002298/1.483, allocations: 39.98 kB / 1.137 GB, free: 3.199 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.01017/1.493, allocations: 1.683 MB / 1.139 GB, free: 1.465 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 7.163e-05/1.493, allocations: 12.03 kB / 1.139 GB, free: 1.453 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001591/1.495, allocations: 256.7 kB / 1.139 GB, free: 1.191 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009106/1.504, allocations: 0.6651 MB / 1.14 GB, free: 0.5234 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006954/1.511, allocations: 1.235 MB / 1.141 GB, free: 15.24 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002694/1.511, allocations: 127 kB / 1.141 GB, free: 15.12 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001165/1.512, allocations: 159.8 kB / 1.141 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009769/1.522, allocations: 2.601 MB / 1.144 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.139e-05/1.522, allocations: 4 kB / 1.144 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003389/1.523, allocations: 67.98 kB / 1.144 GB, free: 12.23 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00017/1.523, allocations: 91.22 kB / 1.144 GB, free: 12.14 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007122/1.53, allocations: 2.148 MB / 1.146 GB, free: 9.988 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02342/1.553, allocations: 10.9 MB / 1.157 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002057/1.556, allocations: 0.7342 MB / 1.158 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001293/1.557, allocations: 0.5208 MB / 1.158 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002121/1.557, allocations: 93.47 kB / 1.158 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.749e-05/1.557, allocations: 34.94 kB / 1.158 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=46): time 3.356e-06/1.557, allocations: 4 kB / 1.158 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of matching and sorting (n=72): time 0.04059/1.598, allocations: 7.159 MB / 1.165 GB, free: 5.598 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.953e-05/1.598, allocations: 85.89 kB / 1.165 GB, free: 5.496 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001992/1.6, allocations: 0.8472 MB / 1.166 GB, free: 4.645 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0002435/1.6, allocations: 41.64 kB / 1.166 GB, free: 4.598 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007847/1.601, allocations: 0.7737 MB / 1.167 GB, free: 3.809 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004394/1.601, allocations: 256.3 kB / 1.167 GB, free: 3.555 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001699/1.602, allocations: 20 kB / 1.167 GB, free: 3.535 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000298/1.602, allocations: 402.7 kB / 1.168 GB, free: 3.133 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001914/1.604, allocations: 0.7561 MB / 1.168 GB, free: 2.379 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00232/1.606, allocations: 1.125 MB / 1.169 GB, free: 1.094 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002327/1.609, allocations: 0.9661 MB / 1.17 GB, free: 128 kB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.325e-05/1.609, allocations: 4 kB / 1.17 GB, free: 124 kB / 0.7761 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.01401/1.623, allocations: 3.396 MB / 1.174 GB, free: 12.71 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.002129/1.625, allocations: 4.269 MB / 1.178 GB, free: 8.105 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.204e-05/1.625, allocations: 12 kB / 1.178 GB, free: 8.094 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01128/1.636, allocations: 1.748 MB / 1.18 GB, free: 6.336 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001743/1.638, allocations: 227.6 kB / 1.18 GB, free: 6.113 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01854/1.657, allocations: 7.283 MB / 1.187 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002408/1.659, allocations: 183.6 kB / 1.187 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003049/1.659, allocations: 52 kB / 1.187 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/1.659, allocations: 4 kB / 1.187 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01087/1.67, allocations: 2.731 MB / 1.19 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.106e-05/1.67, allocations: 12 kB / 1.19 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006454/1.677, allocations: 1.033 MB / 1.191 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002215/1.679, allocations: 295.5 kB / 1.191 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01612/1.695, allocations: 6.071 MB / 1.197 GB, free: 4.152 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002091/1.697, allocations: 155.7 kB / 1.197 GB, free: 4 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002225/1.698, allocations: 47.98 kB / 1.197 GB, free: 3.953 MB / 0.8073 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.0004796/1.698, allocations: 172.6 kB / 1.197 GB, free: 3.777 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003221/1.699, allocations: 86.97 kB / 1.197 GB, free: 3.691 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.013/1.712, allocations: 2.999 MB / 1.2 GB, free: 0.6758 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.009e-05/1.712, allocations: 8 kB / 1.2 GB, free: 0.668 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/1.712, allocations: 4 kB / 1.2 GB, free: 0.6641 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.889e-05/1.712, allocations: 3.984 kB / 1.2 GB, free: 0.6602 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01981/1.731, allocations: 5.57 MB / 1.206 GB, free: 10.97 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.686e-05/1.732, allocations: 0 / 1.206 GB, free: 10.97 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009174/1.732, allocations: 112.1 kB / 1.206 GB, free: 10.86 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0104/1.743, allocations: 1.639 MB / 1.208 GB, free: 9.215 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001876/1.743, allocations: 15.94 kB / 1.208 GB, free: 9.199 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02332/1.766, allocations: 9.455 MB / 1.217 GB, free: 15.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/1.767, allocations: 96 / 1.217 GB, free: 15.48 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01207/1.779, allocations: 2.962 MB / 1.22 GB, free: 12.42 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001126/1.78, allocations: 339.8 kB / 1.22 GB, free: 12.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002363/1.78, allocations: 12 kB / 1.22 GB, free: 12.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00156/1.782, allocations: 139.8 kB / 1.22 GB, free: 11.92 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003721/1.782, allocations: 68.44 kB / 1.22 GB, free: 11.85 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.908e-05/1.782, allocations: 20 kB / 1.22 GB, free: 11.83 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001513/1.784, allocations: 0.6669 MB / 1.221 GB, free: 11.17 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4.91e-07/1.784, allocations: 0 / 1.221 GB, free: 11.17 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.003447/1.787, allocations: 0.6953 MB / 1.222 GB, free: 10.47 MB / 0.8386 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.01304/1.8, allocations: 4.157 MB / 1.226 GB, free: 6.227 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.01193/1.812, allocations: 3.611 MB / 1.229 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/1.812, allocations: 0 / 1.229 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.004534/1.817, allocations: 1.38 MB / 1.231 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001917/1.819, allocations: 238.7 kB / 1.231 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0117/1.83, allocations: 3.399 MB / 1.234 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005056/1.836, allocations: 1.755 MB / 1.236 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.005002/1.841, allocations: 0.6513 MB / 1.236 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001677/1.842, allocations: 0.507 MB / 1.237 GB, free: 10.54 MB / 0.8542 GB Notification: Performance of SimCode: time 4.739e-06/1.842, allocations: 4 kB / 1.237 GB, free: 10.53 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7356/2.578, allocations: 41.12 MB / 1.277 GB, free: 269.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002058/2.578, allocations: 214.2 kB / 1.277 GB, free: 269.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.457/6.035, allocations: 1.062 kB / 1.277 GB, free: 269.6 MB / 0.8698 GB