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.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01098/0.01099, allocations: 112.1 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001216/0.001216, allocations: 185.9 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.938/1.938, allocations: 194.6 MB / 211.3 MB, free: 11.01 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.335/2.335, allocations: 236.1 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007393/0.0007394, allocations: 16 kB / 0.587 GB, free: 2.035 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6965/0.6973, allocations: 98.71 MB / 0.6834 GB, free: 16.75 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.04321/0.7406, allocations: 26.62 MB / 0.7094 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.03179/0.7724, allocations: 12.57 MB / 0.7217 GB, free: 4.809 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003918/0.7764, allocations: 124.2 kB / 0.7218 GB, free: 4.754 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.003483/0.7799, allocations: 0.6301 MB / 0.7225 GB, free: 4.18 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.01043/0.7904, allocations: 2.107 MB / 0.7245 GB, free: 2.422 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.006274/0.7967, allocations: 1.21 MB / 0.7257 GB, free: 1.48 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.01074/0.8075, allocations: 4.019 MB / 0.7296 GB, free: 14.9 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02186/0.8294, allocations: 8.505 MB / 0.7379 GB, free: 6.406 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006899/0.8364, allocations: 2.29 MB / 0.7402 GB, free: 4.109 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005711/0.8421, allocations: 2.043 MB / 0.7422 GB, free: 2.059 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.001612/0.8438, allocations: 244 kB / 0.7424 GB, free: 1.82 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00402/0.8479, allocations: 0.597 MB / 0.743 GB, free: 1.223 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.003988/0.8519, allocations: 1.75 MB / 0.7447 GB, free: 15.47 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.002908/0.8549, allocations: 0.9719 MB / 0.7456 GB, free: 14.49 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.01364/0.8686, allocations: 7.622 MB / 0.7531 GB, free: 6.848 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.8686, allocations: 0 / 0.7531 GB, free: 6.848 MB / 0.573 GB Notification: Performance of FrontEnd: time 3.267e-06/0.8686, allocations: 0 / 0.7531 GB, free: 6.848 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0003116/0.8689, allocations: 0 / 0.7531 GB, free: 6.848 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01563/0.8846, allocations: 4.169 MB / 0.7571 GB, free: 2.602 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/0.8847, allocations: 8.031 kB / 0.7572 GB, free: 2.594 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00241/0.8871, allocations: 0.6162 MB / 0.7578 GB, free: 1.965 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008597/0.8957, allocations: 0.9815 MB / 0.7587 GB, free: 0.9766 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01091/0.9067, allocations: 2.818 MB / 0.7615 GB, free: 14.07 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006114/0.9073, allocations: 316.4 kB / 0.7618 GB, free: 13.76 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002181/0.9095, allocations: 419.9 kB / 0.7622 GB, free: 13.35 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02816/0.9377, allocations: 6.711 MB / 0.7687 GB, free: 6.348 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002739/0.9381, allocations: 31.7 kB / 0.7688 GB, free: 6.316 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001264/0.9393, allocations: 188 kB / 0.7689 GB, free: 6.133 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002107/0.9415, allocations: 368 kB / 0.7693 GB, free: 5.77 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02166/0.9631, allocations: 5.087 MB / 0.7743 GB, free: 0.668 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05896/1.022, allocations: 30.76 MB / 0.8043 GB, free: 15.13 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003711/1.026, allocations: 1.383 MB / 0.8056 GB, free: 13.74 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002145/1.026, allocations: 13.31 kB / 0.8057 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.573e-05/1.026, allocations: 51.88 kB / 0.8057 GB, free: 13.67 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=130): time 4.178e-06/1.026, allocations: 0 / 0.8057 GB, free: 13.67 MB / 0.6355 GB Notification: Performance of matching and sorting (n=199): time 0.1647/1.191, allocations: 22.78 MB / 0.828 GB, free: 6.773 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.197e-05/1.191, allocations: 77.34 kB / 0.828 GB, free: 6.684 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004193/1.195, allocations: 2.043 MB / 0.83 GB, free: 4.625 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0004561/1.196, allocations: 61.7 kB / 0.8301 GB, free: 4.559 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001991/1.198, allocations: 2.01 MB / 0.832 GB, free: 2.523 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.00106/1.199, allocations: 0.6778 MB / 0.8327 GB, free: 1.836 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002982/1.199, allocations: 48 kB / 0.8328 GB, free: 1.789 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002266/1.199, allocations: 394.6 kB / 0.8331 GB, free: 1.398 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003783/1.203, allocations: 1.422 MB / 0.8345 GB, free: 15.97 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004437/1.208, allocations: 1.994 MB / 0.8365 GB, free: 13.73 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004558/1.212, allocations: 1.724 MB / 0.8381 GB, free: 12.01 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-05/1.212, allocations: 7.938 kB / 0.8382 GB, free: 12 MB / 0.6667 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.02077/1.233, allocations: 5.634 MB / 0.8437 GB, free: 6.297 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.999e-05/1.233, allocations: 16 kB / 0.8437 GB, free: 6.281 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-05/1.233, allocations: 16 kB / 0.8437 GB, free: 6.266 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01251/1.246, allocations: 2.08 MB / 0.8457 GB, free: 4.129 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003121/1.249, allocations: 375.4 kB / 0.8461 GB, free: 3.762 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06236/1.311, allocations: 36.28 MB / 0.8815 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003789/1.315, allocations: 127.9 kB / 0.8816 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004416/1.316, allocations: 88 kB / 0.8817 GB, free: 12.87 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * 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: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 18 {(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00418/1.32, allocations: 1.508 MB / 0.8832 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009374/1.321, allocations: 280.6 kB / 0.8834 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0183/1.339, allocations: 5.192 MB / 0.8885 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.501e-05/1.339, allocations: 27.95 kB / 0.8885 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-05/1.339, allocations: 16 kB / 0.8886 GB, free: 5.762 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.121e-05/1.339, allocations: 11.95 kB / 0.8886 GB, free: 5.75 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03212/1.372, allocations: 9.661 MB / 0.898 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.022e-05/1.372, allocations: 15.98 kB / 0.898 GB, free: 11.87 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001863/1.374, allocations: 215.6 kB / 0.8982 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01118/1.385, allocations: 1.839 MB / 0.9 GB, free: 9.762 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004305/1.385, allocations: 43.98 kB / 0.9001 GB, free: 9.719 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6408/2.026, allocations: 35.27 MB / 0.9345 GB, free: 173.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.836e-05/2.026, allocations: 14.47 kB / 0.9345 GB, free: 173.4 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02573/2.052, allocations: 5.422 MB / 0.9398 GB, free: 170.6 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00329/2.055, allocations: 0.624 MB / 0.9404 GB, free: 170.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001511/2.057, allocations: 43.02 kB / 0.9405 GB, free: 170.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004965/2.062, allocations: 128.4 kB / 0.9406 GB, free: 170.3 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001724/2.064, allocations: 190.4 kB / 0.9408 GB, free: 170.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006117/2.064, allocations: 59.16 kB / 0.9408 GB, free: 170.3 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.005561/2.07, allocations: 1.356 MB / 0.9422 GB, free: 169.7 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.483e-06/2.07, allocations: 3.531 kB / 0.9422 GB, free: 169.7 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.008238/2.078, allocations: 1.034 MB / 0.9432 GB, free: 169.7 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * 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: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 18 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02445/2.103, allocations: 7.68 MB / 0.9507 GB, free: 164.7 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.02424/2.127, allocations: 6.262 MB / 0.9568 GB, free: 161.1 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.842e-05/2.127, allocations: 1.188 kB / 0.9568 GB, free: 161.1 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0161/2.143, allocations: 4.388 MB / 0.9611 GB, free: 158.2 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01018/2.153, allocations: 0.8798 MB / 0.9619 GB, free: 157.9 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0814/2.235, allocations: 36.87 MB / 0.9979 GB, free: 129.6 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005549/2.24, allocations: 3.209 MB / 1.001 GB, free: 126.4 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.003167/2.244, allocations: 0.5134 MB / 1.002 GB, free: 125.9 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003022/2.247, allocations: 1.679 MB / 1.003 GB, free: 124.2 MB / 0.7292 GB Notification: Performance of SimCode: time 2.235e-06/2.247, allocations: 0 / 1.003 GB, free: 124.2 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2058/2.453, allocations: 85.59 MB / 1.087 GB, free: 39.41 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001731/2.453, allocations: 225.3 kB / 1.087 GB, free: 39.17 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.375/7.828, allocations: 0 / 1.087 GB, free: 39.17 MB / 0.7292 GB