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.229/2.229, allocations: 248.5 MB / 261.1 MB, free: 6.012 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.001435/0.001435, allocations: 176 kB / 320.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.034/2.034, allocations: 205.2 MB / 0.571 GB, free: 11.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.001906/0.001906, allocations: 96.72 kB / 0.6754 GB, free: 0.9062 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.66e-05/4.671e-05, allocations: 4 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2192/0.2193, allocations: 106.2 MB / 0.8907 GB, free: 7.461 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9651/1.184, allocations: 166 MB / 1.053 GB, free: 2.461 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004162/1.185, allocations: 104.7 kB / 1.053 GB, free: 2.402 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.4874/1.672, allocations: 104.8 MB / 1.155 GB, free: 0.5547 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.334e-06/1.672, allocations: 0 / 1.155 GB, free: 0.5547 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0002012/1.673, allocations: 71.92 kB / 1.155 GB, free: 496 kB / 0.7605 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.01205/1.685, allocations: 2.447 MB / 1.158 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 6.082e-05/1.685, allocations: 12.03 kB / 1.158 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002647/1.688, allocations: 462.5 kB / 1.158 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009997/1.698, allocations: 1.007 MB / 1.159 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006453/1.704, allocations: 1.642 MB / 1.161 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003943/1.705, allocations: 226 kB / 1.161 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001806/1.706, allocations: 292 kB / 1.161 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01913/1.726, allocations: 4.731 MB / 1.166 GB, free: 5.473 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001471/1.726, allocations: 8 kB / 1.166 GB, free: 5.465 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001413/1.727, allocations: 123.9 kB / 1.166 GB, free: 5.344 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004304/1.728, allocations: 185.1 kB / 1.166 GB, free: 5.16 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01506/1.743, allocations: 4.136 MB / 1.17 GB, free: 1.012 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05253/1.795, allocations: 23.11 MB / 1.193 GB, free: 7.656 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00881/1.804, allocations: 3.146 MB / 1.196 GB, free: 4.234 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002489/1.807, allocations: 0.8982 MB / 1.197 GB, free: 3.316 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002782/1.807, allocations: 97.86 kB / 1.197 GB, free: 3.203 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.095e-05/1.807, allocations: 51.28 kB / 1.197 GB, free: 3.141 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=82): time 4.329e-06/1.807, allocations: 4 kB / 1.197 GB, free: 3.137 MB / 0.8073 GB Notification: Performance of matching and sorting (n=82): time 0.004259/1.811, allocations: 1.412 MB / 1.198 GB, free: 1.719 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001715/1.812, allocations: 218.6 kB / 1.198 GB, free: 1.457 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002471/1.814, allocations: 0.9843 MB / 1.199 GB, free: 476 kB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0002973/1.815, allocations: 41.7 kB / 1.199 GB, free: 428 kB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.001506/1.816, allocations: 1.285 MB / 1.201 GB, free: 15.11 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007497/1.817, allocations: 311.8 kB / 1.201 GB, free: 14.8 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003337/1.817, allocations: 28 kB / 1.201 GB, free: 14.78 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0005735/1.818, allocations: 410.7 kB / 1.201 GB, free: 14.37 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003992/1.822, allocations: 0.8433 MB / 1.202 GB, free: 13.52 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005268/1.827, allocations: 1.479 MB / 1.204 GB, free: 11.76 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005202/1.832, allocations: 1.152 MB / 1.205 GB, free: 10.61 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-05/1.833, allocations: 4 kB / 1.205 GB, free: 10.61 MB / 0.823 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.01066/1.843, allocations: 2.418 MB / 1.207 GB, free: 8.18 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.00392/1.847, allocations: 7.491 MB / 1.215 GB, free: 104 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.846e-05/1.847, allocations: 24 kB / 1.215 GB, free: 80 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.322e-05/1.847, allocations: 32 kB / 1.215 GB, free: 48 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003838/1.851, allocations: 463.2 kB / 1.215 GB, free: 15.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.15e-05/1.851, allocations: 39.86 kB / 1.215 GB, free: 15.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003357/1.855, allocations: 349.9 kB / 1.215 GB, free: 15.21 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004761/1.855, allocations: 83.97 kB / 1.215 GB, free: 15.13 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/1.855, allocations: 3.953 kB / 1.215 GB, free: 15.12 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006497/1.862, allocations: 2.147 MB / 1.218 GB, free: 12.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.01e-05/1.862, allocations: 20.97 kB / 1.218 GB, free: 12.96 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.778e-05/1.862, allocations: 32 kB / 1.218 GB, free: 12.93 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003441/1.866, allocations: 447.3 kB / 1.218 GB, free: 12.49 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.68e-05/1.866, allocations: 39.86 kB / 1.218 GB, free: 12.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002609/1.868, allocations: 254.6 kB / 1.218 GB, free: 12.2 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000435/1.869, allocations: 75.98 kB / 1.218 GB, free: 12.13 MB / 0.8386 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 () * 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.000588/1.869, allocations: 208.3 kB / 1.219 GB, free: 11.92 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005301/1.87, allocations: 102.7 kB / 1.219 GB, free: 11.82 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004229/1.874, allocations: 1.52 MB / 1.22 GB, free: 10.27 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-05/1.874, allocations: 8 kB / 1.22 GB, free: 10.27 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.325e-05/1.874, allocations: 11.98 kB / 1.22 GB, free: 10.25 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.117e-05/1.874, allocations: 3.984 kB / 1.22 GB, free: 10.25 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01375/1.888, allocations: 4.455 MB / 1.225 GB, free: 5.684 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.811e-05/1.888, allocations: 4 kB / 1.225 GB, free: 5.68 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002092/1.89, allocations: 235.6 kB / 1.225 GB, free: 5.449 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-05/1.89, allocations: 4 kB / 1.225 GB, free: 5.445 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001612/1.891, allocations: 23.94 kB / 1.225 GB, free: 5.422 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.351e-05/1.891, allocations: 7.953 kB / 1.225 GB, free: 5.414 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/1.891, allocations: 0 / 1.225 GB, free: 5.414 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003942/1.895, allocations: 1.932 MB / 1.227 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001334/1.896, allocations: 363.5 kB / 1.227 GB, free: 3.043 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003995/1.896, allocations: 16 kB / 1.227 GB, free: 3.027 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00195/1.898, allocations: 127.8 kB / 1.227 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002982/1.899, allocations: 56.66 kB / 1.227 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.935e-05/1.899, allocations: 20 kB / 1.227 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.002059/1.901, allocations: 0.7801 MB / 1.228 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8.21e-07/1.901, allocations: 0 / 1.228 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.006219/1.907, allocations: 1.356 MB / 1.229 GB, free: 0.6875 MB / 0.8386 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 () * 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.006487/1.914, allocations: 2.929 MB / 1.232 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01135/1.925, allocations: 2.904 MB / 1.235 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.058e-05/1.925, allocations: 0 / 1.235 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002478/1.928, allocations: 0.6367 MB / 1.236 GB, free: 10.17 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002951/1.931, allocations: 168.3 kB / 1.236 GB, free: 10.01 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02321/1.954, allocations: 4.474 MB / 1.24 GB, free: 5.465 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007104/1.961, allocations: 2.259 MB / 1.242 GB, free: 3.168 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.008813/1.97, allocations: 1.148 MB / 1.244 GB, free: 2.016 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003506/1.974, allocations: 0.8234 MB / 1.244 GB, free: 1.195 MB / 0.8542 GB Notification: Performance of SimCode: time 1.533e-06/1.974, allocations: 0 / 1.244 GB, free: 1.195 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7496/2.723, allocations: 32.35 MB / 1.276 GB, free: 250.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002481/2.724, allocations: 174.4 kB / 1.276 GB, free: 250 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.206/5.93, allocations: 7.125 kB / 1.276 GB, free: 250 MB / 0.8698 GB