Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") Notification: Performance of loadModel(Buildings): time 3.994/3.994, allocations: 433.3 MB / 440.9 MB, free: 10.38 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.858e-05/2.876e-05, allocations: 4 kB / 0.5325 GB, free: 1.863 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5042/0.5043, allocations: 98.7 MB / 0.6289 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2132/0.7175, allocations: 140.6 MB / 0.7662 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002606/0.7178, allocations: 79.89 kB / 0.7663 GB, free: 2.852 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.01972/0.7376, allocations: 5.565 MB / 0.7717 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.343e-06/0.7376, allocations: 0 / 0.7717 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.633e-05/0.7376, allocations: 4 kB / 0.7717 GB, free: 13.21 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.0006141/0.7383, allocations: 457.7 kB / 0.7721 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.7383, allocations: 12.02 kB / 0.7721 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000265/0.7386, allocations: 23.84 kB / 0.7722 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003109/0.7389, allocations: 217.6 kB / 0.7724 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.859e-05/0.739, allocations: 33.83 kB / 0.7724 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.117e-05/0.7391, allocations: 8 kB / 0.7724 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002001/0.7393, allocations: 64.17 kB / 0.7725 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002797/0.7396, allocations: 128.7 kB / 0.7726 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.7396, allocations: 7.953 kB / 0.7726 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.7396, allocations: 0 / 0.7726 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.445e-05/0.7397, allocations: 4.188 kB / 0.7726 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001009/0.7407, allocations: 0.6044 MB / 0.7732 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002356/0.7409, allocations: 50.56 kB / 0.7733 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.818e-05/0.741, allocations: 16.98 kB / 0.7733 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.741, allocations: 7.922 kB / 0.7733 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002146/0.7413, allocations: 138.8 kB / 0.7734 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 2.571e-06/0.7413, allocations: 0 / 0.7734 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0002917/0.7416, allocations: 85.5 kB / 0.7735 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.862e-05/0.7417, allocations: 140.5 kB / 0.7736 GB, free: 11 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001974/0.7419, allocations: 153.5 kB / 0.7738 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/0.7419, allocations: 25.7 kB / 0.7738 GB, free: 10.81 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.7421, allocations: 143.4 kB / 0.7739 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.086e-05/0.7421, allocations: 15.81 kB / 0.7739 GB, free: 10.65 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.275e-06/0.7421, allocations: 4 kB / 0.7739 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.7423, allocations: 326.8 kB / 0.7743 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.589e-05/0.7424, allocations: 20 kB / 0.7743 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/0.7426, allocations: 101.4 kB / 0.7744 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001021/0.7427, allocations: 43.97 kB / 0.7744 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.682e-06/0.7427, allocations: 3.938 kB / 0.7744 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003709/0.7431, allocations: 157.2 kB / 0.7746 GB, free: 9.957 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.451e-05/0.7432, allocations: 63.41 kB / 0.7746 GB, free: 9.883 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.7432, allocations: 4 kB / 0.7746 GB, free: 9.879 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.7432, allocations: 4 kB / 0.7746 GB, free: 9.875 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001793/0.7434, allocations: 27.98 kB / 0.7747 GB, free: 9.848 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.496e-05/0.7434, allocations: 11.89 kB / 0.7747 GB, free: 9.836 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001886/0.7436, allocations: 32.08 kB / 0.7747 GB, free: 9.805 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.341e-05/0.7437, allocations: 8 kB / 0.7747 GB, free: 9.797 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.0001379/0.7438, allocations: 142.7 kB / 0.7749 GB, free: 9.645 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.326e-05/0.7439, allocations: 11.91 kB / 0.7749 GB, free: 9.633 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.746e-05/0.7439, allocations: 9.844 kB / 0.7749 GB, free: 9.621 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.969e-06/0.7439, allocations: 0 / 0.7749 GB, free: 9.621 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.365e-06/0.7439, allocations: 3.938 kB / 0.7749 GB, free: 9.617 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.194e-06/0.7439, allocations: 3.953 kB / 0.7749 GB, free: 9.613 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002269/0.7442, allocations: 194.1 kB / 0.7751 GB, free: 9.387 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.452e-06/0.7442, allocations: 0 / 0.7751 GB, free: 9.387 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/0.7443, allocations: 12 kB / 0.7751 GB, free: 9.375 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.97e-06/0.7443, allocations: 0 / 0.7751 GB, free: 9.375 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.7444, allocations: 0 / 0.7751 GB, free: 9.375 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.819e-06/0.7444, allocations: 0 / 0.7751 GB, free: 9.375 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.373e-06/0.7444, allocations: 7.984 kB / 0.7751 GB, free: 9.367 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003723/0.7448, allocations: 157 kB / 0.7752 GB, free: 9.195 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.658e-05/0.7449, allocations: 96.84 kB / 0.7753 GB, free: 9.082 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.815e-05/0.7449, allocations: 4 kB / 0.7753 GB, free: 9.078 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.7451, allocations: 12 kB / 0.7753 GB, free: 9.066 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.686e-05/0.7451, allocations: 7.984 kB / 0.7754 GB, free: 9.059 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.7452, allocations: 4 kB / 0.7754 GB, free: 9.055 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001502/0.7453, allocations: 132.2 kB / 0.7755 GB, free: 8.926 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.96e-07/0.7453, allocations: 0 / 0.7755 GB, free: 8.926 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003542/0.7457, allocations: 28 kB / 0.7755 GB, free: 8.898 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.0001595/0.7459, allocations: 110.5 kB / 0.7756 GB, free: 8.781 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003166/0.7462, allocations: 190.7 kB / 0.7758 GB, free: 8.57 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.713e-06/0.7462, allocations: 0 / 0.7758 GB, free: 8.57 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001399/0.7464, allocations: 103.3 kB / 0.7759 GB, free: 8.457 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002332/0.7466, allocations: 20.45 kB / 0.7759 GB, free: 8.438 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005477/0.7472, allocations: 184.5 kB / 0.7761 GB, free: 8.234 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003957/0.7476, allocations: 0.7158 MB / 0.7768 GB, free: 7.492 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001009/0.7477, allocations: 20.55 kB / 0.7768 GB, free: 7.473 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.68e-05/0.7478, allocations: 11.44 kB / 0.7768 GB, free: 7.461 MB / 0.6511 GB Notification: Performance of SimCode: time 1.501e-06/0.7478, allocations: 0 / 0.7768 GB, free: 7.461 MB / 0.6511 GB Notification: Performance of Templates: time 0.004782/0.7526, allocations: 1.104 MB / 0.7779 GB, free: 6.371 MB / 0.6511 GB