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.0107/0.0107, allocations: 222.2 kB / 15.17 MB, free: 5.93 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.001268/0.001268, allocations: 176.8 kB / 16.06 MB, free: 5.832 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 3.549/3.549, allocations: 389.1 MB / 405.9 MB, free: 13.31 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.847/3.847, allocations: 472.3 MB / 0.9018 GB, free: 130 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005118/0.000512, allocations: 12 kB / 1.008 GB, free: 21.62 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4794/0.48, allocations: 98.7 MB / 1.104 GB, free: 10.67 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002256/0.4823, allocations: 1.949 MB / 1.106 GB, free: 8.711 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001092/0.4834, allocations: 0.756 MB / 1.107 GB, free: 7.949 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.901e-05/0.4835, allocations: 0 / 1.107 GB, free: 7.949 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 8.848e-05/0.4836, allocations: 25.69 kB / 1.107 GB, free: 7.926 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0001978/0.4838, allocations: 43.69 kB / 1.107 GB, free: 7.883 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.000153/0.484, allocations: 42.88 kB / 1.107 GB, free: 7.844 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001826/0.4842, allocations: 163.5 kB / 1.107 GB, free: 7.684 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001942/0.4844, allocations: 185.5 kB / 1.107 GB, free: 7.469 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.4845, allocations: 56.61 kB / 1.107 GB, free: 7.414 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001228/0.4847, allocations: 63.69 kB / 1.107 GB, free: 7.352 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.4847, allocations: 8.531 kB / 1.107 GB, free: 7.344 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 8.988e-05/0.4848, allocations: 25.55 kB / 1.107 GB, free: 7.32 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 4.481e-05/0.4849, allocations: 31.89 kB / 1.107 GB, free: 7.289 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 4.446e-05/0.4849, allocations: 49.64 kB / 1.107 GB, free: 7.234 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001685/0.4851, allocations: 120.9 kB / 1.107 GB, free: 7.117 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.059e-06/0.4851, allocations: 4.906 kB / 1.107 GB, free: 7.113 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.874e-06/0.4851, allocations: 0 / 1.107 GB, free: 7.113 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.978e-06/0.4851, allocations: 0 / 1.107 GB, free: 7.113 MB / 0.5105 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.0005433/0.4857, allocations: 480 kB / 1.108 GB, free: 6.586 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.4857, allocations: 8.031 kB / 1.108 GB, free: 6.578 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002535/0.486, allocations: 24.52 kB / 1.108 GB, free: 6.555 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000197/0.4862, allocations: 208.3 kB / 1.108 GB, free: 6.312 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.994e-05/0.4863, allocations: 37.88 kB / 1.108 GB, free: 6.27 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.271e-05/0.4863, allocations: 12 kB / 1.108 GB, free: 6.258 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002945/0.4866, allocations: 154.5 kB / 1.108 GB, free: 6.094 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.66e-06/0.4866, allocations: 4 kB / 1.108 GB, free: 6.09 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.803e-05/0.4867, allocations: 3.719 kB / 1.108 GB, free: 6.09 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.124e-05/0.4867, allocations: 8.188 kB / 1.108 GB, free: 6.082 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002392/0.487, allocations: 96.44 kB / 1.108 GB, free: 5.988 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008331/0.4878, allocations: 0.6457 MB / 1.109 GB, free: 5.281 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002476/0.4881, allocations: 54.55 kB / 1.109 GB, free: 5.219 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.471e-05/0.4882, allocations: 32.91 kB / 1.109 GB, free: 5.184 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.4882, allocations: 0.5625 kB / 1.109 GB, free: 5.184 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001952/0.4884, allocations: 156.6 kB / 1.109 GB, free: 5.008 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=7): time 2.48e-06/0.4884, allocations: 0 / 1.109 GB, free: 5.008 MB / 0.5105 GB Notification: Performance of matching and sorting (n=7): time 0.0004251/0.4889, allocations: 163 kB / 1.109 GB, free: 4.84 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.656e-05/0.4889, allocations: 140.5 kB / 1.11 GB, free: 4.672 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.4891, allocations: 182.3 kB / 1.11 GB, free: 4.484 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.4891, allocations: 29.7 kB / 1.11 GB, free: 4.449 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.116e-05/0.4892, allocations: 143.7 kB / 1.11 GB, free: 4.305 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.58e-05/0.4892, allocations: 23.69 kB / 1.11 GB, free: 4.281 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.809e-06/0.4893, allocations: 1.344 kB / 1.11 GB, free: 4.281 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.847e-05/0.4893, allocations: 326.8 kB / 1.11 GB, free: 3.953 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/0.4895, allocations: 36.91 kB / 1.11 GB, free: 3.918 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/0.4896, allocations: 112.2 kB / 1.11 GB, free: 3.777 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001473/0.4898, allocations: 106.9 kB / 1.111 GB, free: 3.664 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.4898, allocations: 0.5312 kB / 1.111 GB, free: 3.664 MB / 0.5105 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004226/0.4902, allocations: 251.3 kB / 1.111 GB, free: 3.402 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.037e-05/0.4903, allocations: 67.64 kB / 1.111 GB, free: 3.324 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.473e-06/0.4903, allocations: 11.94 kB / 1.111 GB, free: 3.312 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.4903, allocations: 4 kB / 1.111 GB, free: 3.309 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.4905, allocations: 27.98 kB / 1.111 GB, free: 3.281 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.4905, allocations: 4.25 kB / 1.111 GB, free: 3.277 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001684/0.4907, allocations: 31.83 kB / 1.111 GB, free: 3.246 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.907e-05/0.4907, allocations: 8 kB / 1.111 GB, free: 3.238 MB / 0.5105 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.0001186/0.4908, allocations: 163.5 kB / 1.111 GB, free: 3.062 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.69e-05/0.4909, allocations: 19.77 kB / 1.111 GB, free: 3.043 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.043e-05/0.4909, allocations: 13.41 kB / 1.111 GB, free: 3.027 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.041e-06/0.4909, allocations: 0 / 1.111 GB, free: 3.027 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.517e-06/0.4909, allocations: 4 kB / 1.111 GB, free: 3.023 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.347e-06/0.491, allocations: 3.984 kB / 1.111 GB, free: 3.02 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001537/0.4911, allocations: 205.6 kB / 1.111 GB, free: 2.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.199e-06/0.4911, allocations: 0 / 1.111 GB, free: 2.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.4913, allocations: 15.92 kB / 1.111 GB, free: 2.754 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.006e-06/0.4913, allocations: 3.953 kB / 1.111 GB, free: 2.75 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.4913, allocations: 8 kB / 1.111 GB, free: 2.742 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.023e-06/0.4913, allocations: 3.984 kB / 1.111 GB, free: 2.738 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.4913, allocations: 0 / 1.111 GB, free: 2.738 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004761/0.4918, allocations: 222.7 kB / 1.112 GB, free: 2.496 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.876e-05/0.4919, allocations: 92.91 kB / 1.112 GB, free: 2.387 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.759e-05/0.4919, allocations: 12.05 kB / 1.112 GB, free: 2.375 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001308/0.4921, allocations: 15.94 kB / 1.112 GB, free: 2.359 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.241e-05/0.4921, allocations: 7.984 kB / 1.112 GB, free: 2.352 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.4922, allocations: 4 kB / 1.112 GB, free: 2.348 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001039/0.4923, allocations: 131.2 kB / 1.112 GB, free: 2.219 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.59e-07/0.4923, allocations: 0 / 1.112 GB, free: 2.219 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003199/0.4926, allocations: 31.94 kB / 1.112 GB, free: 2.188 MB / 0.5105 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 8.888e-05/0.4927, allocations: 111.2 kB / 1.112 GB, free: 2.07 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000342/0.4931, allocations: 214.7 kB / 1.112 GB, free: 1.836 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.4931, allocations: 0 / 1.112 GB, free: 1.836 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001406/0.4932, allocations: 112 kB / 1.112 GB, free: 1.715 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.4935, allocations: 23.92 kB / 1.112 GB, free: 1.691 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005744/0.4941, allocations: 341.4 kB / 1.113 GB, free: 1.34 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001517/0.4943, allocations: 0.716 MB / 1.113 GB, free: 0.5977 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 9.74e-05/0.4944, allocations: 24.8 kB / 1.113 GB, free: 0.5742 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.324e-05/0.4944, allocations: 11.44 kB / 1.113 GB, free: 0.5625 MB / 0.5105 GB Notification: Performance of SimCode: time 1.247e-06/0.4944, allocations: 0 / 1.113 GB, free: 0.5625 MB / 0.5105 GB Notification: Performance of Templates: time 0.00466/0.4991, allocations: 1.201 MB / 1.114 GB, free: 15.37 MB / 0.5261 GB