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_R.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_R,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",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.01017/0.01018, allocations: 89.69 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.001218/0.001217, allocations: 175.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.029/2.029, allocations: 205.5 MB / 222.2 MB, free: 13.58 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.47/2.47, allocations: 252.8 MB / 0.511 GB, free: 8.305 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007395/0.0007398, allocations: 14.31 kB / 0.6243 GB, free: 21.08 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.2526, allocations: 106.2 MB / 0.7281 GB, free: 8.086 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.05721/0.3098, allocations: 30.61 MB / 0.758 GB, free: 9.395 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.02374/0.3336, allocations: 9.657 MB / 0.7674 GB, free: 15.71 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003632/0.3373, allocations: 119.2 kB / 0.7675 GB, free: 15.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.003375/0.3408, allocations: 0.6793 MB / 0.7682 GB, free: 14.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.007375/0.3482, allocations: 1.569 MB / 0.7697 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.006178/0.3544, allocations: 1.17 MB / 0.7709 GB, free: 12.16 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.009789/0.3642, allocations: 3.889 MB / 0.7747 GB, free: 8.266 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03411/0.3984, allocations: 10.39 MB / 0.7848 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007624/0.4061, allocations: 2.133 MB / 0.7869 GB, free: 11.65 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007896/0.4141, allocations: 2.199 MB / 0.789 GB, free: 9.445 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.002322/0.4165, allocations: 280 kB / 0.7893 GB, free: 9.172 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004255/0.4208, allocations: 0.5269 MB / 0.7898 GB, free: 8.645 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.005409/0.4263, allocations: 1.925 MB / 0.7917 GB, free: 6.715 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.003617/0.4299, allocations: 1.027 MB / 0.7927 GB, free: 5.68 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.01861/0.4486, allocations: 8.408 MB / 0.8009 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.4487, allocations: 0 / 0.8009 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.998e-06/0.4487, allocations: 0 / 0.8009 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0003612/0.4491, allocations: 0 / 0.8009 GB, free: 13.25 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01776/0.4668, allocations: 4.371 MB / 0.8052 GB, free: 8.809 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.828e-05/0.4669, allocations: 8.031 kB / 0.8052 GB, free: 8.801 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00297/0.4699, allocations: 0.706 MB / 0.8059 GB, free: 8.086 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007251/0.4772, allocations: 0.9111 MB / 0.8068 GB, free: 7.168 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009926/0.4872, allocations: 2.921 MB / 0.8096 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000555/0.4878, allocations: 357.6 kB / 0.81 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00217/0.49, allocations: 468 kB / 0.8104 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02607/0.5161, allocations: 7.824 MB / 0.818 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002878/0.5165, allocations: 31.7 kB / 0.8181 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00173/0.5182, allocations: 211.9 kB / 0.8183 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009543/0.5192, allocations: 361.1 kB / 0.8186 GB, free: 10.6 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01968/0.5389, allocations: 5.898 MB / 0.8244 GB, free: 4.688 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6523/1.191, allocations: 36.25 MB / 0.8598 GB, free: 61.25 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005784/1.197, allocations: 2.124 MB / 0.8619 GB, free: 60.44 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002021/1.197, allocations: 19.33 kB / 0.8619 GB, free: 60.44 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.634e-05/1.197, allocations: 59.44 kB / 0.8619 GB, free: 60.38 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=157): time 5.089e-06/1.197, allocations: 0 / 0.8619 GB, free: 60.38 MB / 0.6511 GB Notification: Performance of matching and sorting (n=160): time 0.02398/1.221, allocations: 7.529 MB / 0.8693 GB, free: 56.45 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.552e-05/1.222, allocations: 68.09 kB / 0.8693 GB, free: 56.38 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00424/1.226, allocations: 1.85 MB / 0.8712 GB, free: 55.64 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0004385/1.226, allocations: 53.42 kB / 0.8712 GB, free: 55.59 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.00161/1.228, allocations: 2.125 MB / 0.8733 GB, free: 53.98 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008578/1.229, allocations: 0.5568 MB / 0.8738 GB, free: 53.55 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002574/1.229, allocations: 45.69 kB / 0.8739 GB, free: 53.52 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001658/1.229, allocations: 391.5 kB / 0.8742 GB, free: 53.18 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002851/1.232, allocations: 1.051 MB / 0.8753 GB, free: 52.78 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003592/1.236, allocations: 1.749 MB / 0.877 GB, free: 51.48 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003504/1.239, allocations: 1.343 MB / 0.8783 GB, free: 50.75 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-05/1.239, allocations: 13.5 kB / 0.8783 GB, free: 50.75 MB / 0.6511 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.01188/1.251, allocations: 3.907 MB / 0.8821 GB, free: 48.61 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.595e-05/1.251, allocations: 14.47 kB / 0.8821 GB, free: 48.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-05/1.251, allocations: 22.72 kB / 0.8822 GB, free: 48.61 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004451/1.256, allocations: 0.9303 MB / 0.8831 GB, free: 48.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003318/1.259, allocations: 424.9 kB / 0.8835 GB, free: 48 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02615/1.285, allocations: 21.42 MB / 0.9044 GB, free: 28.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003213/1.289, allocations: 127.2 kB / 0.9045 GB, free: 28.35 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005109/1.289, allocations: 99.08 kB / 0.9046 GB, free: 28.32 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(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.00423/1.294, allocations: 1.652 MB / 0.9062 GB, free: 27.3 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008068/1.294, allocations: 254.9 kB / 0.9065 GB, free: 27.17 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009179/1.304, allocations: 3.24 MB / 0.9096 GB, free: 25.23 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.601e-05/1.304, allocations: 18.94 kB / 0.9096 GB, free: 25.23 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.956e-05/1.304, allocations: 13.98 kB / 0.9097 GB, free: 25.23 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.824e-05/1.304, allocations: 3.984 kB / 0.9097 GB, free: 25.22 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02042/1.324, allocations: 7.543 MB / 0.917 GB, free: 20.67 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-05/1.324, allocations: 3.969 kB / 0.917 GB, free: 20.67 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001897/1.326, allocations: 215.7 kB / 0.9172 GB, free: 20.61 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004155/1.33, allocations: 0.8979 MB / 0.9181 GB, free: 20.02 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003918/1.331, allocations: 32 kB / 0.9181 GB, free: 19.99 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02636/1.357, allocations: 21.38 MB / 0.939 GB, free: 13.03 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.096e-05/1.357, allocations: 15.7 kB / 0.939 GB, free: 13.02 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01026/1.368, allocations: 3.699 MB / 0.9427 GB, free: 9.078 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00209/1.37, allocations: 0.5369 MB / 0.9432 GB, free: 8.52 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008089/1.371, allocations: 32 kB / 0.9432 GB, free: 8.488 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002517/1.373, allocations: 91.89 kB / 0.9433 GB, free: 8.398 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007278/1.374, allocations: 137 kB / 0.9434 GB, free: 8.266 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000192/1.374, allocations: 48 kB / 0.9435 GB, free: 8.219 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.003105/1.377, allocations: 1.209 MB / 0.9447 GB, free: 6.996 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3.046e-06/1.377, allocations: 0 / 0.9447 GB, free: 6.996 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.005318/1.383, allocations: 0.9101 MB / 0.9455 GB, free: 6.086 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 (109): * Single equations (assignments): 97 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(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,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01201/1.395, allocations: 5.42 MB / 0.9508 GB, free: 484 kB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0118/1.406, allocations: 4.402 MB / 0.9551 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.267e-05/1.406, allocations: 4.938 kB / 0.9551 GB, free: 11.92 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.007728/1.414, allocations: 2.993 MB / 0.9581 GB, free: 8.773 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006243/1.421, allocations: 0.7443 MB / 0.9588 GB, free: 8.039 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06936/1.49, allocations: 36.52 MB / 0.9944 GB, free: 1.895 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007309/1.497, allocations: 3.298 MB / 0.9977 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.003342/1.501, allocations: 0.5293 MB / 0.9982 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003762/1.505, allocations: 1.663 MB / 0.9998 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of SimCode: time 1.243e-06/1.505, allocations: 0 / 0.9998 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1981/1.703, allocations: 68.68 MB / 1.067 GB, free: 8.219 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003618/1.703, allocations: 227.7 kB / 1.067 GB, free: 7.977 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.6/6.304, allocations: 0 / 1.067 GB, free: 7.977 MB / 0.7917 GB