Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",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.207/2.207, allocations: 248.5 MB / 261 MB, free: 6.043 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.00209/0.00209, allocations: 182.9 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 1.934/1.934, allocations: 205.2 MB / 0.571 GB, free: 11.82 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.001512/0.001512, allocations: 98.42 kB / 0.6754 GB, free: 0.9141 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.81e-05/4.831e-05, allocations: 4 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.228, allocations: 106.3 MB / 0.8907 GB, free: 7.461 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9795/1.208, allocations: 203.1 MB / 1.089 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003295/1.208, allocations: 94.62 kB / 1.089 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.3602/1.568, allocations: 85.33 MB / 1.172 GB, free: 15.24 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.943e-06/1.568, allocations: 4 kB / 1.172 GB, free: 15.23 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0002413/1.569, allocations: 47.92 kB / 1.172 GB, free: 15.19 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.006371/1.575, allocations: 1.624 MB / 1.174 GB, free: 13.52 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.678e-05/1.575, allocations: 8.031 kB / 1.174 GB, free: 13.51 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008288/1.576, allocations: 190.2 kB / 1.174 GB, free: 13.31 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02062/1.597, allocations: 1.956 MB / 1.176 GB, free: 11.35 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008825/1.605, allocations: 2.071 MB / 1.178 GB, free: 9.223 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00012/1.606, allocations: 86.31 kB / 1.178 GB, free: 9.137 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006149/1.606, allocations: 119.9 kB / 1.178 GB, free: 9.02 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006498/1.613, allocations: 2.221 MB / 1.181 GB, free: 6.609 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.803e-05/1.613, allocations: 11.94 kB / 1.181 GB, free: 6.598 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003311/1.613, allocations: 59.94 kB / 1.181 GB, free: 6.539 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001798/1.613, allocations: 90.28 kB / 1.181 GB, free: 6.449 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005549/1.619, allocations: 1.859 MB / 1.183 GB, free: 4.578 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02746/1.646, allocations: 10.72 MB / 1.193 GB, free: 9.273 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004485/1.651, allocations: 1.511 MB / 1.194 GB, free: 7.734 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002283/1.653, allocations: 0.8901 MB / 1.195 GB, free: 6.84 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001385/1.654, allocations: 8.781 kB / 1.195 GB, free: 6.828 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.726e-05/1.654, allocations: 51.28 kB / 1.195 GB, free: 6.77 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=89): time 3.817e-06/1.654, allocations: 0 / 1.195 GB, free: 6.77 MB / 0.8073 GB Notification: Performance of matching and sorting (n=153): time 0.09566/1.749, allocations: 13.7 MB / 1.209 GB, free: 9.016 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001438/1.749, allocations: 222.9 kB / 1.209 GB, free: 8.75 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002429/1.752, allocations: 1.003 MB / 1.21 GB, free: 7.738 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.00049/1.752, allocations: 49.7 kB / 1.21 GB, free: 7.684 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008961/1.753, allocations: 0.7361 MB / 1.211 GB, free: 6.941 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009732/1.754, allocations: 0.5121 MB / 1.211 GB, free: 6.422 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002605/1.755, allocations: 32 kB / 1.211 GB, free: 6.391 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001968/1.755, allocations: 361.9 kB / 1.212 GB, free: 6.031 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003114/1.758, allocations: 1.125 MB / 1.213 GB, free: 4.906 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003526/1.762, allocations: 1.403 MB / 1.214 GB, free: 3.402 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003538/1.765, allocations: 1.25 MB / 1.215 GB, free: 2.152 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.444e-05/1.765, allocations: 4 kB / 1.215 GB, free: 2.148 MB / 0.823 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.01993/1.785, allocations: 4.575 MB / 1.22 GB, free: 13.54 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.372e-05/1.785, allocations: 8.094 kB / 1.22 GB, free: 13.53 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.004e-05/1.785, allocations: 12 kB / 1.22 GB, free: 13.52 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01618/1.801, allocations: 2.122 MB / 1.222 GB, free: 11.37 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0039/1.805, allocations: 423.2 kB / 1.222 GB, free: 10.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04939/1.855, allocations: 22.49 MB / 1.244 GB, free: 3.402 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005296/1.86, allocations: 319.5 kB / 1.245 GB, free: 3.09 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005244/1.861, allocations: 67.97 kB / 1.245 GB, free: 3.023 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 70 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(3,100.0%) 17,(3,100.0%) 17,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(2,100.0%) 16,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006309/1.861, allocations: 184.7 kB / 1.245 GB, free: 2.836 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008881/1.862, allocations: 177.9 kB / 1.245 GB, free: 2.66 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01996/1.882, allocations: 4.65 MB / 1.249 GB, free: 13.96 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.079e-05/1.882, allocations: 23.95 kB / 1.249 GB, free: 13.94 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-05/1.882, allocations: 20 kB / 1.25 GB, free: 13.92 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.062e-05/1.882, allocations: 7.969 kB / 1.25 GB, free: 13.91 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0259/1.908, allocations: 6.865 MB / 1.256 GB, free: 6.926 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.171e-05/1.908, allocations: 4.031 kB / 1.256 GB, free: 6.922 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003417/1.912, allocations: 367.3 kB / 1.257 GB, free: 6.562 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01486/1.927, allocations: 1.979 MB / 1.259 GB, free: 4.562 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003645/1.927, allocations: 39.97 kB / 1.259 GB, free: 4.523 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6513/2.579, allocations: 21.68 MB / 1.28 GB, free: 252.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.574e-06/2.579, allocations: 7 kB / 1.28 GB, free: 252.1 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02284/2.601, allocations: 4.417 MB / 1.284 GB, free: 251.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002774/2.604, allocations: 0.5041 MB / 1.285 GB, free: 251.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001036/2.605, allocations: 32.94 kB / 1.285 GB, free: 251.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007265/2.613, allocations: 327.5 kB / 1.285 GB, free: 251.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001321/2.614, allocations: 152.8 kB / 1.285 GB, free: 251.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005291/2.615, allocations: 57.03 kB / 1.285 GB, free: 251.3 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.003652/2.618, allocations: 0.7769 MB / 1.286 GB, free: 251.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.954e-06/2.618, allocations: 0 / 1.286 GB, free: 251.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.006071/2.624, allocations: 0.7189 MB / 1.287 GB, free: 251.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 17,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 17,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02708/2.652, allocations: 5.803 MB / 1.292 GB, free: 249.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01267/2.664, allocations: 4.348 MB / 1.296 GB, free: 248.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.084e-05/2.664, allocations: 1.469 kB / 1.296 GB, free: 248.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.009091/2.673, allocations: 2.947 MB / 1.299 GB, free: 247.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004552/2.678, allocations: 0.4942 MB / 1.3 GB, free: 247.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01296/2.691, allocations: 3.582 MB / 1.303 GB, free: 246.5 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002074/2.693, allocations: 1.605 MB / 1.305 GB, free: 245.8 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.00315/2.696, allocations: 404.1 kB / 1.305 GB, free: 245.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001574/2.698, allocations: 0.6719 MB / 1.306 GB, free: 245.7 MB / 0.8698 GB Notification: Performance of SimCode: time 1.123e-06/2.698, allocations: 0 / 1.306 GB, free: 245.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1441/2.842, allocations: 58.99 MB / 1.364 GB, free: 235.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002042/2.842, allocations: 203.2 kB / 1.364 GB, free: 235.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.64/7.483, allocations: 8 kB / 1.364 GB, free: 235.7 MB / 0.8698 GB