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.195/2.195, allocations: 251 MB / 265.9 MB, free: 11.7 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.001529/0.001529, allocations: 186.5 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.394/2.394, allocations: 205.4 MB / 0.5764 GB, free: 20.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.001105/0.001106, allocations: 93.81 kB / 0.6809 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004966/0.0004967, allocations: 12 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.2245, allocations: 106.3 MB / 0.8988 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.03/1.254, allocations: 203.1 MB / 1.097 GB, free: 54.08 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003595/1.255, allocations: 104.8 kB / 1.097 GB, free: 54.07 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3843/1.639, allocations: 85.74 MB / 1.181 GB, free: 22.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.056e-06/1.639, allocations: 0 / 1.181 GB, free: 22.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001959/1.639, allocations: 43.75 kB / 1.181 GB, free: 22.86 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.006583/1.646, allocations: 1.871 MB / 1.183 GB, free: 21.08 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/1.646, allocations: 8.031 kB / 1.183 GB, free: 21.07 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009636/1.647, allocations: 195.8 kB / 1.183 GB, free: 20.95 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02017/1.667, allocations: 1.961 MB / 1.185 GB, free: 19.02 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00848/1.676, allocations: 2.085 MB / 1.187 GB, free: 17.29 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001217/1.676, allocations: 92.41 kB / 1.187 GB, free: 17.23 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006926/1.676, allocations: 117.1 kB / 1.187 GB, free: 17.16 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01036/1.687, allocations: 2.723 MB / 1.19 GB, free: 14.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.859e-05/1.687, allocations: 11.98 kB / 1.19 GB, free: 14.89 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003189/1.687, allocations: 58.72 kB / 1.19 GB, free: 14.87 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001462/1.687, allocations: 90.09 kB / 1.19 GB, free: 14.79 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01452/1.702, allocations: 2.842 MB / 1.193 GB, free: 12.61 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02542/1.727, allocations: 10.73 MB / 1.203 GB, free: 3.035 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01215/1.74, allocations: 2.387 MB / 1.206 GB, free: 1.129 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001899/1.74, allocations: 16.89 kB / 1.206 GB, free: 1.117 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.098e-05/1.74, allocations: 56.31 kB / 1.206 GB, free: 1.062 MB / 0.698 GB Notification: Performance of pre-optimization done (n=89): time 3.857e-06/1.74, allocations: 0 / 1.206 GB, free: 1.062 MB / 0.698 GB Notification: Performance of matching and sorting (n=153): time 0.1308/1.871, allocations: 17.33 MB / 1.223 GB, free: 56 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002004/1.871, allocations: 230.9 kB / 1.223 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002436/1.873, allocations: 1.013 MB / 1.224 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0004696/1.874, allocations: 53.7 kB / 1.224 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008372/1.875, allocations: 0.7359 MB / 1.225 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009709/1.876, allocations: 0.5079 MB / 1.225 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003146/1.876, allocations: 28 kB / 1.225 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002082/1.876, allocations: 369.9 kB / 1.225 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007065/1.883, allocations: 1.538 MB / 1.227 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007638/1.891, allocations: 1.832 MB / 1.229 GB, free: 9.59 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007536/1.899, allocations: 1.661 MB / 1.23 GB, free: 7.926 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.477e-06/1.899, allocations: 0 / 1.23 GB, free: 7.926 MB / 0.7292 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.02813/1.927, allocations: 5.405 MB / 1.236 GB, free: 2.48 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.787e-05/1.927, allocations: 8 kB / 1.236 GB, free: 2.473 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.27e-05/1.927, allocations: 8 kB / 1.236 GB, free: 2.465 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01647/1.944, allocations: 2.14 MB / 1.238 GB, free: 312 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003964/1.948, allocations: 411.4 kB / 1.238 GB, free: 15.9 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05199/2, allocations: 23.3 MB / 1.261 GB, free: 7.555 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005924/2.006, allocations: 327.5 kB / 1.261 GB, free: 7.234 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004521/2.006, allocations: 63.97 kB / 1.261 GB, free: 7.172 MB / 0.7605 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 () * Number of clocked 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.001603/2.008, allocations: 465.5 kB / 1.262 GB, free: 6.707 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008882/2.009, allocations: 181.9 kB / 1.262 GB, free: 6.527 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0284/2.037, allocations: 5.468 MB / 1.267 GB, free: 1.02 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.16e-05/2.037, allocations: 16 kB / 1.267 GB, free: 1.004 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-05/2.037, allocations: 24 kB / 1.267 GB, free: 0.9805 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.035e-05/2.037, allocations: 7.969 kB / 1.267 GB, free: 0.9727 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03498/2.072, allocations: 7.687 MB / 1.275 GB, free: 9.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-05/2.072, allocations: 4 kB / 1.275 GB, free: 9.176 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003429/2.076, allocations: 359.7 kB / 1.275 GB, free: 8.824 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01512/2.091, allocations: 1.999 MB / 1.277 GB, free: 6.805 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004252/2.091, allocations: 39.97 kB / 1.277 GB, free: 6.766 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04976/2.141, allocations: 22.5 MB / 1.299 GB, free: 15.21 MB / 0.8074 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/2.141, allocations: 4 kB / 1.299 GB, free: 15.21 MB / 0.8074 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02651/2.168, allocations: 5.235 MB / 1.304 GB, free: 9.812 MB / 0.8074 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00206/2.17, allocations: 0.5104 MB / 1.305 GB, free: 9.281 MB / 0.8074 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008253/2.171, allocations: 32 kB / 1.305 GB, free: 9.25 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004883/2.176, allocations: 331.5 kB / 1.305 GB, free: 8.926 MB / 0.8074 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009212/2.177, allocations: 149 kB / 1.305 GB, free: 8.777 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003051/2.177, allocations: 51.97 kB / 1.305 GB, free: 8.727 MB / 0.8074 GB Notification: Performance of sorting global known variables: time 0.002097/2.179, allocations: 0.7977 MB / 1.306 GB, free: 7.93 MB / 0.8074 GB Notification: Performance of sort global known variables: time 1.032e-06/2.179, allocations: 0 / 1.306 GB, free: 7.93 MB / 0.8074 GB Notification: Performance of remove unused functions: time 0.004571/2.184, allocations: 0.7187 MB / 1.307 GB, free: 7.211 MB / 0.8074 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 () * Number of clocked 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.02751/2.211, allocations: 6.626 MB / 1.313 GB, free: 464 kB / 0.8074 GB Notification: Performance of simCode: created initialization part: time 0.0221/2.233, allocations: 5.198 MB / 1.318 GB, free: 11.15 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.148e-05/2.234, allocations: 0 / 1.318 GB, free: 11.15 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.01413/2.248, allocations: 3.409 MB / 1.322 GB, free: 7.641 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004549/2.252, allocations: 0.4927 MB / 1.322 GB, free: 7.152 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06749/2.32, allocations: 20.3 MB / 1.342 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00243/2.322, allocations: 1.6 MB / 1.343 GB, free: 0.5156 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.003776/2.326, allocations: 398.7 kB / 1.344 GB, free: 124 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003575/2.33, allocations: 0.6764 MB / 1.345 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of SimCode: time 2.464e-06/2.33, allocations: 0 / 1.345 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8349/3.165, allocations: 59.18 MB / 1.402 GB, free: 267.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002658/3.165, allocations: 226.4 kB / 1.403 GB, free: 267.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.66/7.825, allocations: 0 / 1.403 GB, free: 267.4 MB / 0.8855 GB