Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.01416/0.01416, allocations: 88.86 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001795/0.001795, allocations: 172.6 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.092/2.092, allocations: 205.5 MB / 222.2 MB, free: 13.73 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.348/2.348, allocations: 252.8 MB / 0.511 GB, free: 8.352 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000634/0.0006342, allocations: 14.47 kB / 0.6243 GB, free: 28.33 MB / 0.4949 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.2256, allocations: 106.2 MB / 0.7281 GB, free: 10.18 MB / 0.5574 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.03141/0.2571, allocations: 17.65 MB / 0.7453 GB, free: 8.477 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.01549/0.2726, allocations: 6.219 MB / 0.7514 GB, free: 2.242 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002303/0.275, allocations: 71.56 kB / 0.7514 GB, free: 2.172 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.002261/0.2773, allocations: 401.5 kB / 0.7518 GB, free: 1.777 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.00501/0.2823, allocations: 0.8684 MB / 0.7527 GB, free: 0.9062 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.005044/0.2874, allocations: 0.7758 MB / 0.7534 GB, free: 132 kB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.007292/0.2948, allocations: 2.319 MB / 0.7557 GB, free: 13.8 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02063/0.3154, allocations: 6.373 MB / 0.7619 GB, free: 7.375 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004469/0.32, allocations: 1.32 MB / 0.7632 GB, free: 6.051 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004768/0.3248, allocations: 1.37 MB / 0.7646 GB, free: 4.676 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.001097/0.326, allocations: 176 kB / 0.7647 GB, free: 4.504 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002535/0.3285, allocations: 419.5 kB / 0.7651 GB, free: 4.094 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.003157/0.3317, allocations: 1.236 MB / 0.7663 GB, free: 2.855 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.001898/0.3337, allocations: 0.6407 MB / 0.767 GB, free: 2.207 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.01146/0.3452, allocations: 5.299 MB / 0.7721 GB, free: 12.89 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3452, allocations: 4 kB / 0.7721 GB, free: 12.89 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.577e-06/0.3452, allocations: 0 / 0.7721 GB, free: 12.89 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002079/0.3455, allocations: 4 kB / 0.7721 GB, free: 12.88 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01137/0.3569, allocations: 2.831 MB / 0.7749 GB, free: 9.992 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.3569, allocations: 8.031 kB / 0.7749 GB, free: 9.984 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00166/0.3586, allocations: 454.4 kB / 0.7753 GB, free: 9.527 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005264/0.3639, allocations: 0.6245 MB / 0.7759 GB, free: 8.898 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006118/0.3701, allocations: 1.892 MB / 0.7778 GB, free: 6.945 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002872/0.3704, allocations: 217.9 kB / 0.778 GB, free: 6.73 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001189/0.3716, allocations: 299.8 kB / 0.7783 GB, free: 6.438 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01448/0.3861, allocations: 4.839 MB / 0.783 GB, free: 1.398 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001404/0.3863, allocations: 7.938 kB / 0.783 GB, free: 1.391 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006051/0.3869, allocations: 132 kB / 0.7831 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007401/0.3877, allocations: 229.7 kB / 0.7834 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01195/0.3996, allocations: 3.727 MB / 0.787 GB, free: 13.3 MB / 0.6199 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03609/0.4358, allocations: 21.61 MB / 0.8081 GB, free: 5.688 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003194/0.439, allocations: 1.3 MB / 0.8094 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000138/0.4392, allocations: 13 kB / 0.8094 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.699e-05/0.4393, allocations: 51.55 kB / 0.8094 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=107): time 3.827e-06/0.4393, allocations: 0 / 0.8094 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of matching and sorting (n=138): time 0.0435/0.4828, allocations: 8.657 MB / 0.8179 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.396e-05/0.4829, allocations: 68.66 kB / 0.818 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002314/0.4852, allocations: 1.115 MB / 0.8191 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0003004/0.4856, allocations: 49.7 kB / 0.8191 GB, free: 10.33 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001247/0.4868, allocations: 1.296 MB / 0.8204 GB, free: 9.02 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008242/0.4877, allocations: 489.1 kB / 0.8208 GB, free: 8.535 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001767/0.4879, allocations: 28 kB / 0.8209 GB, free: 8.508 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002473/0.4881, allocations: 369.9 kB / 0.8212 GB, free: 8.141 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002367/0.4905, allocations: 0.9096 MB / 0.8221 GB, free: 7.23 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002711/0.4933, allocations: 1.315 MB / 0.8234 GB, free: 5.746 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00282/0.4961, allocations: 1.138 MB / 0.8245 GB, free: 4.605 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.486e-05/0.4962, allocations: 4 kB / 0.8245 GB, free: 4.602 MB / 0.6511 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.01081/0.507, allocations: 3.438 MB / 0.8279 GB, free: 1.145 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.895e-05/0.5071, allocations: 11.98 kB / 0.8279 GB, free: 1.133 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.714e-05/0.5071, allocations: 12 kB / 0.8279 GB, free: 1.121 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005938/0.5131, allocations: 1.191 MB / 0.829 GB, free: 15.93 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001927/0.5151, allocations: 255.5 kB / 0.8293 GB, free: 15.68 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02898/0.5441, allocations: 13.19 MB / 0.8422 GB, free: 2.098 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00201/0.5461, allocations: 91.97 kB / 0.8423 GB, free: 2.008 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002285/0.5464, allocations: 64 kB / 0.8423 GB, free: 1.945 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 129 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,92.0%) 17,(5,92.0%) 17,(5,88.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002932/0.5493, allocations: 1.11 MB / 0.8434 GB, free: 0.8242 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005219/0.5499, allocations: 166 kB / 0.8436 GB, free: 0.6602 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5785/1.128, allocations: 3.157 MB / 0.8466 GB, free: 108.2 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.919e-05/1.128, allocations: 15.69 kB / 0.8467 GB, free: 108.2 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.803e-05/1.129, allocations: 12.56 kB / 0.8467 GB, free: 108.2 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.484e-05/1.129, allocations: 6.609 kB / 0.8467 GB, free: 108.2 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01799/1.147, allocations: 6.226 MB / 0.8528 GB, free: 106.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.55e-05/1.147, allocations: 5.344 kB / 0.8528 GB, free: 106.9 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001209/1.148, allocations: 151.5 kB / 0.8529 GB, free: 106.9 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005343/1.153, allocations: 1.068 MB / 0.854 GB, free: 106.6 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002714/1.154, allocations: 27.3 kB / 0.854 GB, free: 106.6 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02729/1.181, allocations: 12.91 MB / 0.8666 GB, free: 98.92 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.276e-05/1.181, allocations: 4.75 kB / 0.8666 GB, free: 98.92 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00909/1.19, allocations: 3.395 MB / 0.8699 GB, free: 97.21 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001422/1.191, allocations: 427.1 kB / 0.8703 GB, free: 97.02 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004505/1.192, allocations: 33.84 kB / 0.8703 GB, free: 97 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001497/1.193, allocations: 83.39 kB / 0.8704 GB, free: 96.98 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005765/1.194, allocations: 125.3 kB / 0.8705 GB, free: 96.95 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000142/1.194, allocations: 37.09 kB / 0.8706 GB, free: 96.94 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001606/1.196, allocations: 0.7512 MB / 0.8713 GB, free: 96.64 MB / 0.6667 GB Notification: Performance of sort global known variables: time 7.51e-07/1.196, allocations: 3.938 kB / 0.8713 GB, free: 96.63 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003501/1.199, allocations: 0.6609 MB / 0.872 GB, free: 96.57 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 67 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,88.0%) 25,(5,92.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009664/1.209, allocations: 5.181 MB / 0.877 GB, free: 93.12 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.008006/1.217, allocations: 3.12 MB / 0.8801 GB, free: 91.7 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.124e-05/1.217, allocations: 2.125 kB / 0.8801 GB, free: 91.7 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.004979/1.222, allocations: 1.964 MB / 0.882 GB, free: 90.71 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00359/1.226, allocations: 442 kB / 0.8824 GB, free: 90.59 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03792/1.264, allocations: 23.19 MB / 0.9051 GB, free: 71.76 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003238/1.267, allocations: 2.387 MB / 0.9074 GB, free: 69.34 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.00188/1.269, allocations: 362.9 kB / 0.9077 GB, free: 68.99 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00182/1.271, allocations: 1.003 MB / 0.9087 GB, free: 67.98 MB / 0.6667 GB Notification: Performance of SimCode: time 1.383e-06/1.271, allocations: 4 kB / 0.9087 GB, free: 67.98 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1134/1.384, allocations: 49.34 MB / 0.9569 GB, free: 19.12 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002294/1.385, allocations: 232 kB / 0.9571 GB, free: 18.88 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.767/5.152, allocations: 0 / 0.9571 GB, free: 18.88 MB / 0.6667 GB