Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.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.DC.Sources.Examples.PVSimple,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_DC_Sources_Examples_PVSimple",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.165/2.165, allocations: 248.7 MB / 256.2 MB, free: 7.059 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.001515/0.001514, allocations: 183.8 kB / 315.4 MB, free: 4 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.095/2.095, allocations: 205.3 MB / 0.5662 GB, free: 0.5586 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.001604/0.001603, allocations: 92.91 kB / 0.6704 GB, free: 5.766 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.978e-05/2.973e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.2135, allocations: 106.2 MB / 0.8841 GB, free: 12.97 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.131/7.345, allocations: 2.224 GB / 3.108 GB, free: 129.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003437/7.345, allocations: 98.41 kB / 3.108 GB, free: 129.8 MB / 0.8698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Electrical/Transmission/BaseClasses/PartialTwoPortResistance.mo:13:3-13:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Electrical/DC/Sensors/GeneralizedSensor.mo:39:3-39:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.2806/7.626, allocations: 67.84 MB / 3.174 GB, free: 67.16 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.036e-06/7.626, allocations: 7.922 kB / 3.174 GB, free: 67.15 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001203/7.626, allocations: 36 kB / 3.174 GB, free: 67.11 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: 372 * Number of variables: 372 Notification: Performance of Generate backend data structure: time 0.004185/7.63, allocations: 1.559 MB / 3.176 GB, free: 65.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/7.63, allocations: 8.031 kB / 3.176 GB, free: 65.49 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009326/7.64, allocations: 0.8017 MB / 3.176 GB, free: 64.68 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002524/7.642, allocations: 0.8845 MB / 3.177 GB, free: 63.75 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.794e-05/7.642, allocations: 51.92 kB / 3.177 GB, free: 63.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002991/7.643, allocations: 83.98 kB / 3.177 GB, free: 63.62 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004428/7.647, allocations: 1.84 MB / 3.179 GB, free: 61.78 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00365/7.651, allocations: 1.518 MB / 3.181 GB, free: 60.19 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.776e-05/7.651, allocations: 0 / 3.181 GB, free: 60.19 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002413/7.651, allocations: 7.953 kB / 3.181 GB, free: 60.18 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.6e-05/7.651, allocations: 62.75 kB / 3.181 GB, free: 60.12 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01519/7.666, allocations: 5.885 MB / 3.186 GB, free: 54.03 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002949/7.669, allocations: 1.217 MB / 3.188 GB, free: 52.79 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001346/7.671, allocations: 0.5769 MB / 3.188 GB, free: 52.22 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009275/7.672, allocations: 486.9 kB / 3.189 GB, free: 51.65 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001581/7.673, allocations: 0.7591 MB / 3.189 GB, free: 50.86 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=128): time 4.468e-06/7.673, allocations: 0 / 3.189 GB, free: 50.86 MB / 0.8698 GB Notification: Performance of matching and sorting (n=128): time 0.00814/7.681, allocations: 1.648 MB / 3.191 GB, free: 49.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001108/7.682, allocations: 355.4 kB / 3.191 GB, free: 48.77 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00131/7.683, allocations: 0.6645 MB / 3.192 GB, free: 48.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002361/7.683, allocations: 29.64 kB / 3.192 GB, free: 48.06 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005595/7.684, allocations: 0.5934 MB / 3.193 GB, free: 47.46 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004562/7.684, allocations: 413.7 kB / 3.193 GB, free: 47.05 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/7.684, allocations: 0 / 3.193 GB, free: 47.05 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.796e-05/7.684, allocations: 349.9 kB / 3.193 GB, free: 46.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00105/7.686, allocations: 442.5 kB / 3.194 GB, free: 46.27 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001237/7.687, allocations: 0.6272 MB / 3.194 GB, free: 45.58 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005936/7.693, allocations: 0.9745 MB / 3.195 GB, free: 44.61 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.1e-05/7.693, allocations: 4 kB / 3.195 GB, free: 44.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=148) (initialization): time 0.008244/7.701, allocations: 1.722 MB / 3.197 GB, free: 42.87 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002325/7.701, allocations: 1.048 MB / 3.198 GB, free: 41.74 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/7.701, allocations: 4 kB / 3.198 GB, free: 41.73 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002225/7.702, allocations: 28.86 kB / 3.198 GB, free: 41.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003338/7.705, allocations: 331.5 kB / 3.198 GB, free: 41.38 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003611/7.705, allocations: 0.5445 MB / 3.199 GB, free: 40.81 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002593/7.708, allocations: 151 kB / 3.199 GB, free: 40.66 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002175/7.708, allocations: 55.95 kB / 3.199 GB, free: 40.61 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/7.708, allocations: 6.344 kB / 3.199 GB, free: 40.6 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007524/7.716, allocations: 1.573 MB / 3.201 GB, free: 39.03 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-06/7.716, allocations: 0 / 3.201 GB, free: 39.03 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/7.716, allocations: 8.344 kB / 3.201 GB, free: 39.02 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004864/7.721, allocations: 331.5 kB / 3.201 GB, free: 38.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.174e-05/7.721, allocations: 11.98 kB / 3.201 GB, free: 38.68 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004435/7.725, allocations: 143 kB / 3.201 GB, free: 38.54 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000666/7.726, allocations: 55.95 kB / 3.201 GB, free: 38.49 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (147): * Single equations (assignments): 146 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0006232/7.727, allocations: 137.2 kB / 3.201 GB, free: 38.35 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00946/7.736, allocations: 1.656 MB / 3.203 GB, free: 36.68 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003279/7.736, allocations: 114.7 kB / 3.203 GB, free: 36.57 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009588/7.746, allocations: 1.997 MB / 3.205 GB, free: 34.56 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.929e-05/7.746, allocations: 12 kB / 3.205 GB, free: 34.55 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.23e-05/7.746, allocations: 4 kB / 3.205 GB, free: 34.54 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.076e-05/7.746, allocations: 15.86 kB / 3.205 GB, free: 34.53 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01195/7.758, allocations: 3.668 MB / 3.209 GB, free: 30.78 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/7.758, allocations: 0 / 3.209 GB, free: 30.78 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00311/7.761, allocations: 303.7 kB / 3.209 GB, free: 30.48 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001743/7.762, allocations: 36.83 kB / 3.209 GB, free: 30.45 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001901/7.762, allocations: 27.95 kB / 3.209 GB, free: 30.42 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008998/7.763, allocations: 1.233 MB / 3.21 GB, free: 29.07 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/7.763, allocations: 4.031 kB / 3.21 GB, free: 29.07 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008275/7.771, allocations: 1.898 MB / 3.212 GB, free: 27.11 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009288/7.772, allocations: 407.1 kB / 3.212 GB, free: 26.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002812/7.772, allocations: 96 / 3.212 GB, free: 26.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002443/7.775, allocations: 115.8 kB / 3.213 GB, free: 26.58 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002338/7.775, allocations: 93.12 kB / 3.213 GB, free: 26.49 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001724/7.775, allocations: 55.91 kB / 3.213 GB, free: 26.44 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0009531/7.776, allocations: 0.5343 MB / 3.213 GB, free: 25.91 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.623e-06/7.776, allocations: 0 / 3.213 GB, free: 25.91 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00272/7.779, allocations: 0.6768 MB / 3.214 GB, free: 25.23 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (142): * Single equations (assignments): 139 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01002/7.789, allocations: 3.15 MB / 3.217 GB, free: 22.12 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.004497/7.793, allocations: 1.819 MB / 3.219 GB, free: 20.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/7.793, allocations: 1.375 kB / 3.219 GB, free: 20.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001664/7.795, allocations: 0.7409 MB / 3.219 GB, free: 19.55 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002215/7.797, allocations: 267.1 kB / 3.22 GB, free: 19.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008603/7.806, allocations: 2.207 MB / 3.222 GB, free: 17.03 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001826/7.808, allocations: 1.266 MB / 3.223 GB, free: 15.73 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.008286/7.816, allocations: 0.6022 MB / 3.224 GB, free: 15.13 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001614/7.818, allocations: 0.5617 MB / 3.224 GB, free: 14.57 MB / 0.8698 GB Notification: Performance of SimCode: time 1.133e-06/7.818, allocations: 3.938 kB / 3.224 GB, free: 14.56 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7292/8.547, allocations: 28.98 MB / 3.252 GB, free: 275.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002213/8.547, allocations: 174.5 kB / 3.253 GB, free: 275.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.781/12.33, allocations: 0 / 3.253 GB, free: 275.1 MB / 0.8698 GB