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/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.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.227/4.227, allocations: 433.2 MB / 440.7 MB, free: 10.55 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.95e-05/1.947e-05, allocations: 0 / 0.5325 GB, free: 1.914 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.658/0.658, allocations: 98.72 MB / 0.6289 GB, free: 15.69 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3913/1.049, allocations: 166.1 MB / 0.7911 GB, free: 9.352 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000349/1.05, allocations: 95.92 kB / 0.7912 GB, free: 9.258 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.9702/2.02, allocations: 111.3 MB / 0.8999 GB, free: 79.21 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.517e-06/2.02, allocations: 0 / 0.8999 GB, free: 79.21 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001613/2.02, allocations: 67.92 kB / 0.9 GB, free: 79.15 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: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.009888/2.03, allocations: 2.415 MB / 0.9023 GB, free: 76.68 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.451e-05/2.03, allocations: 16.02 kB / 0.9023 GB, free: 76.66 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006399/2.037, allocations: 0.6913 MB / 0.903 GB, free: 75.96 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005201/2.042, allocations: 1.605 MB / 0.9046 GB, free: 74.31 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001795/2.042, allocations: 92 kB / 0.9047 GB, free: 74.22 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001457/2.044, allocations: 164 kB / 0.9048 GB, free: 74.06 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01008/2.054, allocations: 3.214 MB / 0.908 GB, free: 70.84 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01356/2.067, allocations: 4.116 MB / 0.912 GB, free: 66.55 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001381/2.068, allocations: 11.84 kB / 0.912 GB, free: 66.54 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008529/2.068, allocations: 11.98 kB / 0.912 GB, free: 66.52 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003142/2.069, allocations: 176.7 kB / 0.9122 GB, free: 66.35 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03462/2.103, allocations: 22.15 MB / 0.9338 GB, free: 42.09 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004243/2.108, allocations: 1.522 MB / 0.9353 GB, free: 40.52 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002437/2.11, allocations: 0.998 MB / 0.9363 GB, free: 39.51 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002185/2.11, allocations: 97.72 kB / 0.9363 GB, free: 39.4 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.671e-05/2.11, allocations: 43.12 kB / 0.9364 GB, free: 39.35 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=72): time 4.197e-06/2.11, allocations: 0 / 0.9364 GB, free: 39.35 MB / 0.6667 GB Notification: Performance of matching and sorting (n=75): time 0.006864/2.117, allocations: 2.92 MB / 0.9392 GB, free: 36.39 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.175e-05/2.117, allocations: 141 kB / 0.9394 GB, free: 36.23 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001359/2.119, allocations: 0.8083 MB / 0.9402 GB, free: 35.41 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001815/2.119, allocations: 25.7 kB / 0.9402 GB, free: 35.38 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006915/2.12, allocations: 1.212 MB / 0.9414 GB, free: 34.15 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003383/2.12, allocations: 256.2 kB / 0.9416 GB, free: 33.89 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/2.12, allocations: 0 / 0.9416 GB, free: 33.89 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001528/2.12, allocations: 407 kB / 0.942 GB, free: 33.49 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001427/2.122, allocations: 0.7522 MB / 0.9427 GB, free: 32.73 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001747/2.124, allocations: 1.226 MB / 0.9439 GB, free: 31.29 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002514/2.126, allocations: 1.05 MB / 0.945 GB, free: 30.24 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.385e-05/2.126, allocations: 4 kB / 0.945 GB, free: 30.23 MB / 0.6667 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.004964/2.131, allocations: 2.089 MB / 0.947 GB, free: 28.14 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.001085/2.132, allocations: 5.49 MB / 0.9524 GB, free: 22.21 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-05/2.132, allocations: 12 kB / 0.9524 GB, free: 22.2 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.164e-05/2.132, allocations: 28 kB / 0.9524 GB, free: 22.18 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00323/2.136, allocations: 419.2 kB / 0.9528 GB, free: 21.77 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.937e-05/2.136, allocations: 27.92 kB / 0.9528 GB, free: 21.74 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002672/2.138, allocations: 231.2 kB / 0.953 GB, free: 21.51 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001945/2.139, allocations: 67.97 kB / 0.9531 GB, free: 21.45 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/2.139, allocations: 8 kB / 0.9531 GB, free: 21.44 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003844/2.143, allocations: 1.654 MB / 0.9547 GB, free: 19.78 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.038e-05/2.143, allocations: 16 kB / 0.9548 GB, free: 19.77 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.152e-05/2.143, allocations: 27.94 kB / 0.9548 GB, free: 19.74 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002591/2.145, allocations: 372.2 kB / 0.9551 GB, free: 19.38 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.696e-05/2.145, allocations: 27.92 kB / 0.9552 GB, free: 19.35 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001907/2.147, allocations: 143.5 kB / 0.9553 GB, free: 19.21 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001571/2.147, allocations: 59.98 kB / 0.9554 GB, free: 19.15 MB / 0.6667 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.0003947/2.148, allocations: 144.5 kB / 0.9555 GB, free: 19 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003104/2.151, allocations: 1.423 MB / 0.9569 GB, free: 17.57 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003157/2.151, allocations: 94.83 kB / 0.957 GB, free: 17.48 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003265/2.155, allocations: 1.48 MB / 0.9584 GB, free: 15.98 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-05/2.155, allocations: 12 kB / 0.9584 GB, free: 15.97 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/2.155, allocations: 0 / 0.9584 GB, free: 15.97 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.364e-05/2.155, allocations: 3.984 kB / 0.9584 GB, free: 15.96 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0129/2.168, allocations: 6.514 MB / 0.9648 GB, free: 9.254 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.605e-05/2.168, allocations: 12.03 kB / 0.9648 GB, free: 9.242 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002004/2.17, allocations: 263.6 kB / 0.9651 GB, free: 8.984 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.137e-05/2.17, allocations: 12 kB / 0.9651 GB, free: 8.973 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.049e-05/2.17, allocations: 12 kB / 0.9651 GB, free: 8.961 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.697e-05/2.17, allocations: 19.94 kB / 0.9651 GB, free: 8.941 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.174e-05/2.17, allocations: 11.94 kB / 0.9651 GB, free: 8.93 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003501/2.173, allocations: 2.412 MB / 0.9675 GB, free: 6.168 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009663/2.174, allocations: 371.6 kB / 0.9678 GB, free: 5.785 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002342/2.175, allocations: 15.94 kB / 0.9678 GB, free: 5.77 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001594/2.176, allocations: 131.8 kB / 0.968 GB, free: 5.641 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002273/2.176, allocations: 71.77 kB / 0.968 GB, free: 5.57 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.361e-05/2.177, allocations: 28 kB / 0.9681 GB, free: 5.543 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001028/2.178, allocations: 0.6006 MB / 0.9686 GB, free: 4.949 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.81e-07/2.178, allocations: 0 / 0.9686 GB, free: 4.949 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003665/2.181, allocations: 0.7734 MB / 0.9694 GB, free: 4.176 MB / 0.6667 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.004877/2.186, allocations: 5.521 MB / 0.9748 GB, free: 14.38 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006114/2.192, allocations: 2.519 MB / 0.9772 GB, free: 11.87 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.42e-05/2.192, allocations: 0 / 0.9772 GB, free: 11.87 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00176/2.194, allocations: 0.699 MB / 0.9779 GB, free: 11.17 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002433/2.197, allocations: 242.2 kB / 0.9782 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01466/2.211, allocations: 4.527 MB / 0.9826 GB, free: 6.242 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003868/2.215, allocations: 2.169 MB / 0.9847 GB, free: 4.043 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003915/2.219, allocations: 0.7689 MB / 0.9855 GB, free: 3.27 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002193/2.221, allocations: 0.8 MB / 0.9862 GB, free: 2.469 MB / 0.6823 GB Notification: Performance of SimCode: time 2.044e-06/2.222, allocations: 0 / 0.9862 GB, free: 2.469 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1035/2.325, allocations: 29.94 MB / 1.015 GB, free: 4.645 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000278/2.325, allocations: 168.3 kB / 1.016 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.23/5.555, allocations: 0 / 1.016 GB, free: 4.449 MB / 0.7136 GB