Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.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.Impedances,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",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.244/2.244, allocations: 248.7 MB / 256.2 MB, free: 7.027 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.001408/0.001408, allocations: 181 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.097/2.097, allocations: 205.3 MB / 0.5662 GB, free: 0.543 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.001117/0.001117, allocations: 94.47 kB / 0.6704 GB, free: 5.746 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.366e-05/3.365e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2729/0.2729, allocations: 106.3 MB / 0.8841 GB, free: 12.97 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9416/1.215, allocations: 161.3 MB / 1.042 GB, free: 10.99 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003832/1.215, allocations: 96 kB / 1.042 GB, free: 10.94 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.3675/1.583, allocations: 85.61 MB / 1.125 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.285e-06/1.583, allocations: 0 / 1.125 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0002759/1.583, allocations: 59.98 kB / 1.125 GB, free: 15.56 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.008345/1.591, allocations: 2.116 MB / 1.127 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.517e-05/1.591, allocations: 8.031 kB / 1.127 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007039/1.598, allocations: 0.7618 MB / 1.128 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005608/1.604, allocations: 1.532 MB / 1.13 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001486/1.604, allocations: 76 kB / 1.13 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000928/1.605, allocations: 143.9 kB / 1.13 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008701/1.614, allocations: 2.692 MB / 1.133 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01193/1.626, allocations: 3.466 MB / 1.136 GB, free: 4.492 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.976e-05/1.626, allocations: 4 kB / 1.136 GB, free: 4.488 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003593/1.626, allocations: 4 kB / 1.136 GB, free: 4.484 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003354/1.627, allocations: 164.5 kB / 1.136 GB, free: 4.32 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03017/1.657, allocations: 15.8 MB / 1.152 GB, free: 3.113 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005489/1.663, allocations: 2.077 MB / 1.154 GB, free: 0.8594 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001422/1.664, allocations: 0.5708 MB / 1.154 GB, free: 288 kB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002055/1.664, allocations: 101.6 kB / 1.154 GB, free: 168 kB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.227e-05/1.664, allocations: 51.06 kB / 1.154 GB, free: 108 kB / 0.7605 GB Notification: Performance of pre-optimization done (n=72): time 3.637e-06/1.664, allocations: 0 / 1.154 GB, free: 108 kB / 0.7605 GB Notification: Performance of matching and sorting (n=76): time 0.007213/1.672, allocations: 2.586 MB / 1.157 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.394e-05/1.672, allocations: 115.7 kB / 1.157 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001711/1.673, allocations: 0.8324 MB / 1.158 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001155/1.674, allocations: 25.7 kB / 1.158 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.001005/1.675, allocations: 1.095 MB / 1.159 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003535/1.675, allocations: 260.3 kB / 1.159 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.057e-05/1.675, allocations: 0 / 1.159 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002997/1.675, allocations: 414.7 kB / 1.159 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001294/1.677, allocations: 0.5582 MB / 1.16 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001733/1.678, allocations: 1.096 MB / 1.161 GB, free: 8.797 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002727/1.681, allocations: 0.9371 MB / 1.162 GB, free: 7.859 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.487e-05/1.681, allocations: 4 kB / 1.162 GB, free: 7.855 MB / 0.7761 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.005519/1.687, allocations: 1.913 MB / 1.164 GB, free: 5.922 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.172e-05/1.687, allocations: 19.98 kB / 1.164 GB, free: 5.902 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.31e-05/1.687, allocations: 16 kB / 1.164 GB, free: 5.887 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007011/1.688, allocations: 167.3 kB / 1.164 GB, free: 5.711 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002258/1.69, allocations: 339.4 kB / 1.164 GB, free: 5.379 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.665e-05/1.69, allocations: 35.86 kB / 1.164 GB, free: 5.344 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001725/1.692, allocations: 111.7 kB / 1.165 GB, free: 5.234 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001604/1.692, allocations: 71.98 kB / 1.165 GB, free: 5.164 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 161 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003134/1.692, allocations: 153.5 kB / 1.165 GB, free: 5.008 MB / 0.7761 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003172/1.695, allocations: 1.127 MB / 1.166 GB, free: 3.863 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003562/1.696, allocations: 102.8 kB / 1.166 GB, free: 3.762 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003533/1.699, allocations: 1.182 MB / 1.167 GB, free: 2.559 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.942e-05/1.699, allocations: 12 kB / 1.167 GB, free: 2.547 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.466e-05/1.699, allocations: 4 kB / 1.167 GB, free: 2.543 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.586e-05/1.699, allocations: 3.984 kB / 1.167 GB, free: 2.539 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008751/1.708, allocations: 3.198 MB / 1.17 GB, free: 15.2 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-05/1.708, allocations: 12.03 kB / 1.17 GB, free: 15.19 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001208/1.709, allocations: 155.8 kB / 1.17 GB, free: 15.04 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005914/1.71, allocations: 135.3 kB / 1.171 GB, free: 14.89 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.271e-05/1.71, allocations: 8 kB / 1.171 GB, free: 14.89 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.208e-05/1.71, allocations: 7.984 kB / 1.171 GB, free: 14.88 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.447e-06/1.71, allocations: 7.938 kB / 1.171 GB, free: 14.87 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003418/1.714, allocations: 1.544 MB / 1.172 GB, free: 13.21 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000814/1.714, allocations: 291.7 kB / 1.172 GB, free: 12.91 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000194/1.715, allocations: 4 kB / 1.172 GB, free: 12.9 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00111/1.716, allocations: 63.91 kB / 1.172 GB, free: 12.84 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000182/1.716, allocations: 56.38 kB / 1.172 GB, free: 12.79 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.911e-05/1.716, allocations: 31.98 kB / 1.172 GB, free: 12.75 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.001319/1.717, allocations: 0.6205 MB / 1.173 GB, free: 12.12 MB / 0.7917 GB Notification: Performance of sort global known variables: time 5.61e-07/1.717, allocations: 0 / 1.173 GB, free: 12.12 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.002206/1.72, allocations: 376.1 kB / 1.173 GB, free: 11.75 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004125/1.724, allocations: 2.79 MB / 1.176 GB, free: 8.855 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.003277/1.727, allocations: 1.581 MB / 1.178 GB, free: 7.191 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/1.727, allocations: 0 / 1.178 GB, free: 7.191 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.00143/1.729, allocations: 0.8299 MB / 1.179 GB, free: 6.273 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001923/1.73, allocations: 222.2 kB / 1.179 GB, free: 6.055 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01081/1.741, allocations: 3.578 MB / 1.182 GB, free: 2.395 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002954/1.744, allocations: 1.961 MB / 1.184 GB, free: 408 kB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.002106/1.746, allocations: 429.2 kB / 1.185 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001721/1.748, allocations: 0.7179 MB / 1.185 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of SimCode: time 1.653e-06/1.748, allocations: 0 / 1.185 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1096/1.858, allocations: 26.2 MB / 1.211 GB, free: 5.184 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003293/1.858, allocations: 161.2 kB / 1.211 GB, free: 4.996 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.032/4.891, allocations: 0 / 1.211 GB, free: 4.996 MB / 0.823 GB