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.ACSimpleGrid.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.ACSimpleGrid,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid",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.01198/0.01199, allocations: 106.3 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.001296/0.001296, allocations: 183.5 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.991/1.991, allocations: 194.6 MB / 211.3 MB, free: 11.06 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.257/2.257, allocations: 236.2 MB / 492.6 MB, free: 11.3 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004896/0.0004897, allocations: 19.94 kB / 0.587 GB, free: 2.051 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7857/0.7863, allocations: 98.71 MB / 0.6834 GB, free: 16.85 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.01743/0.8037, allocations: 10.34 MB / 0.6935 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.01188/0.8157, allocations: 4.944 MB / 0.6984 GB, free: 6.816 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0015/0.8172, allocations: 29 kB / 0.6984 GB, free: 6.809 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.001822/0.8191, allocations: 323.5 kB / 0.6987 GB, free: 6.621 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.003103/0.8222, allocations: 0.5304 MB / 0.6992 GB, free: 6.27 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0033/0.8256, allocations: 0.5578 MB / 0.6998 GB, free: 6 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.003163/0.8288, allocations: 1.144 MB / 0.7009 GB, free: 5.277 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008054/0.8369, allocations: 3.622 MB / 0.7044 GB, free: 3.387 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001565/0.8385, allocations: 0.6078 MB / 0.705 GB, free: 3.043 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001727/0.8403, allocations: 0.6649 MB / 0.7057 GB, free: 2.641 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0004306/0.8408, allocations: 94.94 kB / 0.7057 GB, free: 2.641 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001697/0.8425, allocations: 300.7 kB / 0.706 GB, free: 2.559 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.00143/0.844, allocations: 0.6636 MB / 0.7067 GB, free: 2.191 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0009138/0.8449, allocations: 347.8 kB / 0.707 GB, free: 1.977 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.005008/0.8499, allocations: 3.01 MB / 0.71 GB, free: 15.83 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.85, allocations: 0 / 0.71 GB, free: 15.83 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.555e-06/0.85, allocations: 4 kB / 0.71 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001049/0.8501, allocations: 0 / 0.71 GB, free: 15.82 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.00659/0.8567, allocations: 1.637 MB / 0.7116 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.8568, allocations: 9.25 kB / 0.7116 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00125/0.8581, allocations: 246 kB / 0.7118 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004305/0.8624, allocations: 497.2 kB / 0.7123 GB, free: 14.26 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00398/0.8664, allocations: 1.132 MB / 0.7134 GB, free: 13.51 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001617/0.8666, allocations: 128.9 kB / 0.7135 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007444/0.8674, allocations: 143.5 kB / 0.7136 GB, free: 13.4 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009271/0.8767, allocations: 2.732 MB / 0.7163 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-05/0.8768, allocations: 10.72 kB / 0.7163 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003472/0.8772, allocations: 66.02 kB / 0.7164 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006285/0.8778, allocations: 172.9 kB / 0.7165 GB, free: 11.67 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007655/0.8855, allocations: 2.288 MB / 0.7188 GB, free: 9.93 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02219/0.9077, allocations: 10.53 MB / 0.7291 GB, free: 14.52 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001794/0.9095, allocations: 0.5649 MB / 0.7296 GB, free: 13.94 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001981/0.9098, allocations: 97.08 kB / 0.7297 GB, free: 13.83 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.313e-05/0.9098, allocations: 38.5 kB / 0.7297 GB, free: 13.78 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=36): time 2.755e-06/0.9098, allocations: 0 / 0.7297 GB, free: 13.78 MB / 0.5573 GB Notification: Performance of matching and sorting (n=52): time 0.03935/0.9492, allocations: 6.295 MB / 0.7359 GB, free: 7.426 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.868e-05/0.9493, allocations: 89.48 kB / 0.736 GB, free: 7.32 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001935/0.9513, allocations: 0.8944 MB / 0.7368 GB, free: 6.418 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001814/0.9515, allocations: 33.7 kB / 0.7369 GB, free: 6.379 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007026/0.9522, allocations: 0.7578 MB / 0.7376 GB, free: 5.609 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002622/0.9525, allocations: 181.4 kB / 0.7378 GB, free: 5.43 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.9526, allocations: 20 kB / 0.7378 GB, free: 5.41 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002194/0.9528, allocations: 390.8 kB / 0.7382 GB, free: 5.02 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001794/0.9546, allocations: 0.646 MB / 0.7388 GB, free: 4.371 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002095/0.9567, allocations: 1.007 MB / 0.7398 GB, free: 3.195 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002087/0.9588, allocations: 0.8179 MB / 0.7406 GB, free: 2.375 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.034e-05/0.9589, allocations: 4 kB / 0.7406 GB, free: 2.371 MB / 0.5573 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.01681/0.9757, allocations: 3.225 MB / 0.7438 GB, free: 15.12 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.002187/0.9779, allocations: 4.525 MB / 0.7482 GB, free: 10.24 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.965e-05/0.978, allocations: 15.98 kB / 0.7482 GB, free: 10.23 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01519/0.9932, allocations: 1.86 MB / 0.75 GB, free: 8.352 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001645/0.9949, allocations: 223.6 kB / 0.7502 GB, free: 8.133 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0251/1.02, allocations: 10.52 MB / 0.7605 GB, free: 13.08 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002227/1.022, allocations: 171.7 kB / 0.7607 GB, free: 12.91 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001481/1.022, allocations: 40 kB / 0.7607 GB, free: 12.87 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/1.022, allocations: 8.062 kB / 0.7607 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01331/1.036, allocations: 2.629 MB / 0.7633 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.054e-05/1.036, allocations: 11.94 kB / 0.7633 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009888/1.046, allocations: 1.2 MB / 0.7644 GB, free: 9.008 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001857/1.048, allocations: 251.6 kB / 0.7647 GB, free: 8.762 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01335/1.061, allocations: 5.692 MB / 0.7702 GB, free: 2.809 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002008/1.063, allocations: 159.7 kB / 0.7704 GB, free: 2.652 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001436/1.063, allocations: 44 kB / 0.7704 GB, free: 2.609 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (99): * Single equations (assignments): 95 * 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: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.001948/1.065, allocations: 0.8402 MB / 0.7713 GB, free: 1.758 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002804/1.066, allocations: 79.06 kB / 0.7713 GB, free: 1.68 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01471/1.08, allocations: 2.695 MB / 0.774 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-05/1.08, allocations: 8 kB / 0.774 GB, free: 14.94 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/1.08, allocations: 0 / 0.774 GB, free: 14.94 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.84e-05/1.08, allocations: 3.984 kB / 0.774 GB, free: 14.94 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01933/1.1, allocations: 4.547 MB / 0.7784 GB, free: 10.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/1.1, allocations: 0 / 0.7784 GB, free: 10.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008013/1.101, allocations: 103.8 kB / 0.7785 GB, free: 10.19 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01329/1.114, allocations: 1.704 MB / 0.7802 GB, free: 8.473 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001429/1.114, allocations: 16 kB / 0.7802 GB, free: 8.457 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02163/1.136, allocations: 10.04 MB / 0.79 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.443e-06/1.136, allocations: 3.938 kB / 0.79 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01444/1.15, allocations: 2.751 MB / 0.7927 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009971/1.151, allocations: 299.9 kB / 0.793 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002212/1.152, allocations: 15.95 kB / 0.793 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001517/1.153, allocations: 127.8 kB / 0.7931 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003676/1.153, allocations: 51.88 kB / 0.7932 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.887e-05/1.154, allocations: 16 kB / 0.7932 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.00145/1.155, allocations: 0.6356 MB / 0.7938 GB, free: 9.871 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.91e-07/1.155, allocations: 0 / 0.7938 GB, free: 9.871 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003191/1.158, allocations: 0.5859 MB / 0.7944 GB, free: 9.285 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (42): * Single equations (assignments): 38 * 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: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.01529/1.174, allocations: 3.886 MB / 0.7982 GB, free: 5.305 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.009143/1.183, allocations: 3.262 MB / 0.8014 GB, free: 1.969 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/1.183, allocations: 0.6875 kB / 0.8014 GB, free: 1.969 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.00346/1.186, allocations: 1.283 MB / 0.8026 GB, free: 0.6328 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001766/1.188, allocations: 218.7 kB / 0.8028 GB, free: 432 kB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03702/1.225, allocations: 17.46 MB / 0.8199 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002346/1.228, allocations: 1.653 MB / 0.8215 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.002314/1.23, allocations: 486.3 kB / 0.822 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001207/1.231, allocations: 495.3 kB / 0.8224 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of SimCode: time 1.372e-06/1.231, allocations: 0 / 0.8224 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1023/1.333, allocations: 34.42 MB / 0.856 GB, free: 9.832 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00035/1.334, allocations: 235.8 kB / 0.8563 GB, free: 9.598 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.297/4.631, allocations: 1.25 kB / 0.8563 GB, free: 9.598 MB / 0.6823 GB