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.144/2.144, allocations: 251 MB / 265.9 MB, free: 11.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0015/0.0015, allocations: 182.2 kB / 325.5 MB, free: 2.902 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.462/2.462, allocations: 205.4 MB / 0.5764 GB, free: 21.22 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.001104/0.001104, allocations: 111 kB / 0.6809 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004932/0.0004932, allocations: 11.56 kB / 0.7951 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2212/0.2217, allocations: 106.3 MB / 0.8988 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9465/1.168, allocations: 185.3 MB / 1.08 GB, free: 66.95 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004932/1.169, allocations: 97.98 kB / 1.08 GB, free: 66.95 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2376/1.406, allocations: 64.05 MB / 1.142 GB, free: 48.96 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.109e-05/1.407, allocations: 0 / 1.142 GB, free: 48.96 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001604/1.407, allocations: 35.06 kB / 1.142 GB, free: 48.95 MB / 0.698 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.006637/1.413, allocations: 1.661 MB / 1.144 GB, free: 47.89 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.572e-05/1.413, allocations: 7.812 kB / 1.144 GB, free: 47.89 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00136/1.415, allocations: 252.7 kB / 1.144 GB, free: 47.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004901/1.42, allocations: 0.5022 MB / 1.145 GB, free: 47.57 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00401/1.424, allocations: 1.143 MB / 1.146 GB, free: 47.08 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001591/1.424, allocations: 111.4 kB / 1.146 GB, free: 47.08 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008822/1.425, allocations: 151.6 kB / 1.146 GB, free: 47.07 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008085/1.433, allocations: 2.48 MB / 1.149 GB, free: 46.38 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.384e-05/1.433, allocations: 7.75 kB / 1.149 GB, free: 46.38 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004202/1.434, allocations: 62.25 kB / 1.149 GB, free: 46.38 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001385/1.434, allocations: 85.38 kB / 1.149 GB, free: 46.36 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006645/1.44, allocations: 2.041 MB / 1.151 GB, free: 46.03 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01957/1.46, allocations: 10.52 MB / 1.161 GB, free: 38.84 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001656/1.462, allocations: 0.5802 MB / 1.162 GB, free: 38.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001952/1.462, allocations: 92.83 kB / 1.162 GB, free: 38.59 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/1.462, allocations: 42.03 kB / 1.162 GB, free: 38.55 MB / 0.698 GB Notification: Performance of pre-optimization done (n=36): time 3.336e-06/1.462, allocations: 0 / 1.162 GB, free: 38.55 MB / 0.698 GB Notification: Performance of matching and sorting (n=52): time 0.02936/1.491, allocations: 5.701 MB / 1.167 GB, free: 36.37 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.518e-05/1.492, allocations: 89.3 kB / 1.167 GB, free: 36.28 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001693/1.493, allocations: 0.8111 MB / 1.168 GB, free: 36.01 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002023/1.494, allocations: 40.67 kB / 1.168 GB, free: 35.98 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005305/1.494, allocations: 0.7561 MB / 1.169 GB, free: 35.45 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002629/1.494, allocations: 188.9 kB / 1.169 GB, free: 35.31 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001411/1.495, allocations: 21.72 kB / 1.169 GB, free: 35.31 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001843/1.495, allocations: 386.7 kB / 1.17 GB, free: 34.97 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001672/1.496, allocations: 0.6425 MB / 1.17 GB, free: 34.85 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001862/1.498, allocations: 1.001 MB / 1.171 GB, free: 34.26 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002088/1.501, allocations: 0.8161 MB / 1.172 GB, free: 34.11 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.548e-05/1.501, allocations: 0 / 1.172 GB, free: 34.11 MB / 0.698 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.01283/1.513, allocations: 2.928 MB / 1.175 GB, free: 33.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001038/1.515, allocations: 4.536 MB / 1.179 GB, free: 28.42 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.202e-05/1.515, allocations: 11 kB / 1.179 GB, free: 28.42 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01086/1.526, allocations: 1.562 MB / 1.181 GB, free: 27.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001661/1.527, allocations: 228.3 kB / 1.181 GB, free: 27.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01296/1.54, allocations: 7.11 MB / 1.188 GB, free: 23.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002732/1.543, allocations: 165.2 kB / 1.188 GB, free: 23.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002885/1.543, allocations: 45.7 kB / 1.188 GB, free: 23.23 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/1.543, allocations: 7.844 kB / 1.188 GB, free: 23.22 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01416/1.558, allocations: 2.405 MB / 1.19 GB, free: 22.55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.57e-05/1.558, allocations: 9.938 kB / 1.19 GB, free: 22.55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009904/1.568, allocations: 1.015 MB / 1.191 GB, free: 21.75 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00243/1.57, allocations: 249.5 kB / 1.192 GB, free: 21.51 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0166/1.587, allocations: 5.597 MB / 1.197 GB, free: 16.41 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002514/1.589, allocations: 139.8 kB / 1.197 GB, free: 16.28 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002085/1.59, allocations: 44 kB / 1.197 GB, free: 16.23 MB / 0.698 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 () * Number of clocked 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.002658/1.592, allocations: 0.8455 MB / 1.198 GB, free: 15.38 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004528/1.593, allocations: 75.06 kB / 1.198 GB, free: 15.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01719/1.61, allocations: 2.473 MB / 1.201 GB, free: 12.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.826e-05/1.61, allocations: 4 kB / 1.201 GB, free: 12.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.275e-05/1.61, allocations: 4 kB / 1.201 GB, free: 12.79 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.341e-05/1.61, allocations: 7.922 kB / 1.201 GB, free: 12.79 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01534/1.625, allocations: 4.298 MB / 1.205 GB, free: 8.395 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.451e-05/1.626, allocations: 0 / 1.205 GB, free: 8.395 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007988/1.626, allocations: 108.1 kB / 1.205 GB, free: 8.289 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01021/1.637, allocations: 1.497 MB / 1.206 GB, free: 6.777 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000162/1.637, allocations: 16 kB / 1.206 GB, free: 6.762 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.019/1.656, allocations: 9.915 MB / 1.216 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/1.656, allocations: 8.062 kB / 1.216 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01179/1.668, allocations: 2.533 MB / 1.219 GB, free: 9.668 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001025/1.669, allocations: 284 kB / 1.219 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002134/1.669, allocations: 15.95 kB / 1.219 GB, free: 9.355 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001412/1.67, allocations: 123.8 kB / 1.219 GB, free: 9.234 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003688/1.671, allocations: 47.69 kB / 1.219 GB, free: 9.188 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.887e-05/1.671, allocations: 16 kB / 1.219 GB, free: 9.172 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001573/1.672, allocations: 0.6356 MB / 1.22 GB, free: 8.543 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.092e-06/1.672, allocations: 0 / 1.22 GB, free: 8.543 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003383/1.676, allocations: 0.6094 MB / 1.22 GB, free: 7.934 MB / 0.7136 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 () * Number of clocked 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.01292/1.689, allocations: 3.72 MB / 1.224 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0101/1.699, allocations: 3.093 MB / 1.227 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/1.699, allocations: 0 / 1.227 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.003707/1.703, allocations: 1.284 MB / 1.228 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001844/1.705, allocations: 212.6 kB / 1.228 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03962/1.744, allocations: 17.16 MB / 1.245 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003943/1.748, allocations: 1.649 MB / 1.247 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.003701/1.752, allocations: 490.4 kB / 1.247 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002154/1.754, allocations: 483.3 kB / 1.248 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of SimCode: time 2.355e-06/1.754, allocations: 0 / 1.248 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1245/1.879, allocations: 33.51 MB / 1.28 GB, free: 10.1 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003813/1.879, allocations: 246.9 kB / 1.281 GB, free: 9.859 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.235/5.114, allocations: 6.188 kB / 1.281 GB, free: 9.855 MB / 0.7761 GB