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.Lines.Examples.ACLineMatrix_RLC_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.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.187/4.187, allocations: 433.2 MB / 440.7 MB, free: 4.574 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.735e-05/2.746e-05, allocations: 5.438 kB / 0.5325 GB, free: 12.78 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2114/0.2115, allocations: 98.74 MB / 0.6289 GB, free: 9.121 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9494/1.161, allocations: 154 MB / 0.7793 GB, free: 60.2 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003679/1.161, allocations: 91.48 kB / 0.7794 GB, free: 60.2 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.2545/1.416, allocations: 62.2 MB / 0.8401 GB, free: 51.72 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.757e-06/1.416, allocations: 0 / 0.8401 GB, free: 51.72 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001051/1.416, allocations: 46.94 kB / 0.8402 GB, free: 51.71 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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.005502/1.422, allocations: 1.612 MB / 0.8418 GB, free: 50.69 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/1.422, allocations: 7.812 kB / 0.8418 GB, free: 50.69 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004937/1.427, allocations: 495 kB / 0.8422 GB, free: 50.47 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003803/1.43, allocations: 1.277 MB / 0.8435 GB, free: 49.92 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.618e-05/1.431, allocations: 54.16 kB / 0.8435 GB, free: 49.92 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00056/1.431, allocations: 81.94 kB / 0.8436 GB, free: 49.92 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005434/1.437, allocations: 2.266 MB / 0.8458 GB, free: 49.67 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006339/1.443, allocations: 2.886 MB / 0.8487 GB, free: 48.78 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.918e-05/1.443, allocations: 7.844 kB / 0.8487 GB, free: 48.77 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002966/1.443, allocations: 3.906 kB / 0.8487 GB, free: 48.77 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001125/1.445, allocations: 189.1 kB / 0.8488 GB, free: 48.73 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03213/1.477, allocations: 14.48 MB / 0.863 GB, free: 40.2 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003821/1.481, allocations: 1.754 MB / 0.8647 GB, free: 39.93 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002915/1.484, allocations: 1.493 MB / 0.8662 GB, free: 39.74 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 9.382e-05/1.484, allocations: 16.84 kB / 0.8662 GB, free: 39.74 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/1.484, allocations: 46.72 kB / 0.8662 GB, free: 39.69 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=104): time 3.998e-06/1.484, allocations: 0 / 0.8662 GB, free: 39.69 MB / 0.6511 GB Notification: Performance of matching and sorting (n=183): time 0.071/1.555, allocations: 14.26 MB / 0.8801 GB, free: 35.36 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.829e-05/1.555, allocations: 76.92 kB / 0.8802 GB, free: 35.3 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002105/1.557, allocations: 0.97 MB / 0.8812 GB, free: 35.05 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0006291/1.558, allocations: 25.7 kB / 0.8812 GB, free: 35.02 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006523/1.558, allocations: 0.7896 MB / 0.882 GB, free: 34.51 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.001073/1.559, allocations: 0.5999 MB / 0.8825 GB, free: 34.05 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004602/1.56, allocations: 0 / 0.8825 GB, free: 34.05 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000172/1.56, allocations: 388 kB / 0.8829 GB, free: 33.72 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004646/1.565, allocations: 2.05 MB / 0.8849 GB, free: 33.15 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004976/1.57, allocations: 2.382 MB / 0.8872 GB, free: 31.75 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009363/1.579, allocations: 2.764 MB / 0.8899 GB, free: 30.36 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.293e-05/1.579, allocations: 3.219 kB / 0.8899 GB, free: 30.36 MB / 0.6511 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.03147/1.611, allocations: 8.486 MB / 0.8982 GB, free: 25.9 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.58e-05/1.611, allocations: 11.59 kB / 0.8982 GB, free: 25.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.493e-05/1.611, allocations: 7.625 kB / 0.8983 GB, free: 25.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02614/1.637, allocations: 4.937 MB / 0.9031 GB, free: 20.99 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001922/1.639, allocations: 251.6 kB / 0.9033 GB, free: 20.74 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06061/1.7, allocations: 22.96 MB / 0.9257 GB, free: 13.49 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003869/1.704, allocations: 87.77 kB / 0.9258 GB, free: 13.4 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001263/1.705, allocations: 263.8 kB / 0.9261 GB, free: 13.14 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (102): * Single equations (assignments): 98 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,100.0%) 16,(8,100.0%) 38} * Non-linear torn systems: 2 {8 16,8 38} Notification: Performance of prepare postOptimizeDAE: time 0.0009469/1.706, allocations: 132.7 kB / 0.9262 GB, free: 13.01 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02972/1.736, allocations: 7.62 MB / 0.9336 GB, free: 5.367 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001142/1.737, allocations: 134.4 kB / 0.9338 GB, free: 5.234 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03159/1.768, allocations: 8.053 MB / 0.9416 GB, free: 13.14 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.615e-05/1.769, allocations: 16 kB / 0.9417 GB, free: 13.13 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.504e-05/1.769, allocations: 16 kB / 0.9417 GB, free: 13.11 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.247e-05/1.769, allocations: 7.969 kB / 0.9417 GB, free: 13.11 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0452/1.814, allocations: 12.41 MB / 0.9538 GB, free: 0.5938 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.039e-05/1.814, allocations: 4 kB / 0.9538 GB, free: 0.5898 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001041/1.815, allocations: 115.8 kB / 0.9539 GB, free: 488 kB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02764/1.843, allocations: 4.707 MB / 0.9585 GB, free: 11.75 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006902/1.843, allocations: 63.89 kB / 0.9586 GB, free: 11.69 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05575/1.899, allocations: 19.26 MB / 0.9774 GB, free: 8.145 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.815e-05/1.899, allocations: 12.09 kB / 0.9774 GB, free: 8.133 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03007/1.929, allocations: 7.653 MB / 0.9849 GB, free: 312 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00309/1.932, allocations: 0.8349 MB / 0.9857 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009664/1.933, allocations: 4 kB / 0.9857 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002857/1.936, allocations: 63.92 kB / 0.9857 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001181/1.938, allocations: 181.4 kB / 0.9859 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006822/1.938, allocations: 179.9 kB / 0.9861 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001909/1.94, allocations: 0.7607 MB / 0.9868 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7.02e-07/1.94, allocations: 0 / 0.9868 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.004813/1.945, allocations: 0.6875 MB / 0.9875 GB, free: 13.58 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 62 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,100.0%) 8,(14,76.0%) 24} * Non-linear torn systems: 2 {8 16,8 38} Notification: Performance of Backend phase and start with SimCode phase: time 0.03209/1.977, allocations: 9.435 MB / 0.9967 GB, free: 4.008 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01797/1.995, allocations: 5.666 MB / 1.002 GB, free: 14.32 MB / 0.7449 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/1.995, allocations: 0 / 1.002 GB, free: 14.32 MB / 0.7449 GB Notification: Performance of simCode: created simulation system equations: time 0.01363/2.009, allocations: 3.371 MB / 1.006 GB, free: 10.93 MB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002257/2.011, allocations: 163.1 kB / 1.006 GB, free: 10.77 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01543/2.027, allocations: 4.729 MB / 1.01 GB, free: 5.938 MB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003021/2.03, allocations: 1.827 MB / 1.012 GB, free: 4.078 MB / 0.7449 GB Notification: Performance of simCode: alias equations: time 0.002142/2.032, allocations: 410.7 kB / 1.012 GB, free: 3.672 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002285/2.034, allocations: 0.671 MB / 1.013 GB, free: 3 MB / 0.7449 GB Notification: Performance of SimCode: time 2.064e-06/2.034, allocations: 0 / 1.013 GB, free: 3 MB / 0.7449 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.248/2.282, allocations: 75.54 MB / 1.087 GB, free: 7.496 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003161/2.283, allocations: 175.1 kB / 1.087 GB, free: 7.305 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.19/6.473, allocations: 0 / 1.087 GB, free: 7.305 MB / 0.823 GB