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.153/2.153, 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.001461/0.001461, allocations: 182.4 kB / 315.4 MB, free: 3.977 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.039/2.039, allocations: 205.3 MB / 0.5662 GB, free: 0.5977 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.001085/0.001085, allocations: 94.39 kB / 0.6704 GB, free: 5.801 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.464e-05/2.461e-05, allocations: 4 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2082, allocations: 106.2 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9458/1.154, allocations: 203.3 MB / 1.083 GB, free: 2.766 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003793/1.155, allocations: 97.08 kB / 1.083 GB, free: 2.711 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3625/1.517, allocations: 84.85 MB / 1.166 GB, free: 6.391 MB / 0.7761 GB Notification: Performance of FrontEnd: time 3.366e-06/1.517, allocations: 0 / 1.166 GB, free: 6.391 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0003687/1.518, allocations: 43.94 kB / 1.166 GB, free: 6.348 MB / 0.7761 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.00897/1.527, allocations: 1.63 MB / 1.167 GB, free: 4.668 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 6.474e-05/1.527, allocations: 12.03 kB / 1.167 GB, free: 4.656 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0324/1.559, allocations: 1.948 MB / 1.169 GB, free: 2.703 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01435/1.574, allocations: 2.067 MB / 1.171 GB, free: 0.5781 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001299/1.574, allocations: 36 kB / 1.171 GB, free: 0.543 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009665/1.575, allocations: 75.89 kB / 1.171 GB, free: 480 kB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007759/1.582, allocations: 1.645 MB / 1.173 GB, free: 14.82 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007432/1.59, allocations: 2.053 MB / 1.175 GB, free: 12.58 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.517e-05/1.59, allocations: 11.88 kB / 1.175 GB, free: 12.57 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003978/1.591, allocations: 11.94 kB / 1.175 GB, free: 12.56 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000188/1.591, allocations: 90.28 kB / 1.175 GB, free: 12.47 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02829/1.619, allocations: 10.43 MB / 1.185 GB, free: 1.461 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004243/1.623, allocations: 1.479 MB / 1.187 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002143/1.626, allocations: 0.8761 MB / 1.187 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001142/1.626, allocations: 8.781 kB / 1.187 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.443e-05/1.626, allocations: 55.23 kB / 1.188 GB, free: 15 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=89): time 3.577e-06/1.626, allocations: 0 / 1.188 GB, free: 15 MB / 0.8073 GB Notification: Performance of matching and sorting (n=153): time 0.0323/1.658, allocations: 6.903 MB / 1.194 GB, free: 8.055 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000146/1.658, allocations: 222.9 kB / 1.195 GB, free: 7.789 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001986/1.66, allocations: 0.8129 MB / 1.195 GB, free: 6.969 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0004456/1.661, allocations: 29.7 kB / 1.195 GB, free: 6.934 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007986/1.662, allocations: 0.7425 MB / 1.196 GB, free: 6.18 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007705/1.662, allocations: 0.4965 MB / 1.197 GB, free: 5.676 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002059/1.663, allocations: 0 / 1.197 GB, free: 5.676 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001975/1.663, allocations: 365.9 kB / 1.197 GB, free: 5.312 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002611/1.665, allocations: 1.093 MB / 1.198 GB, free: 4.219 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002884/1.668, allocations: 1.368 MB / 1.199 GB, free: 2.742 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003387/1.672, allocations: 1.264 MB / 1.201 GB, free: 1.48 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.278e-06/1.672, allocations: 0 / 1.201 GB, free: 1.48 MB / 0.8073 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.01886/1.691, allocations: 4.442 MB / 1.205 GB, free: 13 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.665e-05/1.691, allocations: 8 kB / 1.205 GB, free: 12.99 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.94e-05/1.691, allocations: 4 kB / 1.205 GB, free: 12.99 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01539/1.706, allocations: 2.092 MB / 1.207 GB, free: 10.88 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003846/1.71, allocations: 411.3 kB / 1.207 GB, free: 10.47 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04754/1.758, allocations: 21.76 MB / 1.229 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005098/1.763, allocations: 291.5 kB / 1.229 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005211/1.763, allocations: 63.97 kB / 1.229 GB, free: 3.449 MB / 0.8386 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.0005707/1.764, allocations: 128.7 kB / 1.229 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0186/1.783, allocations: 4.231 MB / 1.233 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001099/1.784, allocations: 162.1 kB / 1.233 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01951/1.803, allocations: 4.519 MB / 1.238 GB, free: 10.33 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.684e-05/1.803, allocations: 16 kB / 1.238 GB, free: 10.32 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.557e-05/1.803, allocations: 20.19 kB / 1.238 GB, free: 10.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.433e-05/1.804, allocations: 7.969 kB / 1.238 GB, free: 10.29 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02497/1.829, allocations: 6.564 MB / 1.244 GB, free: 3.617 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.91e-05/1.829, allocations: 4.031 kB / 1.244 GB, free: 3.613 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003369/1.832, allocations: 363.8 kB / 1.245 GB, free: 3.258 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01425/1.846, allocations: 1.948 MB / 1.246 GB, free: 1.289 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003752/1.847, allocations: 19.95 kB / 1.246 GB, free: 1.27 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6413/2.488, allocations: 20.88 MB / 1.267 GB, free: 239.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.395e-05/2.488, allocations: 9.453 kB / 1.267 GB, free: 239.6 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01725/2.505, allocations: 4.31 MB / 1.271 GB, free: 239 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001945/2.507, allocations: 498 kB / 1.272 GB, free: 238.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006672/2.508, allocations: 5.734 kB / 1.272 GB, free: 238.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004806/2.513, allocations: 304.1 kB / 1.272 GB, free: 238.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009917/2.514, allocations: 153.1 kB / 1.272 GB, free: 238.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002963/2.514, allocations: 55.61 kB / 1.272 GB, free: 238.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001516/2.516, allocations: 0.6092 MB / 1.273 GB, free: 238.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.91e-07/2.516, allocations: 0 / 1.273 GB, free: 238.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.004341/2.52, allocations: 0.6297 MB / 1.273 GB, free: 238.7 MB / 0.8542 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.01857/2.539, allocations: 5.665 MB / 1.279 GB, free: 236.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01245/2.551, allocations: 4.173 MB / 1.283 GB, free: 235.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.165e-05/2.551, allocations: 4.641 kB / 1.283 GB, free: 235.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.009087/2.56, allocations: 2.813 MB / 1.286 GB, free: 234.9 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004027/2.564, allocations: 434.3 kB / 1.286 GB, free: 234.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01279/2.577, allocations: 3.438 MB / 1.289 GB, free: 234.2 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001927/2.579, allocations: 1.605 MB / 1.291 GB, free: 233.4 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.003091/2.582, allocations: 383.8 kB / 1.291 GB, free: 233.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001772/2.584, allocations: 0.6616 MB / 1.292 GB, free: 233.4 MB / 0.8542 GB Notification: Performance of SimCode: time 2.154e-06/2.584, allocations: 3.5 kB / 1.292 GB, free: 233.4 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1544/2.739, allocations: 54.34 MB / 1.345 GB, free: 226.3 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002623/2.739, allocations: 160.7 kB / 1.345 GB, free: 226.1 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.283/7.022, allocations: 0 / 1.345 GB, free: 226.1 MB / 0.8542 GB