Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_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.Sources.Examples.PVPanels_N,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_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.427/2.427, allocations: 248.7 MB / 256.2 MB, free: 7.023 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.001498/0.001498, allocations: 179.8 kB / 315.4 MB, free: 3.992 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.088/2.088, allocations: 205.3 MB / 0.5662 GB, free: 0.5859 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.001049/0.001049, allocations: 93.2 kB / 0.6704 GB, free: 5.789 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.665e-05/3.707e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2285/0.2286, allocations: 106.3 MB / 0.8841 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.063/7.291, allocations: 2.239 GB / 3.123 GB, free: 130.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003677/7.292, allocations: 102.2 kB / 3.123 GB, free: 130.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.258/8.55, allocations: 162 MB / 3.281 GB, free: 235.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.106e-06/8.55, allocations: 0 / 3.281 GB, free: 235.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0004011/8.55, allocations: 94.98 kB / 3.281 GB, free: 235.1 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1041 * Number of variables: 1041 Notification: Performance of Generate backend data structure: time 0.01484/8.565, allocations: 3.43 MB / 3.285 GB, free: 233.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.582e-05/8.565, allocations: 8.812 kB / 3.285 GB, free: 233.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02001/8.585, allocations: 1.726 MB / 3.286 GB, free: 233.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008033/8.593, allocations: 2.204 MB / 3.289 GB, free: 232.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003241/8.594, allocations: 129.2 kB / 3.289 GB, free: 232.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002113/8.596, allocations: 232.8 kB / 3.289 GB, free: 232.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01637/8.612, allocations: 4.862 MB / 3.294 GB, free: 232.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01689/8.629, allocations: 4.978 MB / 3.299 GB, free: 232.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001649/8.629, allocations: 6.969 kB / 3.299 GB, free: 232.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001175/8.631, allocations: 10.09 kB / 3.299 GB, free: 232.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002833/8.631, allocations: 189.7 kB / 3.299 GB, free: 232.3 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05245/8.683, allocations: 21.94 MB / 3.32 GB, free: 222.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01304/8.696, allocations: 3.355 MB / 3.323 GB, free: 222 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005489/8.702, allocations: 1.523 MB / 3.325 GB, free: 222 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001561/8.704, allocations: 0.5063 MB / 3.325 GB, free: 221.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006555/8.71, allocations: 1.724 MB / 3.327 GB, free: 221.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=240): time 9.168e-06/8.71, allocations: 0 / 3.327 GB, free: 221.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=243): time 0.0328/8.743, allocations: 5.875 MB / 3.333 GB, free: 219.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001909/8.743, allocations: 444.7 kB / 3.333 GB, free: 219 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004148/8.748, allocations: 1.333 MB / 3.335 GB, free: 218.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.001007/8.749, allocations: 29.2 kB / 3.335 GB, free: 218.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0027/8.751, allocations: 1.607 MB / 3.336 GB, free: 217.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.002017/8.753, allocations: 0.7791 MB / 3.337 GB, free: 216.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000644/8.754, allocations: 0 / 3.337 GB, free: 216.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0003077/8.754, allocations: 410.4 kB / 3.337 GB, free: 216.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005248/8.76, allocations: 1.254 MB / 3.339 GB, free: 215.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006601/8.766, allocations: 1.938 MB / 3.34 GB, free: 214.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01923/8.786, allocations: 2.497 MB / 3.343 GB, free: 213.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-05/8.786, allocations: 10.62 kB / 3.343 GB, free: 213.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.02875/8.815, allocations: 4.341 MB / 3.347 GB, free: 212.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.002022/8.817, allocations: 7.096 MB / 3.354 GB, free: 204.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001098/8.817, allocations: 22.09 kB / 3.354 GB, free: 204.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001021/8.817, allocations: 31.81 kB / 3.354 GB, free: 204.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008568/8.825, allocations: 0.7952 MB / 3.355 GB, free: 204.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.034e-05/8.826, allocations: 42.27 kB / 3.355 GB, free: 204.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006079/8.832, allocations: 322.7 kB / 3.355 GB, free: 204.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008767/8.833, allocations: 135.5 kB / 3.355 GB, free: 204.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/8.833, allocations: 5.25 kB / 3.355 GB, free: 204.6 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01808/8.851, allocations: 3.875 MB / 3.359 GB, free: 203.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.929e-05/8.851, allocations: 17.53 kB / 3.359 GB, free: 203.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.066e-05/8.851, allocations: 34 kB / 3.359 GB, free: 203.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007409/8.858, allocations: 0.761 MB / 3.36 GB, free: 203.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.953e-05/8.858, allocations: 42.72 kB / 3.36 GB, free: 203.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005551/8.864, allocations: 284.1 kB / 3.36 GB, free: 203.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008337/8.865, allocations: 134 kB / 3.36 GB, free: 203.3 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 80 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (336): * Single equations (assignments): 336 * 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.000999/8.866, allocations: 176.1 kB / 3.361 GB, free: 203.2 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01759/8.883, allocations: 3.815 MB / 3.364 GB, free: 201.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001088/8.885, allocations: 220.8 kB / 3.364 GB, free: 201.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02101/8.906, allocations: 4.406 MB / 3.369 GB, free: 200.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.298e-05/8.906, allocations: 24 kB / 3.369 GB, free: 200.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.265e-05/8.906, allocations: 2.281 kB / 3.369 GB, free: 200.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.267e-05/8.906, allocations: 15.03 kB / 3.369 GB, free: 200.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02924/8.935, allocations: 8.231 MB / 3.377 GB, free: 197 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.867e-05/8.935, allocations: 3.531 kB / 3.377 GB, free: 197 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00745/8.943, allocations: 0.7107 MB / 3.378 GB, free: 197 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.384e-05/8.943, allocations: 11.59 kB / 3.378 GB, free: 197 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007548/8.943, allocations: 43.2 kB / 3.378 GB, free: 197 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.169e-05/8.944, allocations: 13.5 kB / 3.378 GB, free: 197 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/8.944, allocations: 4 kB / 3.378 GB, free: 196.9 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01723/8.961, allocations: 4.408 MB / 3.382 GB, free: 195 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002227/8.963, allocations: 0.7512 MB / 3.383 GB, free: 194.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006698/8.964, allocations: 13.12 kB / 3.383 GB, free: 194.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004977/8.969, allocations: 225.4 kB / 3.383 GB, free: 194.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004985/8.969, allocations: 154.7 kB / 3.383 GB, free: 194.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003616/8.97, allocations: 93.17 kB / 3.383 GB, free: 194.5 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002185/8.972, allocations: 1.068 MB / 3.384 GB, free: 194.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6.72e-07/8.972, allocations: 0 / 3.384 GB, free: 194.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00769/8.98, allocations: 1.161 MB / 3.385 GB, free: 194 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (262): * Single equations (assignments): 260 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.01996/9, allocations: 6.005 MB / 3.391 GB, free: 190.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01184/9.011, allocations: 4.761 MB / 3.396 GB, free: 186.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.418e-05/9.012, allocations: 4 kB / 3.396 GB, free: 186.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.003884/9.015, allocations: 1.526 MB / 3.397 GB, free: 184.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004627/9.02, allocations: 470.1 kB / 3.398 GB, free: 184.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02096/9.041, allocations: 6.299 MB / 3.404 GB, free: 179 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003996/9.045, allocations: 2.525 MB / 3.406 GB, free: 177 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.01164/9.057, allocations: 1.384 MB / 3.408 GB, free: 176.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004148/9.061, allocations: 1.441 MB / 3.409 GB, free: 174.8 MB / 0.8698 GB Notification: Performance of SimCode: time 1.112e-06/9.061, allocations: 0 / 3.409 GB, free: 174.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1657/9.227, allocations: 62.88 MB / 3.471 GB, free: 120.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002313/9.227, allocations: 199.6 kB / 3.471 GB, free: 119.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.011/14.24, allocations: 0 / 3.471 GB, free: 119.9 MB / 0.8698 GB