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.203/2.203, allocations: 248.7 MB / 256.2 MB, free: 7.078 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.001533/0.001533, allocations: 180.4 kB / 315.4 MB, free: 3.984 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.145/2.145, allocations: 205.3 MB / 0.5662 GB, free: 0.5195 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.001051/0.001051, allocations: 95.97 kB / 0.6704 GB, free: 5.723 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.52e-05/2.531e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2313, allocations: 106.2 MB / 0.8841 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9088/1.14, allocations: 166.3 MB / 1.046 GB, free: 6.031 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003818/1.141, allocations: 101.5 kB / 1.047 GB, free: 5.977 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.4302/1.571, allocations: 104.4 MB / 1.149 GB, free: 7.688 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.525e-06/1.571, allocations: 0 / 1.149 GB, free: 7.688 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0001866/1.571, allocations: 63.98 kB / 1.149 GB, free: 7.625 MB / 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.01206/1.583, allocations: 2.455 MB / 1.151 GB, free: 5.113 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 6.851e-05/1.583, allocations: 8.031 kB / 1.151 GB, free: 5.105 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009826/1.593, allocations: 1.011 MB / 1.152 GB, free: 4.09 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0065/1.6, allocations: 1.64 MB / 1.154 GB, free: 2.406 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000209/1.6, allocations: 100 kB / 1.154 GB, free: 2.309 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001461/1.601, allocations: 168 kB / 1.154 GB, free: 2.145 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01219/1.614, allocations: 3.608 MB / 1.157 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01511/1.629, allocations: 4.305 MB / 1.162 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001016/1.629, allocations: 7.875 kB / 1.162 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004526/1.629, allocations: 0 / 1.162 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003683/1.63, allocations: 189.1 kB / 1.162 GB, free: 9.934 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04496/1.675, allocations: 22.25 MB / 1.184 GB, free: 1.461 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007905/1.683, allocations: 3.119 MB / 1.187 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002116/1.685, allocations: 0.867 MB / 1.187 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002347/1.685, allocations: 117.7 kB / 1.188 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.897e-05/1.685, allocations: 39.34 kB / 1.188 GB, free: 13 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=82): time 4.339e-06/1.685, allocations: 0 / 1.188 GB, free: 13 MB / 0.8073 GB Notification: Performance of matching and sorting (n=82): time 0.004384/1.69, allocations: 1.482 MB / 1.189 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001287/1.69, allocations: 218.4 kB / 1.189 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002118/1.692, allocations: 0.949 MB / 1.19 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0002218/1.692, allocations: 29.64 kB / 1.19 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.001208/1.694, allocations: 1.281 MB / 1.191 GB, free: 8.949 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004719/1.694, allocations: 296.1 kB / 1.192 GB, free: 8.656 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000134/1.694, allocations: 0 / 1.192 GB, free: 8.656 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002674/1.694, allocations: 406.7 kB / 1.192 GB, free: 8.25 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001847/1.696, allocations: 0.8199 MB / 1.193 GB, free: 7.43 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002468/1.699, allocations: 1.429 MB / 1.194 GB, free: 5.723 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004501/1.703, allocations: 1.403 MB / 1.196 GB, free: 4.316 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.97e-05/1.703, allocations: 7.938 kB / 1.196 GB, free: 4.309 MB / 0.8073 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.008217/1.712, allocations: 2.538 MB / 1.198 GB, free: 1.762 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.003373/1.715, allocations: 7.5 MB / 1.205 GB, free: 9.672 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-05/1.715, allocations: 16 kB / 1.205 GB, free: 9.656 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.13e-05/1.715, allocations: 32 kB / 1.206 GB, free: 9.625 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003563/1.719, allocations: 463.2 kB / 1.206 GB, free: 9.172 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.826e-05/1.719, allocations: 39.86 kB / 1.206 GB, free: 9.133 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002892/1.722, allocations: 321.8 kB / 1.206 GB, free: 8.816 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003549/1.722, allocations: 79.97 kB / 1.206 GB, free: 8.738 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/1.722, allocations: 4 kB / 1.206 GB, free: 8.734 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007313/1.73, allocations: 2.241 MB / 1.209 GB, free: 6.492 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.426e-05/1.73, allocations: 20.19 kB / 1.209 GB, free: 6.473 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.568e-05/1.73, allocations: 39.95 kB / 1.209 GB, free: 6.434 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003161/1.733, allocations: 439.3 kB / 1.209 GB, free: 6.004 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.279e-05/1.733, allocations: 39.86 kB / 1.209 GB, free: 5.965 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002368/1.735, allocations: 218.6 kB / 1.209 GB, free: 5.75 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002316/1.736, allocations: 79.98 kB / 1.209 GB, free: 5.672 MB / 0.823 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.0004869/1.736, allocations: 156.4 kB / 1.21 GB, free: 5.512 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004194/1.74, allocations: 1.475 MB / 1.211 GB, free: 4.027 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004675/1.741, allocations: 102.8 kB / 1.211 GB, free: 3.926 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004287/1.745, allocations: 1.528 MB / 1.213 GB, free: 2.379 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-05/1.745, allocations: 8 kB / 1.213 GB, free: 2.371 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.586e-05/1.745, allocations: 4 kB / 1.213 GB, free: 2.367 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.606e-05/1.745, allocations: 3.984 kB / 1.213 GB, free: 2.363 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0108/1.756, allocations: 3.762 MB / 1.216 GB, free: 14.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.902e-05/1.756, allocations: 4 kB / 1.216 GB, free: 14.5 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001931/1.758, allocations: 227.6 kB / 1.216 GB, free: 14.28 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-05/1.758, allocations: 7.984 kB / 1.216 GB, free: 14.27 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.485e-05/1.758, allocations: 11.94 kB / 1.216 GB, free: 14.26 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.819e-06/1.758, allocations: 4 kB / 1.216 GB, free: 14.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.346e-05/1.758, allocations: 11.94 kB / 1.216 GB, free: 14.24 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003925/1.762, allocations: 1.944 MB / 1.218 GB, free: 12.24 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001149/1.764, allocations: 363.5 kB / 1.219 GB, free: 11.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002373/1.764, allocations: 4 kB / 1.219 GB, free: 11.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001724/1.766, allocations: 115.8 kB / 1.219 GB, free: 11.75 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002063/1.766, allocations: 48.67 kB / 1.219 GB, free: 11.7 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.143e-05/1.766, allocations: 28 kB / 1.219 GB, free: 11.67 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001642/1.768, allocations: 0.7333 MB / 1.22 GB, free: 10.94 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6.11e-07/1.768, allocations: 0 / 1.22 GB, free: 10.94 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.005965/1.774, allocations: 1.294 MB / 1.221 GB, free: 9.641 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.004721/1.778, allocations: 2.929 MB / 1.224 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.006822/1.785, allocations: 2.763 MB / 1.226 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/1.785, allocations: 5 kB / 1.226 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001428/1.787, allocations: 0.6199 MB / 1.227 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001833/1.789, allocations: 157.9 kB / 1.227 GB, free: 3.121 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01492/1.804, allocations: 4.385 MB / 1.232 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004303/1.808, allocations: 2.256 MB / 1.234 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.005468/1.813, allocations: 1.152 MB / 1.235 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002546/1.816, allocations: 0.8195 MB / 1.236 GB, free: 10.39 MB / 0.8542 GB Notification: Performance of SimCode: time 1.513e-06/1.816, allocations: 0 / 1.236 GB, free: 10.39 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7389/2.555, allocations: 31.53 MB / 1.266 GB, free: 248.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000261/2.555, allocations: 164.2 kB / 1.267 GB, free: 248 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.18/5.735, allocations: 0 / 1.267 GB, free: 248 MB / 0.8698 GB