Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.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.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadModel(Buildings): time 3.946/3.946, allocations: 433.4 MB / 440.9 MB, free: 10.37 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.93e-05/1.937e-05, allocations: 4 kB / 0.5325 GB, free: 1.859 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5009/0.5009, allocations: 98.71 MB / 0.6289 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2279/0.7289, allocations: 145.8 MB / 0.7713 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003165/0.7293, allocations: 99.92 kB / 0.7714 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.05155/0.7808, allocations: 14.06 MB / 0.7851 GB, free: 15.38 MB / 0.6667 GB Notification: Performance of FrontEnd: time 6.582e-06/0.7809, allocations: 4 kB / 0.7851 GB, free: 15.38 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.493e-05/0.7809, allocations: 3.938 kB / 0.7851 GB, free: 15.38 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0007553/0.7817, allocations: 465.2 kB / 0.7856 GB, free: 14.88 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.7817, allocations: 16 kB / 0.7856 GB, free: 14.86 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008547/0.7826, allocations: 83.62 kB / 0.7857 GB, free: 14.78 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003645/0.783, allocations: 238.7 kB / 0.7859 GB, free: 14.5 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.783, allocations: 8 kB / 0.7859 GB, free: 14.5 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.116e-05/0.7831, allocations: 12 kB / 0.7859 GB, free: 14.48 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004286/0.7835, allocations: 180.6 kB / 0.7861 GB, free: 14.3 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005349/0.7841, allocations: 283.8 kB / 0.7864 GB, free: 14 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.7841, allocations: 0 / 0.7864 GB, free: 14 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.094e-05/0.7841, allocations: 0 / 0.7864 GB, free: 14 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-05/0.7842, allocations: 23.98 kB / 0.7864 GB, free: 13.97 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002114/0.7863, allocations: 1.582 MB / 0.7879 GB, free: 12.25 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007937/0.7872, allocations: 411.2 kB / 0.7883 GB, free: 11.8 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001609/0.7873, allocations: 81.69 kB / 0.7884 GB, free: 11.71 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001808/0.7875, allocations: 97.02 kB / 0.7885 GB, free: 11.6 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/0.7876, allocations: 34.56 kB / 0.7885 GB, free: 11.55 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=13): time 3.063e-06/0.7876, allocations: 0 / 0.7885 GB, free: 11.55 MB / 0.6667 GB Notification: Performance of matching and sorting (n=14): time 0.0008274/0.7884, allocations: 244.6 kB / 0.7888 GB, free: 11.31 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.124e-05/0.7885, allocations: 81.11 kB / 0.7888 GB, free: 11.21 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.7887, allocations: 153.5 kB / 0.789 GB, free: 11.06 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.743e-05/0.7887, allocations: 29.7 kB / 0.789 GB, free: 11.02 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.7889, allocations: 148 kB / 0.7892 GB, free: 10.88 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 5.581e-05/0.7889, allocations: 47.27 kB / 0.7892 GB, free: 10.83 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.303e-05/0.789, allocations: 3.938 kB / 0.7892 GB, free: 10.82 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.7891, allocations: 326.8 kB / 0.7895 GB, free: 10.5 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.7893, allocations: 67.97 kB / 0.7896 GB, free: 10.43 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000227/0.7895, allocations: 141.4 kB / 0.7897 GB, free: 10.26 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000344/0.7899, allocations: 119.8 kB / 0.7898 GB, free: 10.14 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.024e-06/0.7899, allocations: 0 / 0.7898 GB, free: 10.14 MB / 0.6667 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006604/0.7906, allocations: 265.2 kB / 0.7901 GB, free: 9.875 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005263/0.7911, allocations: 0.9631 MB / 0.791 GB, free: 8.84 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.712e-06/0.7911, allocations: 4 kB / 0.791 GB, free: 8.836 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.7912, allocations: 4 kB / 0.791 GB, free: 8.832 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003305/0.7915, allocations: 59.89 kB / 0.7911 GB, free: 8.773 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.7915, allocations: 4 kB / 0.7911 GB, free: 8.77 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002057/0.7918, allocations: 15.92 kB / 0.7911 GB, free: 8.754 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.001e-05/0.7918, allocations: 11.98 kB / 0.7911 GB, free: 8.742 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.7918, allocations: 4 kB / 0.7911 GB, free: 8.738 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005547/0.7924, allocations: 203.6 kB / 0.7913 GB, free: 8.539 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.95e-06/0.7924, allocations: 4 kB / 0.7913 GB, free: 8.535 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.7924, allocations: 4 kB / 0.7913 GB, free: 8.531 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002446/0.7927, allocations: 47.95 kB / 0.7914 GB, free: 8.484 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.7927, allocations: 7.938 kB / 0.7914 GB, free: 8.477 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000152/0.7929, allocations: 7.906 kB / 0.7914 GB, free: 8.469 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.755e-05/0.7929, allocations: 15.98 kB / 0.7914 GB, free: 8.453 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * 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.0001206/0.793, allocations: 117.2 kB / 0.7915 GB, free: 8.332 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.247e-05/0.7932, allocations: 11.91 kB / 0.7915 GB, free: 8.32 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005248/0.7937, allocations: 202.8 kB / 0.7917 GB, free: 8.117 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.071e-06/0.7937, allocations: 0 / 0.7917 GB, free: 8.117 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.038e-06/0.7937, allocations: 0 / 0.7917 GB, free: 8.117 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.7937, allocations: 4.188 kB / 0.7917 GB, free: 8.113 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001687/0.7954, allocations: 0.9072 MB / 0.7926 GB, free: 7.105 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/0.7955, allocations: 11.94 kB / 0.7926 GB, free: 7.094 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001884/0.7957, allocations: 35.97 kB / 0.7927 GB, free: 7.059 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.494e-05/0.7957, allocations: 7.953 kB / 0.7927 GB, free: 7.051 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/0.7957, allocations: 8 kB / 0.7927 GB, free: 7.043 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.186e-06/0.7958, allocations: 7.938 kB / 0.7927 GB, free: 7.035 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.726e-06/0.7958, allocations: 4 kB / 0.7927 GB, free: 7.031 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000707/0.7965, allocations: 0.5736 MB / 0.7932 GB, free: 6.324 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001405/0.7966, allocations: 112.9 kB / 0.7933 GB, free: 6.195 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.772e-05/0.7967, allocations: 8 kB / 0.7934 GB, free: 6.188 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002637/0.797, allocations: 11.98 kB / 0.7934 GB, free: 6.176 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.47e-05/0.797, allocations: 19.88 kB / 0.7934 GB, free: 6.156 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/0.7971, allocations: 8 kB / 0.7934 GB, free: 6.148 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0001365/0.7972, allocations: 122.1 kB / 0.7935 GB, free: 6.031 MB / 0.6667 GB Notification: Performance of sort global known variables: time 8e-07/0.7972, allocations: 0 / 0.7935 GB, free: 6.031 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0007597/0.798, allocations: 75.98 kB / 0.7936 GB, free: 5.957 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * 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.0002011/0.7982, allocations: 127.1 kB / 0.7937 GB, free: 5.82 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0005746/0.7988, allocations: 271.6 kB / 0.794 GB, free: 5.555 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.876e-06/0.7988, allocations: 0 / 0.794 GB, free: 5.555 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001548/0.799, allocations: 77.7 kB / 0.794 GB, free: 5.48 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004113/0.7994, allocations: 34.58 kB / 0.7941 GB, free: 5.449 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008539/0.8003, allocations: 364.1 kB / 0.7944 GB, free: 5.031 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004705/0.8008, allocations: 0.7482 MB / 0.7951 GB, free: 4.254 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0003213/0.8011, allocations: 89.78 kB / 0.7952 GB, free: 4.168 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.356e-05/0.8012, allocations: 15.44 kB / 0.7952 GB, free: 4.152 MB / 0.6667 GB Notification: Performance of SimCode: time 1.681e-06/0.8012, allocations: 0 / 0.7952 GB, free: 4.152 MB / 0.6667 GB Notification: Performance of Templates: time 0.00596/0.8072, allocations: 1.713 MB / 0.7969 GB, free: 2.441 MB / 0.6667 GB