Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.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.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.344/4.344, allocations: 433.2 MB / 440.7 MB, free: 4.57 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.583e-05/2.584e-05, allocations: 8.891 kB / 0.5325 GB, free: 12.77 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.2197, allocations: 98.72 MB / 0.6289 GB, free: 9.141 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9027/1.122, allocations: 158.3 MB / 0.7835 GB, free: 60.82 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000388/1.123, allocations: 100.3 kB / 0.7836 GB, free: 60.82 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.3909/1.514, allocations: 104.4 MB / 0.8855 GB, free: 32.53 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.624e-06/1.514, allocations: 0 / 0.8855 GB, free: 32.53 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001596/1.514, allocations: 70.08 kB / 0.8856 GB, free: 32.52 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: 803 * Number of variables: 803 Notification: Performance of Generate backend data structure: time 0.01084/1.525, allocations: 2.443 MB / 0.8879 GB, free: 31.09 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/1.525, allocations: 11.75 kB / 0.888 GB, free: 31.09 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00954/1.535, allocations: 1.001 MB / 0.8889 GB, free: 30.64 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005651/1.54, allocations: 1.644 MB / 0.8905 GB, free: 30.03 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002005/1.541, allocations: 95.69 kB / 0.8906 GB, free: 30.03 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001707/1.542, allocations: 172.1 kB / 0.8908 GB, free: 30.03 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01303/1.555, allocations: 3.607 MB / 0.8943 GB, free: 29.57 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0203/1.576, allocations: 4.306 MB / 0.8985 GB, free: 26.99 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001573/1.576, allocations: 0 / 0.8985 GB, free: 26.99 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001412/1.577, allocations: 7.938 kB / 0.8985 GB, free: 26.98 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004488/1.578, allocations: 185.1 kB / 0.8987 GB, free: 26.8 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0513/1.629, allocations: 22.26 MB / 0.9204 GB, free: 2.32 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008081/1.637, allocations: 3.119 MB / 0.9235 GB, free: 14.93 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002162/1.64, allocations: 0.8709 MB / 0.9243 GB, free: 14.04 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002484/1.64, allocations: 101.9 kB / 0.9244 GB, free: 13.92 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.554e-05/1.64, allocations: 51.28 kB / 0.9245 GB, free: 13.86 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=82): time 4.048e-06/1.64, allocations: 0 / 0.9245 GB, free: 13.86 MB / 0.6667 GB Notification: Performance of matching and sorting (n=82): time 0.004499/1.644, allocations: 1.475 MB / 0.9259 GB, free: 12.38 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001338/1.645, allocations: 222.6 kB / 0.9261 GB, free: 12.11 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002272/1.647, allocations: 0.9414 MB / 0.9271 GB, free: 11.17 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002863/1.647, allocations: 25.7 kB / 0.9271 GB, free: 11.14 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.001317/1.649, allocations: 1.285 MB / 0.9283 GB, free: 9.832 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005711/1.649, allocations: 288 kB / 0.9286 GB, free: 9.547 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001885/1.649, allocations: 0 / 0.9286 GB, free: 9.547 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0003138/1.65, allocations: 410.7 kB / 0.929 GB, free: 9.137 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002059/1.652, allocations: 0.8199 MB / 0.9298 GB, free: 8.316 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002816/1.655, allocations: 1.436 MB / 0.9312 GB, free: 6.602 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004629/1.659, allocations: 1.395 MB / 0.9326 GB, free: 5.203 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.819e-05/1.659, allocations: 4 kB / 0.9326 GB, free: 5.199 MB / 0.6667 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.007893/1.667, allocations: 2.542 MB / 0.9351 GB, free: 2.648 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.003218/1.671, allocations: 7.499 MB / 0.9424 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.849e-05/1.671, allocations: 16 kB / 0.9424 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.408e-05/1.671, allocations: 35.94 kB / 0.9424 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003657/1.674, allocations: 467.2 kB / 0.9429 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.288e-05/1.675, allocations: 43.8 kB / 0.9429 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003104/1.678, allocations: 317.9 kB / 0.9432 GB, free: 9.703 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003576/1.678, allocations: 75.98 kB / 0.9433 GB, free: 9.629 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/1.678, allocations: 8 kB / 0.9433 GB, free: 9.621 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009057/1.687, allocations: 2.237 MB / 0.9455 GB, free: 7.383 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001556/1.687, allocations: 23.95 kB / 0.9455 GB, free: 7.359 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.454e-05/1.687, allocations: 32 kB / 0.9455 GB, free: 7.328 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004804/1.692, allocations: 443.8 kB / 0.946 GB, free: 6.895 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.331e-05/1.692, allocations: 43.86 kB / 0.946 GB, free: 6.852 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004014/1.696, allocations: 218.6 kB / 0.9462 GB, free: 6.637 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005335/1.697, allocations: 79.97 kB / 0.9463 GB, free: 6.559 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (197): * Single equations (assignments): 197 * 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.0006243/1.698, allocations: 156.4 kB / 0.9464 GB, free: 6.398 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005341/1.703, allocations: 1.471 MB / 0.9479 GB, free: 4.918 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004466/1.704, allocations: 102.8 kB / 0.948 GB, free: 4.816 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004156/1.708, allocations: 1.532 MB / 0.9495 GB, free: 3.266 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.686e-05/1.708, allocations: 12 kB / 0.9495 GB, free: 3.254 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/1.708, allocations: 4 kB / 0.9495 GB, free: 3.25 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.529e-05/1.708, allocations: 3.984 kB / 0.9495 GB, free: 3.246 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009952/1.718, allocations: 3.758 MB / 0.9532 GB, free: 15.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.295e-05/1.718, allocations: 4 kB / 0.9532 GB, free: 15.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001887/1.72, allocations: 227.6 kB / 0.9534 GB, free: 15.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.577e-05/1.72, allocations: 8 kB / 0.9534 GB, free: 15.15 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.149e-05/1.72, allocations: 4 kB / 0.9534 GB, free: 15.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.138e-05/1.72, allocations: 11.89 kB / 0.9534 GB, free: 15.13 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.225e-06/1.72, allocations: 4 kB / 0.9534 GB, free: 15.13 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003856/1.724, allocations: 1.952 MB / 0.9553 GB, free: 13.12 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001017/1.725, allocations: 363.5 kB / 0.9557 GB, free: 12.74 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002402/1.725, allocations: 4 kB / 0.9557 GB, free: 12.74 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001703/1.727, allocations: 115.8 kB / 0.9558 GB, free: 12.62 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002219/1.727, allocations: 52.7 kB / 0.9558 GB, free: 12.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.621e-05/1.727, allocations: 20 kB / 0.9558 GB, free: 12.55 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001625/1.729, allocations: 0.7411 MB / 0.9566 GB, free: 11.81 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.71e-07/1.729, allocations: 0 / 0.9566 GB, free: 11.81 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.005298/1.734, allocations: 1.286 MB / 0.9578 GB, free: 10.52 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 85 * 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.004474/1.739, allocations: 2.933 MB / 0.9607 GB, free: 7.531 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.006347/1.745, allocations: 2.766 MB / 0.9634 GB, free: 4.773 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/1.745, allocations: 0 / 0.9634 GB, free: 4.773 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00135/1.746, allocations: 0.6217 MB / 0.964 GB, free: 4.152 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001714/1.748, allocations: 156.1 kB / 0.9641 GB, free: 4.008 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01321/1.761, allocations: 4.385 MB / 0.9684 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00346/1.765, allocations: 2.264 MB / 0.9706 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.005155/1.77, allocations: 1.156 MB / 0.9718 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001996/1.772, allocations: 0.8195 MB / 0.9726 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of SimCode: time 1.102e-06/1.772, allocations: 0 / 0.9726 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1061/1.878, allocations: 31.53 MB / 1.003 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002222/1.878, allocations: 163.9 kB / 1.004 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.294/5.173, allocations: 0 / 1.004 GB, free: 11.62 MB / 0.7448 GB