Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.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.Sensors.Examples.Sensors,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors",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.277/2.277, allocations: 251 MB / 265.9 MB, free: 11.68 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.001556/0.001556, allocations: 176.8 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.283/2.283, allocations: 205.4 MB / 0.5764 GB, free: 21.12 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.00123/0.00123, allocations: 94.94 kB / 0.6809 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006245/0.0006247, allocations: 11.72 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2117, allocations: 106.3 MB / 0.8988 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9148/1.127, allocations: 166.1 MB / 1.061 GB, free: 64.05 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005393/1.127, allocations: 105.4 kB / 1.061 GB, free: 64.05 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3939/1.521, allocations: 105.3 MB / 1.164 GB, free: 36.32 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.096e-06/1.521, allocations: 0 / 1.164 GB, free: 36.32 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001554/1.521, allocations: 62.58 kB / 1.164 GB, free: 36.31 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: 803 * Number of variables: 803 Notification: Performance of Generate backend data structure: time 0.0112/1.533, allocations: 2.536 MB / 1.166 GB, free: 34.81 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/1.533, allocations: 11.75 kB / 1.166 GB, free: 34.81 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002466/1.535, allocations: 466 kB / 1.167 GB, free: 34.67 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01013/1.545, allocations: 1.009 MB / 1.168 GB, free: 34.21 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005537/1.551, allocations: 1.647 MB / 1.17 GB, free: 33.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002916/1.551, allocations: 221.7 kB / 1.17 GB, free: 33.59 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00185/1.553, allocations: 290.9 kB / 1.17 GB, free: 33.58 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01711/1.57, allocations: 4.802 MB / 1.175 GB, free: 32.34 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001435/1.57, allocations: 0 / 1.175 GB, free: 32.34 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001317/1.572, allocations: 120.9 kB / 1.175 GB, free: 32.34 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003294/1.572, allocations: 190.6 kB / 1.175 GB, free: 32.31 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0139/1.586, allocations: 4.233 MB / 1.179 GB, free: 31.66 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04314/1.629, allocations: 23.11 MB / 1.202 GB, free: 10.55 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007616/1.637, allocations: 3.176 MB / 1.205 GB, free: 7.098 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002824/1.637, allocations: 105.7 kB / 1.205 GB, free: 6.977 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.537e-05/1.637, allocations: 47.09 kB / 1.205 GB, free: 6.922 MB / 0.698 GB Notification: Performance of pre-optimization done (n=82): time 3.748e-06/1.637, allocations: 0 / 1.205 GB, free: 6.922 MB / 0.698 GB Notification: Performance of matching and sorting (n=82): time 0.005649/1.643, allocations: 2.097 MB / 1.207 GB, free: 4.816 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.793e-05/1.643, allocations: 222.8 kB / 1.207 GB, free: 4.551 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002086/1.645, allocations: 0.9881 MB / 1.208 GB, free: 3.555 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002863/1.646, allocations: 45.69 kB / 1.208 GB, free: 3.504 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009235/1.647, allocations: 1.288 MB / 1.209 GB, free: 2.195 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005054/1.647, allocations: 291.9 kB / 1.21 GB, free: 1.906 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002617/1.647, allocations: 32 kB / 1.21 GB, free: 1.875 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002325/1.648, allocations: 410.7 kB / 1.21 GB, free: 1.465 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002283/1.65, allocations: 0.89 MB / 1.211 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003013/1.653, allocations: 1.511 MB / 1.213 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003222/1.656, allocations: 1.186 MB / 1.214 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-05/1.656, allocations: 11.98 kB / 1.214 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.007706/1.664, allocations: 2.496 MB / 1.216 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.002958/1.667, allocations: 7.489 MB / 1.223 GB, free: 3.008 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.25e-05/1.667, allocations: 20 kB / 1.223 GB, free: 2.988 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.216e-05/1.667, allocations: 32 kB / 1.223 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003794/1.671, allocations: 471.2 kB / 1.224 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-05/1.671, allocations: 39.86 kB / 1.224 GB, free: 2.457 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003266/1.674, allocations: 353.8 kB / 1.224 GB, free: 2.109 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000486/1.675, allocations: 75.98 kB / 1.224 GB, free: 2.035 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/1.675, allocations: 4 kB / 1.224 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00663/1.682, allocations: 2.23 MB / 1.227 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-05/1.682, allocations: 20 kB / 1.227 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.759e-05/1.682, allocations: 31.95 kB / 1.227 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003303/1.685, allocations: 443.3 kB / 1.227 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-05/1.685, allocations: 43.8 kB / 1.227 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002533/1.688, allocations: 254.9 kB / 1.227 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004724/1.688, allocations: 79.98 kB / 1.227 GB, free: 14.95 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (197): * Single equations (assignments): 197 * 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.004336/1.693, allocations: 1.265 MB / 1.229 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001079/1.694, allocations: 102.8 kB / 1.229 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004518/1.698, allocations: 1.591 MB / 1.23 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-05/1.698, allocations: 15.95 kB / 1.23 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.179e-05/1.698, allocations: 4 kB / 1.23 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.095e-05/1.698, allocations: 7.984 kB / 1.23 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01286/1.711, allocations: 4.255 MB / 1.234 GB, free: 7.613 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.829e-05/1.711, allocations: 0 / 1.234 GB, free: 7.613 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003102/1.715, allocations: 239.6 kB / 1.235 GB, free: 7.379 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-05/1.715, allocations: 8 kB / 1.235 GB, free: 7.371 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002134/1.715, allocations: 20 kB / 1.235 GB, free: 7.352 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.116e-05/1.715, allocations: 4 kB / 1.235 GB, free: 7.348 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/1.715, allocations: 7.875 kB / 1.235 GB, free: 7.34 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004236/1.719, allocations: 2.004 MB / 1.237 GB, free: 5.277 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001217/1.72, allocations: 363.6 kB / 1.237 GB, free: 4.902 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004265/1.721, allocations: 16 kB / 1.237 GB, free: 4.887 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00188/1.723, allocations: 119.8 kB / 1.237 GB, free: 4.77 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002746/1.723, allocations: 64.47 kB / 1.237 GB, free: 4.707 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.286e-05/1.723, allocations: 24 kB / 1.237 GB, free: 4.684 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002043/1.725, allocations: 0.7839 MB / 1.238 GB, free: 3.902 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.61e-07/1.725, allocations: 0 / 1.238 GB, free: 3.902 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00602/1.731, allocations: 1.364 MB / 1.239 GB, free: 2.531 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (85): * Single equations (assignments): 85 * 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.00474/1.736, allocations: 2.992 MB / 1.242 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.008052/1.744, allocations: 2.998 MB / 1.245 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/1.744, allocations: 0 / 1.245 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.00179/1.746, allocations: 0.6764 MB / 1.246 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001847/1.748, allocations: 167 kB / 1.246 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03406/1.782, allocations: 23.91 MB / 1.269 GB, free: 3.148 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00398/1.786, allocations: 2.259 MB / 1.272 GB, free: 0.8555 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.005184/1.791, allocations: 1.109 MB / 1.273 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002563/1.794, allocations: 0.8247 MB / 1.273 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of SimCode: time 1.393e-06/1.794, allocations: 4 kB / 1.273 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1155/1.909, allocations: 30.83 MB / 1.304 GB, free: 380 kB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002927/1.91, allocations: 202.7 kB / 1.304 GB, free: 136 kB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.268/5.177, allocations: 3.938 kB / 1.304 GB, free: 132 kB / 0.7917 GB