Running: ./testmodel.py --libraries=/var/lib/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 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sources.Examples.PVSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.414/2.414, allocations: 253.2 MB / 260.6 MB, free: 7.492 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001411/0.00141, allocations: 180.9 kB / 319.9 MB, free: 3.07 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.311/2.311, allocations: 205.6 MB / 0.5708 GB, free: 15.28 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001329/0.001329, allocations: 100.9 kB / 0.6751 GB, free: 4.641 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.739e-05/1.745e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2585, allocations: 106.2 MB / 0.8887 GB, free: 11.88 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.445/7.703, allocations: 2.224 GB / 3.112 GB, free: 125.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003494/7.704, allocations: 99.44 kB / 3.112 GB, free: 125 MB / 0.8698 GB [/var/lib/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);. [/var/lib/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);. [/var/lib/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.3109/8.015, allocations: 68.08 MB / 3.179 GB, free: 61.76 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.745e-06/8.015, allocations: 0 / 3.179 GB, free: 61.76 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001583/8.015, allocations: 36 kB / 3.179 GB, free: 61.73 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.00537/8.02, allocations: 1.552 MB / 3.18 GB, free: 60.12 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.343e-05/8.02, allocations: 16.02 kB / 3.18 GB, free: 60.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009484/8.03, allocations: 0.8017 MB / 3.181 GB, free: 59.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002889/8.033, allocations: 0.8883 MB / 3.182 GB, free: 58.36 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.43e-05/8.033, allocations: 51.98 kB / 3.182 GB, free: 58.31 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003415/8.033, allocations: 83.98 kB / 3.182 GB, free: 58.23 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005105/8.038, allocations: 1.837 MB / 3.184 GB, free: 56.39 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004498/8.043, allocations: 1.515 MB / 3.185 GB, free: 54.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.597e-05/8.043, allocations: 0 / 3.185 GB, free: 54.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002573/8.043, allocations: 7.953 kB / 3.185 GB, free: 54.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-05/8.044, allocations: 62.75 kB / 3.185 GB, free: 54.73 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01644/8.06, allocations: 5.886 MB / 3.191 GB, free: 48.64 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003136/8.063, allocations: 1.209 MB / 3.192 GB, free: 47.42 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001455/8.065, allocations: 0.5772 MB / 3.193 GB, free: 46.84 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009477/8.066, allocations: 490.9 kB / 3.193 GB, free: 46.27 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001744/8.067, allocations: 0.7513 MB / 3.194 GB, free: 45.49 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=128): time 4.779e-06/8.067, allocations: 0 / 3.194 GB, free: 45.49 MB / 0.8698 GB Notification: Performance of matching and sorting (n=128): time 0.008554/8.076, allocations: 1.648 MB / 3.196 GB, free: 43.83 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001262/8.076, allocations: 351.5 kB / 3.196 GB, free: 43.41 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001388/8.078, allocations: 0.6684 MB / 3.197 GB, free: 42.73 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003636/8.078, allocations: 25.7 kB / 3.197 GB, free: 42.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005973/8.079, allocations: 0.5974 MB / 3.197 GB, free: 42.09 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005185/8.079, allocations: 413.7 kB / 3.198 GB, free: 41.68 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/8.079, allocations: 0 / 3.198 GB, free: 41.68 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001034/8.079, allocations: 349.9 kB / 3.198 GB, free: 41.33 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001077/8.08, allocations: 438.5 kB / 3.199 GB, free: 40.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001215/8.082, allocations: 0.6304 MB / 3.199 GB, free: 40.21 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00623/8.088, allocations: 0.9823 MB / 3.2 GB, free: 39.23 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.79e-05/8.088, allocations: 0 / 3.2 GB, free: 39.23 MB / 0.8698 GB Notification: Performance of matching and sorting (n=148) (initialization): time 0.00899/8.097, allocations: 1.718 MB / 3.202 GB, free: 37.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002942/8.097, allocations: 1.056 MB / 3.203 GB, free: 36.36 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/8.097, allocations: 4 kB / 3.203 GB, free: 36.36 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002566/8.098, allocations: 28.84 kB / 3.203 GB, free: 36.33 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003492/8.101, allocations: 327.5 kB / 3.203 GB, free: 36.01 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004609/8.102, allocations: 0.5445 MB / 3.204 GB, free: 35.44 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002833/8.105, allocations: 155 kB / 3.204 GB, free: 35.29 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003164/8.105, allocations: 59.94 kB / 3.204 GB, free: 35.23 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/8.105, allocations: 4 kB / 3.204 GB, free: 35.22 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008173/8.113, allocations: 1.573 MB / 3.205 GB, free: 33.65 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/8.113, allocations: 4 kB / 3.205 GB, free: 33.64 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/8.113, allocations: 8 kB / 3.205 GB, free: 33.64 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003397/8.117, allocations: 327.7 kB / 3.206 GB, free: 33.32 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.28e-05/8.117, allocations: 15.92 kB / 3.206 GB, free: 33.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002693/8.119, allocations: 143 kB / 3.206 GB, free: 33.16 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002963/8.12, allocations: 59.95 kB / 3.206 GB, free: 33.1 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.0004931/8.12, allocations: 126.8 kB / 3.206 GB, free: 32.97 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004198/8.121, allocations: 122.5 kB / 3.206 GB, free: 32.85 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01002/8.131, allocations: 2.005 MB / 3.208 GB, free: 30.83 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.112e-05/8.131, allocations: 12 kB / 3.208 GB, free: 30.82 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.287e-05/8.131, allocations: 4 kB / 3.208 GB, free: 30.82 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.282e-05/8.131, allocations: 7.969 kB / 3.208 GB, free: 30.81 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01333/8.144, allocations: 3.679 MB / 3.212 GB, free: 27.05 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.318e-05/8.144, allocations: 4.031 kB / 3.212 GB, free: 27.05 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003375/8.148, allocations: 307.6 kB / 3.212 GB, free: 26.75 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002334/8.148, allocations: 24.84 kB / 3.212 GB, free: 26.72 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000393/8.148, allocations: 27.97 kB / 3.212 GB, free: 26.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001048/8.15, allocations: 1.233 MB / 3.213 GB, free: 25.35 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/8.15, allocations: 0 / 3.213 GB, free: 25.35 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008827/8.158, allocations: 1.894 MB / 3.215 GB, free: 23.39 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00121/8.16, allocations: 411 kB / 3.216 GB, free: 22.97 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003332/8.16, allocations: 8 kB / 3.216 GB, free: 22.96 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002439/8.163, allocations: 111.9 kB / 3.216 GB, free: 22.86 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002563/8.163, allocations: 85.19 kB / 3.216 GB, free: 22.77 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001827/8.163, allocations: 55.91 kB / 3.216 GB, free: 22.72 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001003/8.164, allocations: 0.5421 MB / 3.216 GB, free: 22.18 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.71e-07/8.164, allocations: 0 / 3.216 GB, free: 22.18 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002904/8.167, allocations: 0.6691 MB / 3.217 GB, free: 21.51 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.001751/8.169, allocations: 0.542 MB / 3.218 GB, free: 21.07 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.004616/8.173, allocations: 1.824 MB / 3.219 GB, free: 19.24 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.027e-06/8.173, allocations: 0 / 3.219 GB, free: 19.24 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.00169/8.175, allocations: 0.7406 MB / 3.22 GB, free: 18.49 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002266/8.177, allocations: 257.5 kB / 3.22 GB, free: 18.25 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005128/8.183, allocations: 1.942 MB / 3.222 GB, free: 16.26 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008867/8.184, allocations: 1.262 MB / 3.223 GB, free: 14.96 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.004854/8.188, allocations: 0.6061 MB / 3.224 GB, free: 14.36 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000764/8.189, allocations: 131.3 kB / 3.224 GB, free: 14.23 MB / 0.8698 GB Notification: Performance of SimCode: time 1.192e-06/8.189, allocations: 0 / 3.224 GB, free: 14.23 MB / 0.8698 GB Notification: Performance of Templates: time 0.6705/8.86, allocations: 19.25 MB / 3.243 GB, free: 275.6 MB / 0.8698 GB