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.Loads.Examples.Loads_N.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.508/4.508, allocations: 432.6 MB / 445.2 MB, free: 15.85 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.376e-05/3.385e-05, allocations: 3.594 kB / 0.5383 GB, free: 10.32 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2064/0.2065, allocations: 98.73 MB / 0.6347 GB, free: 1.895 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9643/1.171, allocations: 166.8 MB / 0.7976 GB, free: 46.34 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003719/1.171, allocations: 96.22 kB / 0.7977 GB, free: 46.34 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.413/1.584, allocations: 111.7 MB / 0.9068 GB, free: 4.84 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.815e-06/1.584, allocations: 0 / 0.9068 GB, free: 4.84 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001927/1.585, allocations: 67.83 kB / 0.9068 GB, free: 4.777 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: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.01063/1.595, allocations: 2.418 MB / 0.9092 GB, free: 2.312 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.502e-05/1.595, allocations: 8.031 kB / 0.9092 GB, free: 2.305 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002433/1.598, allocations: 449.1 kB / 0.9096 GB, free: 1.859 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006701/1.604, allocations: 0.6986 MB / 0.9103 GB, free: 1.16 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005912/1.61, allocations: 1.605 MB / 0.9119 GB, free: 15.53 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003539/1.611, allocations: 221.5 kB / 0.9121 GB, free: 15.31 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00163/1.613, allocations: 283.3 kB / 0.9124 GB, free: 15.04 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01649/1.629, allocations: 4.539 MB / 0.9168 GB, free: 10.34 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000137/1.629, allocations: 11.84 kB / 0.9168 GB, free: 10.32 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007632/1.63, allocations: 119.8 kB / 0.9169 GB, free: 10.21 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003705/1.63, allocations: 188.6 kB / 0.9171 GB, free: 10.02 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01284/1.643, allocations: 3.655 MB / 0.9207 GB, free: 6.352 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04663/1.69, allocations: 23.06 MB / 0.9432 GB, free: 13.25 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0051/1.695, allocations: 1.543 MB / 0.9447 GB, free: 11.67 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002053/1.697, allocations: 0.8403 MB / 0.9455 GB, free: 10.82 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002788/1.698, allocations: 101.3 kB / 0.9456 GB, free: 10.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.115e-05/1.698, allocations: 43.12 kB / 0.9457 GB, free: 10.65 MB / 0.698 GB Notification: Performance of pre-optimization done (n=72): time 6.342e-06/1.698, allocations: 0 / 0.9457 GB, free: 10.65 MB / 0.698 GB Notification: Performance of matching and sorting (n=75): time 0.007733/1.705, allocations: 2.908 MB / 0.9485 GB, free: 7.707 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/1.706, allocations: 141.4 kB / 0.9486 GB, free: 7.539 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00212/1.708, allocations: 0.9263 MB / 0.9496 GB, free: 6.605 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002578/1.708, allocations: 37.7 kB / 0.9496 GB, free: 6.562 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001144/1.709, allocations: 1.196 MB / 0.9508 GB, free: 5.355 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005061/1.71, allocations: 267.9 kB / 0.951 GB, free: 5.094 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001608/1.71, allocations: 24 kB / 0.951 GB, free: 5.07 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0003177/1.71, allocations: 410.7 kB / 0.9514 GB, free: 4.66 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00199/1.712, allocations: 0.7561 MB / 0.9522 GB, free: 3.902 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002476/1.715, allocations: 1.256 MB / 0.9534 GB, free: 2.422 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002473/1.717, allocations: 0.9639 MB / 0.9543 GB, free: 1.461 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.081e-05/1.717, allocations: 4 kB / 0.9543 GB, free: 1.457 MB / 0.698 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.00575/1.723, allocations: 2.092 MB / 0.9564 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.002817/1.726, allocations: 5.494 MB / 0.9617 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.204e-05/1.726, allocations: 19.98 kB / 0.9618 GB, free: 9.41 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.37e-05/1.726, allocations: 24 kB / 0.9618 GB, free: 9.387 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003522/1.73, allocations: 419.3 kB / 0.9622 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.323e-05/1.73, allocations: 31.86 kB / 0.9622 GB, free: 8.945 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002972/1.733, allocations: 255.2 kB / 0.9625 GB, free: 8.695 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002556/1.733, allocations: 59.98 kB / 0.9625 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/1.733, allocations: 7.953 kB / 0.9625 GB, free: 8.629 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004519/1.737, allocations: 1.689 MB / 0.9642 GB, free: 6.941 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.334e-05/1.738, allocations: 16 kB / 0.9642 GB, free: 6.926 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.714e-05/1.738, allocations: 24 kB / 0.9642 GB, free: 6.902 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00273/1.74, allocations: 363.9 kB / 0.9646 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.235e-05/1.74, allocations: 27.92 kB / 0.9646 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002085/1.743, allocations: 179.3 kB / 0.9648 GB, free: 6.344 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001777/1.743, allocations: 59.98 kB / 0.9648 GB, free: 6.285 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 156 * 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.0004957/1.743, allocations: 180.5 kB / 0.965 GB, free: 6.102 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004182/1.744, allocations: 102.7 kB / 0.9651 GB, free: 6 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003821/1.748, allocations: 1.471 MB / 0.9665 GB, free: 4.52 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.866e-05/1.748, allocations: 8 kB / 0.9665 GB, free: 4.512 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/1.748, allocations: 4 kB / 0.9665 GB, free: 4.508 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.517e-05/1.748, allocations: 7.984 kB / 0.9665 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01873/1.766, allocations: 7.227 MB / 0.9736 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.051e-05/1.766, allocations: 8 kB / 0.9736 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002173/1.769, allocations: 271.5 kB / 0.9739 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.057e-05/1.769, allocations: 12.09 kB / 0.9739 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001229/1.769, allocations: 31.94 kB / 0.9739 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.509e-05/1.769, allocations: 15.94 kB / 0.9739 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.88e-05/1.769, allocations: 19.91 kB / 0.9739 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004387/1.773, allocations: 2.379 MB / 0.9763 GB, free: 10 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00121/1.775, allocations: 375.5 kB / 0.9766 GB, free: 9.613 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002642/1.775, allocations: 27.95 kB / 0.9766 GB, free: 9.586 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001667/1.777, allocations: 135.8 kB / 0.9768 GB, free: 9.453 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002813/1.777, allocations: 71.75 kB / 0.9768 GB, free: 9.383 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001023/1.777, allocations: 40 kB / 0.9769 GB, free: 9.344 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001608/1.779, allocations: 0.695 MB / 0.9776 GB, free: 8.633 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.61e-07/1.779, allocations: 0 / 0.9776 GB, free: 8.633 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.004349/1.783, allocations: 0.828 MB / 0.9784 GB, free: 7.805 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 78 * 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.006048/1.789, allocations: 5.517 MB / 0.9838 GB, free: 2.016 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.006719/1.796, allocations: 2.589 MB / 0.9863 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.371e-05/1.796, allocations: 0.5 kB / 0.9863 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001922/1.798, allocations: 0.7195 MB / 0.987 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002415/1.8, allocations: 251.9 kB / 0.9872 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01529/1.816, allocations: 4.582 MB / 0.9917 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003918/1.82, allocations: 2.172 MB / 0.9938 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.004086/1.824, allocations: 0.7851 MB / 0.9946 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002406/1.826, allocations: 0.8117 MB / 0.9954 GB, free: 5.914 MB / 0.7448 GB Notification: Performance of SimCode: time 1.513e-06/1.826, allocations: 0 / 0.9954 GB, free: 5.914 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1141/1.94, allocations: 31.59 MB / 1.026 GB, free: 6.547 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003649/1.941, allocations: 173.9 kB / 1.026 GB, free: 6.32 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.212/5.153, allocations: 3.938 kB / 1.026 GB, free: 6.316 MB / 0.7761 GB