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_L_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_L_N,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_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.01018/0.01019, allocations: 89.98 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.001228/0.001227, allocations: 174.8 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.098/2.098, 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.361/2.361, allocations: 252.8 MB / 0.511 GB, free: 8.285 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000472/0.0004721, allocations: 14.06 kB / 0.6243 GB, free: 20.98 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2156, allocations: 106.2 MB / 0.7281 GB, free: 8.074 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.0545/0.2702, allocations: 30.68 MB / 0.758 GB, free: 9.312 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.02637/0.2966, allocations: 11.03 MB / 0.7688 GB, free: 14.25 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003382/0.3, allocations: 131.2 kB / 0.7689 GB, free: 14.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.003334/0.3034, allocations: 0.7027 MB / 0.7696 GB, free: 13.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.006343/0.3098, allocations: 1.32 MB / 0.7709 GB, free: 12.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.006862/0.3167, allocations: 1.458 MB / 0.7723 GB, free: 10.63 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.009307/0.3261, allocations: 3.874 MB / 0.7761 GB, free: 6.746 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03198/0.3581, allocations: 12.56 MB / 0.7884 GB, free: 10.1 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006246/0.3644, allocations: 2.293 MB / 0.7906 GB, free: 7.797 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005966/0.3704, allocations: 2.367 MB / 0.7929 GB, free: 5.422 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.001899/0.3724, allocations: 324 kB / 0.7932 GB, free: 5.105 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004245/0.3767, allocations: 0.8193 MB / 0.794 GB, free: 4.285 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.004434/0.3812, allocations: 2.245 MB / 0.7962 GB, free: 2.035 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.002961/0.3842, allocations: 1.104 MB / 0.7973 GB, free: 0.9219 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.01603/0.4002, allocations: 9.775 MB / 0.8069 GB, free: 7.121 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.4003, allocations: 7.938 kB / 0.8069 GB, free: 7.113 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.849e-06/0.4003, allocations: 4 kB / 0.8069 GB, free: 7.109 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0003827/0.4007, allocations: 3.938 kB / 0.8069 GB, free: 7.105 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01688/0.4176, allocations: 4.675 MB / 0.8114 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.966e-05/0.4177, allocations: 12.03 kB / 0.8115 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003243/0.4209, allocations: 0.8126 MB / 0.8123 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00885/0.4298, allocations: 1.028 MB / 0.8133 GB, free: 500 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01053/0.4404, allocations: 3.188 MB / 0.8164 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005597/0.441, allocations: 415.1 kB / 0.8168 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002338/0.4434, allocations: 0.5388 MB / 0.8173 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02995/0.4734, allocations: 8.989 MB / 0.8261 GB, free: 2.988 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002374/0.4737, allocations: 27.77 kB / 0.8261 GB, free: 2.961 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001191/0.4749, allocations: 239.9 kB / 0.8263 GB, free: 2.727 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006363/0.4755, allocations: 350.8 kB / 0.8267 GB, free: 2.383 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.662/1.138, allocations: 6.777 MB / 0.8333 GB, free: 87.64 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06472/1.202, allocations: 40.17 MB / 0.8725 GB, free: 54.69 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006175/1.209, allocations: 3.098 MB / 0.8755 GB, free: 52.59 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002669/1.209, allocations: 19.98 kB / 0.8756 GB, free: 52.59 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.846e-05/1.209, allocations: 60.28 kB / 0.8756 GB, free: 52.53 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=179): time 5.671e-06/1.209, allocations: 0 / 0.8756 GB, free: 52.53 MB / 0.6511 GB Notification: Performance of matching and sorting (n=182): time 0.04314/1.252, allocations: 9.859 MB / 0.8852 GB, free: 46.92 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.104e-05/1.252, allocations: 70.41 kB / 0.8853 GB, free: 46.86 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002936/1.255, allocations: 1.512 MB / 0.8868 GB, free: 45.98 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0003569/1.256, allocations: 56.67 kB / 0.8868 GB, free: 45.93 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001512/1.257, allocations: 2.255 MB / 0.889 GB, free: 43.95 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008026/1.258, allocations: 0.6325 MB / 0.8897 GB, free: 43.41 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000197/1.258, allocations: 43.84 kB / 0.8897 GB, free: 43.38 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001495/1.258, allocations: 398.1 kB / 0.8901 GB, free: 43.01 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002515/1.261, allocations: 1.172 MB / 0.8912 GB, free: 42.39 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003379/1.264, allocations: 1.863 MB / 0.893 GB, free: 40.84 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003524/1.268, allocations: 1.51 MB / 0.8945 GB, free: 40.03 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.24e-05/1.268, allocations: 3.906 kB / 0.8945 GB, free: 40.03 MB / 0.6511 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.01238/1.28, allocations: 4.551 MB / 0.899 GB, free: 37.59 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.737e-05/1.28, allocations: 18.45 kB / 0.899 GB, free: 37.58 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.809e-05/1.28, allocations: 25.59 kB / 0.899 GB, free: 37.58 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006316/1.287, allocations: 1.581 MB / 0.9005 GB, free: 36.93 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002384/1.289, allocations: 362.7 kB / 0.9009 GB, free: 36.83 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03272/1.322, allocations: 17.68 MB / 0.9182 GB, free: 19.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00274/1.325, allocations: 123.8 kB / 0.9183 GB, free: 19.82 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004229/1.325, allocations: 95.98 kB / 0.9184 GB, free: 19.73 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 (177): * Single equations (assignments): 173 * 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: 4 {(12,31.2%) 26,(6,66.7%) 24,(6,66.7%) 16,(6,66.7%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004676/1.33, allocations: 1.898 MB / 0.9202 GB, free: 17.82 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006948/1.331, allocations: 225.3 kB / 0.9204 GB, free: 17.6 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01098/1.342, allocations: 4.074 MB / 0.9244 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.422e-05/1.342, allocations: 19.95 kB / 0.9244 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.844e-05/1.342, allocations: 20 kB / 0.9245 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.441e-05/1.342, allocations: 11.95 kB / 0.9245 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02516/1.367, allocations: 9.44 MB / 0.9337 GB, free: 3.793 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.5e-05/1.367, allocations: 4 kB / 0.9337 GB, free: 3.789 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001592/1.369, allocations: 183.7 kB / 0.9339 GB, free: 3.609 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005933/1.375, allocations: 1.348 MB / 0.9352 GB, free: 2.254 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000401/1.375, allocations: 32 kB / 0.9352 GB, free: 2.223 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03589/1.411, allocations: 16.55 MB / 0.9514 GB, free: 1.16 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.194e-05/1.411, allocations: 11.94 kB / 0.9514 GB, free: 1.148 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01249/1.424, allocations: 4.35 MB / 0.9556 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001984/1.426, allocations: 0.5295 MB / 0.9562 GB, free: 12 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006408/1.426, allocations: 35.98 kB / 0.9562 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001796/1.428, allocations: 91.84 kB / 0.9563 GB, free: 11.87 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007037/1.429, allocations: 165.7 kB / 0.9564 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001876/1.429, allocations: 48 kB / 0.9565 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002213/1.431, allocations: 0.9889 MB / 0.9574 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.51e-07/1.431, allocations: 0 / 0.9574 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004992/1.436, allocations: 0.9844 MB / 0.9584 GB, free: 9.668 MB / 0.6823 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 (85): * Single equations (assignments): 81 * 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: 4 {(6,66.7%) 16,(6,66.7%) 16,(6,66.7%) 24,(6,66.7%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01368/1.45, allocations: 6.092 MB / 0.9644 GB, free: 3.406 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01259/1.463, allocations: 4.296 MB / 0.9686 GB, free: 15.07 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.396e-05/1.463, allocations: 4.125 kB / 0.9686 GB, free: 15.07 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.008254/1.471, allocations: 2.666 MB / 0.9712 GB, free: 12.35 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005585/1.477, allocations: 0.6759 MB / 0.9718 GB, free: 11.69 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07316/1.55, allocations: 37.85 MB / 1.009 GB, free: 4.383 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008727/1.559, allocations: 3.664 MB / 1.012 GB, free: 0.6836 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.004161/1.563, allocations: 463.9 kB / 1.013 GB, free: 232 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006674/1.57, allocations: 1.803 MB / 1.015 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of SimCode: time 2.435e-06/1.57, allocations: 0 / 1.015 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2232/1.793, allocations: 70.51 MB / 1.083 GB, free: 8.406 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000363/1.793, allocations: 237.8 kB / 1.084 GB, free: 8.156 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.533/6.327, allocations: 0 / 1.084 GB, free: 8.156 MB / 0.8073 GB