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: 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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009087/0.009092, allocations: 108.5 kB / 15.06 MB, free: 6.039 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.001087/0.001087, allocations: 180.4 kB / 15.95 MB, free: 5.957 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.933/1.933, allocations: 194.5 MB / 211.3 MB, free: 11.04 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.359/2.359, allocations: 236.2 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004613/0.0004615, allocations: 12 kB / 0.5869 GB, free: 2.18 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5432/0.5437, allocations: 98.71 MB / 0.6833 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.00269/0.5464, allocations: 1.922 MB / 0.6852 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001321/0.5478, allocations: 0.7534 MB / 0.6859 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.996e-05/0.5479, allocations: 6.5 kB / 0.6859 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001095/0.548, allocations: 18.3 kB / 0.686 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0002077/0.5482, allocations: 42.8 kB / 0.686 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001699/0.5484, allocations: 37.8 kB / 0.686 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001749/0.5486, allocations: 95.05 kB / 0.6861 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002167/0.5488, allocations: 185.7 kB / 0.6863 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.549, allocations: 48.23 kB / 0.6864 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.5491, allocations: 51.53 kB / 0.6864 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.58e-05/0.5492, allocations: 5.344 kB / 0.6864 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 8.968e-05/0.5493, allocations: 20.5 kB / 0.6864 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 5.325e-05/0.5493, allocations: 32.09 kB / 0.6865 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 5.688e-05/0.5494, allocations: 54.34 kB / 0.6865 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002146/0.5496, allocations: 118.1 kB / 0.6866 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.938e-06/0.5496, allocations: 4 kB / 0.6866 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2e-06/0.5497, allocations: 0 / 0.6866 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.734e-06/0.5497, allocations: 1.781 kB / 0.6866 GB, free: 14.52 MB / 0.5261 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.0006046/0.5503, allocations: 477.7 kB / 0.6871 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.5503, allocations: 12.98 kB / 0.6871 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002685/0.5506, allocations: 27.7 kB / 0.6871 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002184/0.5509, allocations: 207.7 kB / 0.6873 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.562e-05/0.5509, allocations: 40.8 kB / 0.6874 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.568e-05/0.551, allocations: 11.62 kB / 0.6874 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003448/0.5513, allocations: 158.8 kB / 0.6875 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.5514, allocations: 1 kB / 0.6875 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.106e-05/0.5514, allocations: 5.125 kB / 0.6875 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.297e-05/0.5514, allocations: 5.781 kB / 0.6875 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002801/0.5517, allocations: 94.39 kB / 0.6876 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009345/0.5527, allocations: 0.6432 MB / 0.6883 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002735/0.553, allocations: 53.81 kB / 0.6883 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.553, allocations: 5.344 kB / 0.6883 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002365/0.5533, allocations: 150.6 kB / 0.6885 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 3.883e-06/0.5533, allocations: 0 / 0.6885 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.0005004/0.5538, allocations: 245.3 kB / 0.6887 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.5538, allocations: 136.9 kB / 0.6888 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002017/0.5541, allocations: 182.8 kB / 0.689 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.5541, allocations: 32.02 kB / 0.689 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.849e-05/0.5542, allocations: 141.7 kB / 0.6892 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.067e-05/0.5542, allocations: 26.16 kB / 0.6892 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.127e-05/0.5542, allocations: 5.094 kB / 0.6892 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.574e-05/0.5543, allocations: 323.1 kB / 0.6895 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/0.5545, allocations: 39.42 kB / 0.6895 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001599/0.5546, allocations: 117.6 kB / 0.6896 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001657/0.5548, allocations: 105.8 kB / 0.6897 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.436e-06/0.5548, allocations: 1.312 kB / 0.6897 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005047/0.5553, allocations: 244.7 kB / 0.69 GB, free: 11.58 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.22e-05/0.5554, allocations: 69.11 kB / 0.69 GB, free: 11.51 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.892e-06/0.5554, allocations: 2.281 kB / 0.69 GB, free: 11.51 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.5555, allocations: 4.062 kB / 0.6901 GB, free: 11.51 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001711/0.5556, allocations: 36.3 kB / 0.6901 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.5557, allocations: 5.344 kB / 0.6901 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001886/0.5559, allocations: 27.8 kB / 0.6901 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.466e-05/0.5559, allocations: 11.53 kB / 0.6901 GB, free: 11.49 MB / 0.5261 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.0001365/0.556, allocations: 165.8 kB / 0.6903 GB, free: 11.33 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.325e-05/0.5561, allocations: 23.22 kB / 0.6903 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.632e-05/0.5561, allocations: 15.53 kB / 0.6903 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.585e-06/0.5562, allocations: 0 / 0.6903 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.476e-06/0.5562, allocations: 1.969 kB / 0.6903 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.5562, allocations: 0 / 0.6903 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001902/0.5564, allocations: 214 kB / 0.6905 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.167e-06/0.5564, allocations: 0 / 0.6905 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.5565, allocations: 12.41 kB / 0.6905 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.758e-06/0.5565, allocations: 4 kB / 0.6905 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.877e-05/0.5566, allocations: 6.219 kB / 0.6906 GB, free: 11.08 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.266e-06/0.5566, allocations: 1.781 kB / 0.6906 GB, free: 11.08 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.372e-06/0.5566, allocations: 3.938 kB / 0.6906 GB, free: 11.08 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005017/0.5571, allocations: 214 kB / 0.6908 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.115e-05/0.5571, allocations: 95.47 kB / 0.6909 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.881e-05/0.5572, allocations: 3.609 kB / 0.6909 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.5573, allocations: 16.22 kB / 0.6909 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.05e-05/0.5574, allocations: 15.47 kB / 0.6909 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.5574, allocations: 3.219 kB / 0.6909 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001256/0.5576, allocations: 129.2 kB / 0.691 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.22e-07/0.5576, allocations: 0 / 0.691 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003557/0.558, allocations: 35.59 kB / 0.691 GB, free: 10.72 MB / 0.5261 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 9.996e-05/0.5581, allocations: 104.3 kB / 0.6911 GB, free: 10.63 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003828/0.5585, allocations: 218 kB / 0.6914 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.911e-06/0.5585, allocations: 1.188 kB / 0.6914 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001605/0.5587, allocations: 114.3 kB / 0.6915 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002151/0.5589, allocations: 17.42 kB / 0.6915 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006791/0.5596, allocations: 331.5 kB / 0.6918 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001782/0.5598, allocations: 0.7192 MB / 0.6925 GB, free: 9.461 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001071/0.5599, allocations: 20.67 kB / 0.6925 GB, free: 9.457 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.533e-05/0.5599, allocations: 14.42 kB / 0.6925 GB, free: 9.449 MB / 0.5261 GB Notification: Performance of SimCode: time 1.267e-06/0.56, allocations: 0 / 0.6925 GB, free: 9.449 MB / 0.5261 GB Notification: Performance of Templates: time 0.004929/0.5649, allocations: 1.208 MB / 0.6937 GB, free: 9.309 MB / 0.5261 GB