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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.453/4.453, allocations: 433.2 MB / 440.8 MB, free: 4.559 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.035e-05/2.051e-05, allocations: 1.688 kB / 0.5325 GB, free: 12.7 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.243/0.2431, allocations: 98.75 MB / 0.6289 GB, free: 9.074 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2949/0.538, allocations: 140.6 MB / 0.7662 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003251/0.5384, allocations: 79.95 kB / 0.7662 GB, free: 12.23 MB / 0.6511 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.02285/0.5613, allocations: 5.568 MB / 0.7717 GB, free: 6.59 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.234e-06/0.5613, allocations: 0 / 0.7717 GB, free: 6.59 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.042e-05/0.5614, allocations: 8 kB / 0.7717 GB, free: 6.582 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.0006821/0.5621, allocations: 453.8 kB / 0.7721 GB, free: 6.078 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/0.5621, allocations: 12.03 kB / 0.7721 GB, free: 6.066 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002815/0.5624, allocations: 27.84 kB / 0.7722 GB, free: 6.039 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003567/0.5628, allocations: 202.8 kB / 0.7724 GB, free: 5.801 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.665e-05/0.5629, allocations: 29.89 kB / 0.7724 GB, free: 5.766 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.08e-05/0.5629, allocations: 8 kB / 0.7724 GB, free: 5.758 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002258/0.5631, allocations: 64.17 kB / 0.7725 GB, free: 5.695 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003005/0.5635, allocations: 129.3 kB / 0.7726 GB, free: 5.555 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.5635, allocations: 3.938 kB / 0.7726 GB, free: 5.551 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.072e-05/0.5635, allocations: 4 kB / 0.7726 GB, free: 5.547 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.801e-05/0.5636, allocations: 8.172 kB / 0.7726 GB, free: 5.539 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001065/0.5646, allocations: 0.6062 MB / 0.7732 GB, free: 4.883 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002619/0.5649, allocations: 42.58 kB / 0.7732 GB, free: 4.832 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.469e-05/0.565, allocations: 20.98 kB / 0.7732 GB, free: 4.809 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/0.565, allocations: 0 / 0.7732 GB, free: 4.809 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002646/0.5653, allocations: 142.8 kB / 0.7734 GB, free: 4.645 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 2.134e-06/0.5653, allocations: 0 / 0.7734 GB, free: 4.645 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0003239/0.5657, allocations: 97.44 kB / 0.7735 GB, free: 4.543 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.51e-05/0.5658, allocations: 132.5 kB / 0.7736 GB, free: 4.383 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002247/0.566, allocations: 157.5 kB / 0.7738 GB, free: 4.223 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.566, allocations: 29.7 kB / 0.7738 GB, free: 4.188 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.5662, allocations: 143.4 kB / 0.7739 GB, free: 4.043 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.389e-05/0.5662, allocations: 19.8 kB / 0.7739 GB, free: 4.023 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.14e-05/0.5662, allocations: 4.156 kB / 0.7739 GB, free: 4.02 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.5664, allocations: 326.8 kB / 0.7742 GB, free: 3.691 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.464e-05/0.5665, allocations: 31.94 kB / 0.7743 GB, free: 3.66 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/0.5666, allocations: 98.02 kB / 0.7744 GB, free: 3.535 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001152/0.5667, allocations: 39.98 kB / 0.7744 GB, free: 3.496 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.5668, allocations: 0 / 0.7744 GB, free: 3.496 MB / 0.6511 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004079/0.5672, allocations: 161.3 kB / 0.7746 GB, free: 3.332 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.377e-05/0.5673, allocations: 59.41 kB / 0.7746 GB, free: 3.262 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.5673, allocations: 3.984 kB / 0.7746 GB, free: 3.258 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/0.5673, allocations: 4 kB / 0.7746 GB, free: 3.254 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002437/0.5676, allocations: 35.88 kB / 0.7747 GB, free: 3.219 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.5676, allocations: 4 kB / 0.7747 GB, free: 3.215 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002157/0.5678, allocations: 24.16 kB / 0.7747 GB, free: 3.191 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.444e-05/0.5679, allocations: 11.98 kB / 0.7747 GB, free: 3.18 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 () * 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.0001414/0.568, allocations: 146.7 kB / 0.7748 GB, free: 3.023 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002638/0.5683, allocations: 97.53 kB / 0.7749 GB, free: 2.922 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.214e-05/0.5683, allocations: 19.8 kB / 0.775 GB, free: 2.902 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.414e-05/0.5684, allocations: 17.8 kB / 0.775 GB, free: 2.883 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.5684, allocations: 0 / 0.775 GB, free: 2.883 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.5684, allocations: 0 / 0.775 GB, free: 2.883 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.5684, allocations: 4 kB / 0.775 GB, free: 2.879 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002151/0.5687, allocations: 186.2 kB / 0.7752 GB, free: 2.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.5687, allocations: 0 / 0.7752 GB, free: 2.66 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000146/0.5688, allocations: 11.98 kB / 0.7752 GB, free: 2.648 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.5688, allocations: 0 / 0.7752 GB, free: 2.648 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.489e-05/0.5689, allocations: 8 kB / 0.7752 GB, free: 2.641 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.5689, allocations: 0 / 0.7752 GB, free: 2.641 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.5689, allocations: 3.953 kB / 0.7752 GB, free: 2.637 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004171/0.5693, allocations: 157.1 kB / 0.7753 GB, free: 2.465 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.349e-05/0.5694, allocations: 92.89 kB / 0.7754 GB, free: 2.355 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.897e-05/0.5695, allocations: 0 / 0.7754 GB, free: 2.355 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001619/0.5696, allocations: 19.92 kB / 0.7754 GB, free: 2.336 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.246e-05/0.5697, allocations: 15.94 kB / 0.7754 GB, free: 2.32 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.5698, allocations: 7.875 kB / 0.7755 GB, free: 2.312 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001423/0.5699, allocations: 124.2 kB / 0.7756 GB, free: 2.191 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.11e-07/0.5699, allocations: 4 kB / 0.7756 GB, free: 2.188 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00035/0.5703, allocations: 24.06 kB / 0.7756 GB, free: 2.164 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) * 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.0007395/0.571, allocations: 0.6944 MB / 0.7763 GB, free: 1.438 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003595/0.5714, allocations: 194.7 kB / 0.7765 GB, free: 1.223 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.5714, allocations: 0.6875 kB / 0.7765 GB, free: 1.223 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001351/0.5716, allocations: 91.41 kB / 0.7766 GB, free: 1.121 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/0.5719, allocations: 19.98 kB / 0.7766 GB, free: 1.102 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000869/0.5728, allocations: 222.1 kB / 0.7768 GB, free: 0.8477 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003694/0.5732, allocations: 0.7197 MB / 0.7775 GB, free: 104 kB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001426/0.5733, allocations: 20.55 kB / 0.7775 GB, free: 84 kB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.193e-05/0.5734, allocations: 35.42 kB / 0.7775 GB, free: 48 kB / 0.6511 GB Notification: Performance of SimCode: time 1.022e-06/0.5734, allocations: 0 / 0.7775 GB, free: 48 kB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5757/1.149, allocations: 2.279 MB / 0.7798 GB, free: 144 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000244/1.149, allocations: 142.7 kB / 0.7799 GB, free: 143.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.467/3.616, allocations: 4 kB / 0.7799 GB, free: 143.8 MB / 0.6511 GB