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.ACLine_RL.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.ACLine_RL,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.22/4.22, allocations: 433.2 MB / 440.7 MB, free: 10.56 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.504e-05/2.505e-05, allocations: 4 kB / 0.5325 GB, free: 1.926 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6241/0.6241, allocations: 98.72 MB / 0.6289 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8885/1.513, allocations: 180.8 MB / 0.8055 GB, free: 83.29 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003685/1.513, allocations: 93.81 kB / 0.8056 GB, free: 83.29 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.5455/2.059, allocations: 145.1 MB / 0.9473 GB, free: 14.78 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.887e-06/2.059, allocations: 4 kB / 0.9473 GB, free: 14.77 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0004443/2.059, allocations: 99.91 kB / 0.9474 GB, free: 14.68 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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01395/2.073, allocations: 3.216 MB / 0.9505 GB, free: 11.4 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.75e-05/2.073, allocations: 8.031 kB / 0.9505 GB, free: 11.39 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008465/2.082, allocations: 0.8265 MB / 0.9513 GB, free: 10.56 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009022/2.091, allocations: 2.557 MB / 0.9538 GB, free: 7.945 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002208/2.091, allocations: 116 kB / 0.9539 GB, free: 7.832 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001945/2.093, allocations: 227.9 kB / 0.9541 GB, free: 7.609 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01126/2.104, allocations: 3.587 MB / 0.9577 GB, free: 4.02 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01726/2.122, allocations: 5.108 MB / 0.9626 GB, free: 14.58 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002083/2.122, allocations: 19.84 kB / 0.9627 GB, free: 14.56 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001393/2.123, allocations: 8 kB / 0.9627 GB, free: 14.55 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004134/2.124, allocations: 211 kB / 0.9629 GB, free: 14.34 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04552/2.169, allocations: 26.91 MB / 0.9891 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002641/2.172, allocations: 1.044 MB / 0.9902 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002056/2.174, allocations: 0.9478 MB / 0.9911 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001403/2.174, allocations: 17.3 kB / 0.9911 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/2.174, allocations: 47.81 kB / 0.9912 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=110): time 4.409e-06/2.174, allocations: 4 kB / 0.9912 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of matching and sorting (n=131): time 0.02225/2.196, allocations: 6.773 MB / 0.9978 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.427e-05/2.197, allocations: 76.72 kB / 0.9978 GB, free: 7.922 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002308/2.199, allocations: 1.065 MB / 0.9989 GB, free: 6.855 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0003249/2.199, allocations: 25.7 kB / 0.9989 GB, free: 6.824 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001551/2.201, allocations: 1.673 MB / 1.001 GB, free: 5.129 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007471/2.202, allocations: 453.3 kB / 1.001 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001557/2.202, allocations: 0 / 1.001 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002064/2.202, allocations: 377.9 kB / 1.001 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001982/2.204, allocations: 0.8277 MB / 1.002 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002404/2.206, allocations: 1.401 MB / 1.004 GB, free: 1.809 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002524/2.209, allocations: 1.072 MB / 1.005 GB, free: 0.7383 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.57e-05/2.209, allocations: 4 kB / 1.005 GB, free: 0.7344 MB / 0.7136 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.009097/2.218, allocations: 2.978 MB / 1.007 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.336e-05/2.218, allocations: 16 kB / 1.007 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.84e-05/2.218, allocations: 20 kB / 1.008 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003605/2.222, allocations: 0.6984 MB / 1.008 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003231/2.225, allocations: 395.3 kB / 1.009 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02149/2.247, allocations: 14.94 MB / 1.023 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002526/2.249, allocations: 68.08 kB / 1.023 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003412/2.25, allocations: 84 kB / 1.023 GB, free: 12.44 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 87 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (193): * Single equations (assignments): 184 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005011/2.25, allocations: 160.4 kB / 1.023 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007714/2.258, allocations: 2.442 MB / 1.026 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008661/2.259, allocations: 193.7 kB / 1.026 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008084/2.267, allocations: 2.585 MB / 1.029 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.082e-05/2.267, allocations: 15.95 kB / 1.029 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.181e-05/2.267, allocations: 8 kB / 1.029 GB, free: 6.949 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.348e-05/2.267, allocations: 7.969 kB / 1.029 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01696/2.284, allocations: 5.362 MB / 1.034 GB, free: 1.434 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.346e-05/2.284, allocations: 12.12 kB / 1.034 GB, free: 1.422 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002577/2.287, allocations: 235.6 kB / 1.034 GB, free: 1.191 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004557/2.291, allocations: 0.6319 MB / 1.035 GB, free: 0.5312 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004161/2.292, allocations: 15.98 kB / 1.035 GB, free: 0.5156 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02294/2.315, allocations: 14.69 MB / 1.049 GB, free: 0.7969 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.558e-05/2.315, allocations: 7.938 kB / 1.049 GB, free: 0.7891 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01048/2.325, allocations: 4.097 MB / 1.053 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001769/2.327, allocations: 430.8 kB / 1.053 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004228/2.328, allocations: 11.98 kB / 1.053 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001554/2.329, allocations: 59.89 kB / 1.054 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004648/2.33, allocations: 121 kB / 1.054 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001311/2.33, allocations: 36 kB / 1.054 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001779/2.332, allocations: 0.7957 MB / 1.054 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.41e-07/2.332, allocations: 0 / 1.054 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.003791/2.335, allocations: 0.6406 MB / 1.055 GB, free: 10.35 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 92 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01169/2.347, allocations: 6.044 MB / 1.061 GB, free: 4.105 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.009216/2.356, allocations: 3.222 MB / 1.064 GB, free: 0.7969 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.268e-05/2.356, allocations: 1.438 kB / 1.064 GB, free: 0.7969 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.00545/2.362, allocations: 2.134 MB / 1.066 GB, free: 14.57 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004372/2.366, allocations: 0.5264 MB / 1.067 GB, free: 14.05 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02005/2.386, allocations: 6.092 MB / 1.073 GB, free: 7.836 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006369/2.393, allocations: 2.73 MB / 1.075 GB, free: 5.074 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.002947/2.396, allocations: 456.5 kB / 1.076 GB, free: 4.625 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003218/2.399, allocations: 1.276 MB / 1.077 GB, free: 3.348 MB / 0.7917 GB Notification: Performance of SimCode: time 1.683e-06/2.399, allocations: 0 / 1.077 GB, free: 3.348 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7631/3.162, allocations: 50.72 MB / 1.127 GB, free: 219.8 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002178/3.163, allocations: 163.9 kB / 1.127 GB, free: 219.6 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.108/7.27, allocations: 0 / 1.127 GB, free: 219.6 MB / 0.823 GB