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.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,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid",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.171/2.171, allocations: 248.7 MB / 256.2 MB, free: 7.012 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.002482/0.002482, allocations: 174.9 kB / 315.4 MB, free: 4.035 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.073/2.073, allocations: 205.3 MB / 0.5662 GB, free: 0.6406 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.001094/0.001094, allocations: 92.36 kB / 0.6704 GB, free: 5.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.431e-05/2.429e-05, allocations: 8 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2002/0.2002, allocations: 106.2 MB / 0.8841 GB, free: 13.01 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9391/1.139, allocations: 185.5 MB / 1.065 GB, free: 4.035 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003601/1.14, allocations: 98.31 kB / 1.065 GB, free: 3.98 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.263/1.403, allocations: 63.46 MB / 1.127 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.543e-06/1.403, allocations: 0 / 1.127 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001442/1.403, allocations: 35.94 kB / 1.127 GB, free: 13.95 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: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.006452/1.409, allocations: 1.562 MB / 1.129 GB, free: 12.33 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/1.41, allocations: 12.03 kB / 1.129 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004656/1.414, allocations: 497.4 kB / 1.129 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004056/1.418, allocations: 1.149 MB / 1.13 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.992e-05/1.418, allocations: 52 kB / 1.131 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005507/1.419, allocations: 95.98 kB / 1.131 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005895/1.425, allocations: 1.767 MB / 1.132 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007286/1.432, allocations: 2.214 MB / 1.135 GB, free: 6.449 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.844e-05/1.432, allocations: 3.906 kB / 1.135 GB, free: 6.445 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002509/1.433, allocations: 4 kB / 1.135 GB, free: 6.441 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001716/1.433, allocations: 83.06 kB / 1.135 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02029/1.453, allocations: 10.11 MB / 1.144 GB, free: 11.38 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00152/1.455, allocations: 0.5491 MB / 1.145 GB, free: 10.82 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009076/1.456, allocations: 368.6 kB / 1.145 GB, free: 10.46 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001899/1.456, allocations: 93.08 kB / 1.145 GB, free: 10.35 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.168e-05/1.456, allocations: 34.56 kB / 1.145 GB, free: 10.3 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=36): time 5.34e-06/1.456, allocations: 4 kB / 1.145 GB, free: 10.3 MB / 0.7605 GB Notification: Performance of matching and sorting (n=52): time 0.015/1.471, allocations: 3.151 MB / 1.149 GB, free: 7.125 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/1.471, allocations: 85.55 kB / 1.149 GB, free: 7.023 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001581/1.473, allocations: 0.7257 MB / 1.149 GB, free: 6.289 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0001676/1.473, allocations: 25.7 kB / 1.149 GB, free: 6.258 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007412/1.474, allocations: 0.7615 MB / 1.15 GB, free: 5.484 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002988/1.474, allocations: 177.4 kB / 1.15 GB, free: 5.309 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.935e-05/1.474, allocations: 0 / 1.15 GB, free: 5.309 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002352/1.474, allocations: 390.7 kB / 1.151 GB, free: 4.918 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001368/1.476, allocations: 0.5804 MB / 1.151 GB, free: 4.34 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001689/1.477, allocations: 0.9378 MB / 1.152 GB, free: 3.23 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00239/1.48, allocations: 0.8334 MB / 1.153 GB, free: 2.395 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.464e-05/1.48, allocations: 4 kB / 1.153 GB, free: 2.391 MB / 0.7605 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.01154/1.491, allocations: 2.578 MB / 1.155 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.002035/1.494, allocations: 4.525 MB / 1.16 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.401e-05/1.494, allocations: 15.98 kB / 1.16 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008236/1.502, allocations: 1.084 MB / 1.161 GB, free: 9.801 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001717/1.504, allocations: 219.6 kB / 1.161 GB, free: 9.586 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01288/1.517, allocations: 6.545 MB / 1.168 GB, free: 2.746 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002165/1.519, allocations: 147.5 kB / 1.168 GB, free: 2.602 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000166/1.519, allocations: 52.05 kB / 1.168 GB, free: 2.551 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/1.519, allocations: 4 kB / 1.168 GB, free: 2.547 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003714/1.523, allocations: 1.271 MB / 1.169 GB, free: 1.277 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.525e-05/1.523, allocations: 16.25 kB / 1.169 GB, free: 1.262 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.482e-05/1.523, allocations: 20 kB / 1.169 GB, free: 1.242 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002062/1.525, allocations: 283.5 kB / 1.169 GB, free: 0.9648 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.322e-05/1.525, allocations: 23.92 kB / 1.169 GB, free: 0.9414 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001387/1.526, allocations: 99.86 kB / 1.169 GB, free: 0.8438 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001196/1.526, allocations: 43.98 kB / 1.169 GB, free: 0.8008 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 95 * 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: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003817/1.527, allocations: 136.6 kB / 1.17 GB, free: 0.6602 MB / 0.7761 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01089/1.538, allocations: 2.156 MB / 1.172 GB, free: 14.48 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005487/1.538, allocations: 79.11 kB / 1.172 GB, free: 14.4 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0152/1.554, allocations: 2.262 MB / 1.174 GB, free: 12.12 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.782e-05/1.554, allocations: 8 kB / 1.174 GB, free: 12.11 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.277e-05/1.554, allocations: 0 / 1.174 GB, free: 12.11 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.526e-05/1.554, allocations: 3.984 kB / 1.174 GB, free: 12.11 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02044/1.574, allocations: 3.885 MB / 1.178 GB, free: 8.117 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-05/1.574, allocations: 0 / 1.178 GB, free: 8.117 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001196/1.575, allocations: 108.1 kB / 1.178 GB, free: 8.012 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01245/1.588, allocations: 1.349 MB / 1.179 GB, free: 6.645 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001826/1.588, allocations: 11.94 kB / 1.179 GB, free: 6.633 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02445/1.613, allocations: 9.116 MB / 1.188 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.115e-06/1.613, allocations: 0 / 1.188 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01442/1.627, allocations: 2.326 MB / 1.19 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001237/1.628, allocations: 276.1 kB / 1.191 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003873/1.629, allocations: 4 kB / 1.191 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002825/1.632, allocations: 151.7 kB / 1.191 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004285/1.632, allocations: 51.88 kB / 1.191 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001216/1.632, allocations: 23.94 kB / 1.191 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001728/1.634, allocations: 0.5576 MB / 1.191 GB, free: 9.551 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7.81e-07/1.634, allocations: 0 / 1.191 GB, free: 9.551 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.004771/1.639, allocations: 0.5429 MB / 1.192 GB, free: 9.008 MB / 0.8073 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 (42): * Single equations (assignments): 38 * 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: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.01567/1.655, allocations: 3.527 MB / 1.195 GB, free: 5.387 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.009419/1.664, allocations: 2.349 MB / 1.198 GB, free: 3.016 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.175e-05/1.664, allocations: 0 / 1.198 GB, free: 3.016 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.004452/1.669, allocations: 1.186 MB / 1.199 GB, free: 1.789 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002334/1.671, allocations: 188.1 kB / 1.199 GB, free: 1.609 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01289/1.684, allocations: 2.841 MB / 1.202 GB, free: 14.7 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003906/1.688, allocations: 1.642 MB / 1.203 GB, free: 13.02 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.004548/1.693, allocations: 0.5839 MB / 1.204 GB, free: 12.43 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001734/1.694, allocations: 475.3 kB / 1.204 GB, free: 11.97 MB / 0.823 GB Notification: Performance of SimCode: time 2.033e-06/1.694, allocations: 0 / 1.204 GB, free: 11.97 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1091/1.803, allocations: 29.76 MB / 1.233 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002534/1.804, allocations: 167.2 kB / 1.234 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.435/5.239, allocations: 4.031 kB / 1.234 GB, free: 14.09 MB / 0.8542 GB