Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.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.Loads.Examples.Loads_N,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N",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.348/2.348, allocations: 248.7 MB / 256.2 MB, free: 7.109 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.001504/0.001504, allocations: 179.6 kB / 315.4 MB, free: 4.008 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.06/2.06, allocations: 205.3 MB / 0.5662 GB, free: 0.5039 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.001127/0.001127, allocations: 98.16 kB / 0.6704 GB, free: 5.707 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.058e-05/3.072e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2122, allocations: 106.3 MB / 0.8841 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9746/1.187, allocations: 174.1 MB / 1.054 GB, free: 14.62 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003909/1.187, allocations: 97.55 kB / 1.054 GB, free: 14.57 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.4639/1.651, allocations: 111.4 MB / 1.163 GB, free: 8.887 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.395e-06/1.651, allocations: 0 / 1.163 GB, free: 8.887 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001896/1.651, allocations: 71.92 kB / 1.163 GB, free: 8.816 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: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.01037/1.662, allocations: 2.423 MB / 1.165 GB, free: 6.336 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.479e-05/1.662, allocations: 12.03 kB / 1.165 GB, free: 6.324 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006614/1.669, allocations: 0.6952 MB / 1.166 GB, free: 5.625 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006137/1.675, allocations: 1.605 MB / 1.168 GB, free: 3.977 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002174/1.675, allocations: 92 kB / 1.168 GB, free: 3.887 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0015/1.677, allocations: 164 kB / 1.168 GB, free: 3.727 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01092/1.688, allocations: 3.206 MB / 1.171 GB, free: 0.5156 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01502/1.703, allocations: 4.123 MB / 1.175 GB, free: 12.21 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001257/1.703, allocations: 11.84 kB / 1.175 GB, free: 12.2 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005421/1.703, allocations: 8 kB / 1.175 GB, free: 12.19 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003766/1.704, allocations: 184.6 kB / 1.175 GB, free: 12.01 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0421/1.746, allocations: 22.14 MB / 1.197 GB, free: 3.75 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005131/1.751, allocations: 1.525 MB / 1.198 GB, free: 2.188 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003/1.754, allocations: 1.001 MB / 1.199 GB, free: 1.176 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002383/1.754, allocations: 101.7 kB / 1.199 GB, free: 1.059 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.949e-05/1.754, allocations: 43.12 kB / 1.199 GB, free: 1.008 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=72): time 3.868e-06/1.754, allocations: 0 / 1.199 GB, free: 1.008 MB / 0.8073 GB Notification: Performance of matching and sorting (n=75): time 0.007512/1.762, allocations: 2.916 MB / 1.202 GB, free: 14.05 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/1.762, allocations: 145.3 kB / 1.202 GB, free: 13.88 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001727/1.764, allocations: 0.8083 MB / 1.203 GB, free: 13.06 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002126/1.764, allocations: 29.69 kB / 1.203 GB, free: 13.03 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001098/1.765, allocations: 1.2 MB / 1.204 GB, free: 11.81 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004814/1.766, allocations: 260.2 kB / 1.205 GB, free: 11.55 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/1.766, allocations: 0 / 1.205 GB, free: 11.55 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002417/1.766, allocations: 398.7 kB / 1.205 GB, free: 11.15 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00175/1.768, allocations: 0.7522 MB / 1.206 GB, free: 10.4 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002349/1.77, allocations: 1.234 MB / 1.207 GB, free: 8.941 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002954/1.773, allocations: 1.047 MB / 1.208 GB, free: 7.895 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.339e-05/1.773, allocations: 7.938 kB / 1.208 GB, free: 7.887 MB / 0.823 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.006718/1.78, allocations: 2.092 MB / 1.21 GB, free: 5.781 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.003631/1.784, allocations: 5.491 MB / 1.215 GB, free: 15.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.967e-05/1.784, allocations: 16 kB / 1.215 GB, free: 15.85 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.121e-05/1.784, allocations: 20 kB / 1.215 GB, free: 15.83 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005628/1.79, allocations: 423.2 kB / 1.216 GB, free: 15.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-05/1.79, allocations: 23.94 kB / 1.216 GB, free: 15.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004473/1.794, allocations: 239.2 kB / 1.216 GB, free: 15.16 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002971/1.794, allocations: 59.98 kB / 1.216 GB, free: 15.1 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/1.795, allocations: 4 kB / 1.216 GB, free: 15.09 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004575/1.799, allocations: 1.662 MB / 1.218 GB, free: 13.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.901e-05/1.799, allocations: 16 kB / 1.218 GB, free: 13.41 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.382e-05/1.799, allocations: 27.95 kB / 1.218 GB, free: 13.39 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002588/1.802, allocations: 363.9 kB / 1.218 GB, free: 13.03 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.648e-05/1.802, allocations: 31.86 kB / 1.218 GB, free: 13 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001881/1.804, allocations: 151.5 kB / 1.218 GB, free: 12.85 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001487/1.804, allocations: 56 kB / 1.218 GB, free: 12.8 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 156 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003931/1.804, allocations: 144.5 kB / 1.219 GB, free: 12.65 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003588/1.808, allocations: 1.415 MB / 1.22 GB, free: 11.22 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003047/1.808, allocations: 98.81 kB / 1.22 GB, free: 11.12 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003737/1.812, allocations: 1.487 MB / 1.222 GB, free: 9.625 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.58e-05/1.812, allocations: 8 kB / 1.222 GB, free: 9.617 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/1.812, allocations: 4 kB / 1.222 GB, free: 9.613 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.388e-05/1.812, allocations: 3.984 kB / 1.222 GB, free: 9.609 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01464/1.827, allocations: 6.514 MB / 1.228 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.866e-05/1.827, allocations: 9 kB / 1.228 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002069/1.829, allocations: 263.6 kB / 1.228 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.449e-05/1.829, allocations: 12 kB / 1.228 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.38e-05/1.829, allocations: 12 kB / 1.228 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-05/1.829, allocations: 19.92 kB / 1.228 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.54e-05/1.829, allocations: 11.94 kB / 1.228 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004185/1.833, allocations: 2.408 MB / 1.231 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00104/1.834, allocations: 371.6 kB / 1.231 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000222/1.835, allocations: 15.95 kB / 1.231 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001586/1.836, allocations: 119.8 kB / 1.231 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000215/1.836, allocations: 71.77 kB / 1.231 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001008/1.837, allocations: 35.98 kB / 1.231 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001222/1.838, allocations: 0.6045 MB / 1.232 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.81e-07/1.838, allocations: 0 / 1.232 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003826/1.842, allocations: 0.7617 MB / 1.232 GB, free: 13.83 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 78 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006111/1.848, allocations: 5.522 MB / 1.238 GB, free: 8.043 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00593/1.854, allocations: 2.526 MB / 1.24 GB, free: 5.516 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.437e-05/1.854, allocations: 3.938 kB / 1.24 GB, free: 5.512 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001666/1.856, allocations: 0.7057 MB / 1.241 GB, free: 4.809 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002314/1.858, allocations: 230.9 kB / 1.241 GB, free: 4.582 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01383/1.872, allocations: 4.523 MB / 1.246 GB, free: 15.89 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003461/1.875, allocations: 2.169 MB / 1.248 GB, free: 13.69 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003896/1.879, allocations: 0.7728 MB / 1.249 GB, free: 12.91 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002188/1.881, allocations: 0.7999 MB / 1.249 GB, free: 12.11 MB / 0.8698 GB Notification: Performance of SimCode: time 1.092e-06/1.881, allocations: 0 / 1.249 GB, free: 12.11 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7022/2.584, allocations: 29.92 MB / 1.279 GB, free: 251.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002751/2.584, allocations: 169 kB / 1.279 GB, free: 251.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.165/5.749, allocations: 3.594 kB / 1.279 GB, free: 251.5 MB / 0.8698 GB