Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01866/0.01866, allocations: 106.2 kB / 15.05 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.00199/0.001991, allocations: 186.3 kB / 15.95 MB, free: 5.898 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.968/1.968, allocations: 194.6 MB / 211.3 MB, free: 11.07 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.275/2.275, allocations: 236.2 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004721/0.0004721, allocations: 8 kB / 0.587 GB, free: 2.098 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6558/0.6564, allocations: 98.72 MB / 0.6834 GB, free: 16.72 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.247/0.9035, allocations: 141.3 MB / 0.8214 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003055/0.9038, allocations: 79.95 kB / 0.8215 GB, free: 0.8594 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.02111/0.9249, allocations: 5.643 MB / 0.827 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.284e-06/0.925, allocations: 0 / 0.827 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.586e-05/0.925, allocations: 4 kB / 0.827 GB, free: 11.13 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007103/0.9257, allocations: 490.6 kB / 0.8275 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.9258, allocations: 8.031 kB / 0.8275 GB, free: 10.58 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.161e-05/0.9259, allocations: 38.56 kB / 0.8275 GB, free: 10.53 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002736/0.9262, allocations: 31.75 kB / 0.8276 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002819/0.9265, allocations: 206.8 kB / 0.8278 GB, free: 10.26 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.741e-05/0.9265, allocations: 29.89 kB / 0.8278 GB, free: 10.22 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.079e-05/0.9266, allocations: 12 kB / 0.8278 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003993/0.927, allocations: 152.9 kB / 0.828 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.927, allocations: 3.938 kB / 0.828 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.707e-05/0.9271, allocations: 11.94 kB / 0.828 GB, free: 10.03 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.381e-05/0.9271, allocations: 4.188 kB / 0.828 GB, free: 10.03 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003436/0.9274, allocations: 84.52 kB / 0.8281 GB, free: 9.945 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001058/0.9285, allocations: 0.6334 MB / 0.8287 GB, free: 9.25 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003182/0.9289, allocations: 66.44 kB / 0.8287 GB, free: 9.176 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.203e-05/0.9289, allocations: 0 / 0.8287 GB, free: 9.176 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002502/0.9291, allocations: 150.9 kB / 0.8289 GB, free: 9.004 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 2.013e-06/0.9292, allocations: 0 / 0.8289 GB, free: 9.004 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0005798/0.9297, allocations: 248.3 kB / 0.8291 GB, free: 8.73 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.709e-05/0.9299, allocations: 128.5 kB / 0.8292 GB, free: 8.574 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002183/0.9301, allocations: 173.4 kB / 0.8294 GB, free: 8.398 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.905e-05/0.9301, allocations: 29.7 kB / 0.8294 GB, free: 8.363 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.9302, allocations: 135.8 kB / 0.8296 GB, free: 8.223 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.763e-05/0.9303, allocations: 27.64 kB / 0.8296 GB, free: 8.195 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.318e-05/0.9303, allocations: 0 / 0.8296 GB, free: 8.195 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.9304, allocations: 330.8 kB / 0.8299 GB, free: 7.863 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.9306, allocations: 31.98 kB / 0.8299 GB, free: 7.832 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001993/0.9308, allocations: 106.1 kB / 0.83 GB, free: 7.695 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002042/0.931, allocations: 111.3 kB / 0.8301 GB, free: 7.574 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.931, allocations: 0 / 0.8301 GB, free: 7.574 MB / 0.6511 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005816/0.9316, allocations: 244.7 kB / 0.8304 GB, free: 7.316 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 5.671e-05/0.9317, allocations: 68.75 kB / 0.8304 GB, free: 7.238 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.9317, allocations: 4 kB / 0.8305 GB, free: 7.234 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.283e-05/0.9318, allocations: 7.953 kB / 0.8305 GB, free: 7.227 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002096/0.932, allocations: 36.23 kB / 0.8305 GB, free: 7.191 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.932, allocations: 4 kB / 0.8305 GB, free: 7.188 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002154/0.9322, allocations: 27.73 kB / 0.8305 GB, free: 7.16 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.417e-05/0.9323, allocations: 12 kB / 0.8305 GB, free: 7.148 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,$PRE.voltageControl.ctrl.connected,voltageControl.ctrl.connected,$PRE.voltageControl.ctrl.tSwitch,voltageControl.ctrl.tSwitch) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 2 * 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.0001734/0.9324, allocations: 169.4 kB / 0.8307 GB, free: 6.969 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.863e-05/0.9325, allocations: 7.906 kB / 0.8307 GB, free: 6.961 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.903e-05/0.9325, allocations: 21.39 kB / 0.8307 GB, free: 6.945 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.9325, allocations: 3.953 kB / 0.8307 GB, free: 6.941 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.9326, allocations: 4 kB / 0.8307 GB, free: 6.938 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.9326, allocations: 0 / 0.8307 GB, free: 6.938 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002228/0.9328, allocations: 205.6 kB / 0.8309 GB, free: 6.688 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.9328, allocations: 7.922 kB / 0.8309 GB, free: 6.68 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001311/0.933, allocations: 8 kB / 0.8309 GB, free: 6.672 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.933, allocations: 0 / 0.8309 GB, free: 6.672 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.161e-05/0.933, allocations: 8 kB / 0.831 GB, free: 6.664 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.933, allocations: 0 / 0.831 GB, free: 6.664 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.933, allocations: 3.953 kB / 0.831 GB, free: 6.66 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005685/0.9336, allocations: 218.8 kB / 0.8312 GB, free: 6.422 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.049e-05/0.9337, allocations: 85.05 kB / 0.8312 GB, free: 6.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.467e-05/0.9337, allocations: 8 kB / 0.8313 GB, free: 6.312 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001581/0.9339, allocations: 16.05 kB / 0.8313 GB, free: 6.297 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.141e-05/0.934, allocations: 7.984 kB / 0.8313 GB, free: 6.289 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.934, allocations: 3.953 kB / 0.8313 GB, free: 6.285 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001458/0.9342, allocations: 132.8 kB / 0.8314 GB, free: 6.156 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.11e-07/0.9342, allocations: 0 / 0.8314 GB, free: 6.156 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003399/0.9345, allocations: 39.84 kB / 0.8314 GB, free: 6.117 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageControl.y) * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch) * Number of discrete states: 4 ($whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0008989/0.9354, allocations: 0.7656 MB / 0.8322 GB, free: 5.32 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004499/0.9359, allocations: 211.4 kB / 0.8324 GB, free: 5.09 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.9359, allocations: 7.938 kB / 0.8324 GB, free: 5.082 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001947/0.9361, allocations: 111.4 kB / 0.8325 GB, free: 4.961 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002401/0.9364, allocations: 11.94 kB / 0.8325 GB, free: 4.949 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002523/0.9389, allocations: 2.428 MB / 0.8349 GB, free: 2.418 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/0.9393, allocations: 0.7121 MB / 0.8356 GB, free: 1.68 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001295/0.9394, allocations: 20.62 kB / 0.8356 GB, free: 1.66 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.806e-05/0.9395, allocations: 39.42 kB / 0.8356 GB, free: 1.621 MB / 0.6511 GB Notification: Performance of SimCode: time 9.12e-07/0.9395, allocations: 0 / 0.8356 GB, free: 1.621 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02727/0.9668, allocations: 2.66 MB / 0.8382 GB, free: 15.08 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003143/0.9672, allocations: 183.4 kB / 0.8384 GB, free: 14.84 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.407/3.374, allocations: 3.938 kB / 0.8384 GB, free: 14.84 MB / 0.6667 GB