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_N.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_N,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_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.2/package.mo): time 0.01069/0.01069, allocations: 107.6 kB / 15.06 MB, free: 5.551 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.001134/0.001134, allocations: 183 kB / 15.95 MB, free: 5.516 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 2.081/2.081, allocations: 194.6 MB / 211.3 MB, free: 11.03 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.326/2.326, allocations: 236.1 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000466/0.000466, allocations: 12 kB / 0.587 GB, free: 2.07 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7111/0.7116, allocations: 98.7 MB / 0.6834 GB, free: 16.72 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.017/0.7286, allocations: 10.42 MB / 0.6936 GB, free: 9.918 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0118/0.7405, allocations: 5.144 MB / 0.6986 GB, free: 6.484 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001515/0.7421, allocations: 33.84 kB / 0.6987 GB, free: 6.473 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.001639/0.7437, allocations: 324.8 kB / 0.699 GB, free: 6.285 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.002972/0.7467, allocations: 0.552 MB / 0.6995 GB, free: 5.918 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.00327/0.75, allocations: 0.5872 MB / 0.7001 GB, free: 5.633 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0033/0.7534, allocations: 1.207 MB / 0.7013 GB, free: 4.863 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007967/0.7614, allocations: 3.867 MB / 0.7051 GB, free: 2.867 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001578/0.763, allocations: 0.6442 MB / 0.7057 GB, free: 2.508 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001607/0.7647, allocations: 0.7468 MB / 0.7064 GB, free: 2.059 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0004041/0.7651, allocations: 101.4 kB / 0.7065 GB, free: 2.059 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001595/0.7667, allocations: 318.5 kB / 0.7068 GB, free: 1.973 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.001064/0.7678, allocations: 0.6841 MB / 0.7075 GB, free: 1.59 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0006608/0.7685, allocations: 363.6 kB / 0.7078 GB, free: 1.367 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.005314/0.7738, allocations: 3.242 MB / 0.711 GB, free: 15.06 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.7739, allocations: 0 / 0.711 GB, free: 15.06 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.855e-06/0.7739, allocations: 9.219 kB / 0.711 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001055/0.774, allocations: 0 / 0.711 GB, free: 15.05 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: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.007019/0.781, allocations: 1.765 MB / 0.7127 GB, free: 13.83 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.404e-05/0.7811, allocations: 9.25 kB / 0.7127 GB, free: 13.83 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001246/0.7823, allocations: 267.8 kB / 0.713 GB, free: 13.63 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005639/0.788, allocations: 0.7565 MB / 0.7137 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004536/0.7926, allocations: 1.231 MB / 0.7149 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001631/0.7928, allocations: 124 kB / 0.715 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008088/0.7936, allocations: 160.8 kB / 0.7152 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009038/0.8027, allocations: 2.929 MB / 0.7181 GB, free: 10.58 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.719e-05/0.8028, allocations: 3.938 kB / 0.7181 GB, free: 10.58 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003411/0.8032, allocations: 67.98 kB / 0.7181 GB, free: 10.51 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007613/0.8039, allocations: 207 kB / 0.7183 GB, free: 10.31 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007768/0.8117, allocations: 2.507 MB / 0.7208 GB, free: 7.797 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02246/0.8342, allocations: 10.9 MB / 0.7314 GB, free: 12 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002481/0.8368, allocations: 0.9136 MB / 0.7323 GB, free: 11.04 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002311/0.837, allocations: 89.47 kB / 0.7324 GB, free: 10.94 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.176e-05/0.8371, allocations: 38.94 kB / 0.7324 GB, free: 10.89 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=46): time 3.076e-06/0.8371, allocations: 0 / 0.7324 GB, free: 10.89 MB / 0.5573 GB Notification: Performance of matching and sorting (n=70): time 0.05404/0.8912, allocations: 8.977 MB / 0.7412 GB, free: 1.832 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.444e-05/0.8913, allocations: 81.67 kB / 0.7413 GB, free: 1.734 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002115/0.8934, allocations: 0.9415 MB / 0.7422 GB, free: 0.7852 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0002195/0.8937, allocations: 41.69 kB / 0.7422 GB, free: 0.7383 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008349/0.8945, allocations: 0.7698 MB / 0.743 GB, free: 15.95 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004238/0.895, allocations: 248.4 kB / 0.7432 GB, free: 15.71 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000145/0.8951, allocations: 20 kB / 0.7432 GB, free: 15.69 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002663/0.8954, allocations: 398.7 kB / 0.7436 GB, free: 15.29 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002246/0.8976, allocations: 0.795 MB / 0.7444 GB, free: 14.49 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002578/0.9003, allocations: 1.167 MB / 0.7455 GB, free: 13.16 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002699/0.903, allocations: 0.9907 MB / 0.7465 GB, free: 12.17 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-05/0.9031, allocations: 7.953 kB / 0.7465 GB, free: 12.16 MB / 0.573 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.0187/0.9218, allocations: 3.783 MB / 0.7502 GB, free: 8.363 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.00209/0.9239, allocations: 4.269 MB / 0.7544 GB, free: 3.758 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.234e-05/0.924, allocations: 12 kB / 0.7544 GB, free: 3.746 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01641/0.9404, allocations: 2.161 MB / 0.7565 GB, free: 1.578 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001757/0.9422, allocations: 223.6 kB / 0.7567 GB, free: 1.359 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02933/0.9716, allocations: 10.66 MB / 0.7671 GB, free: 6.438 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002419/0.9741, allocations: 199.6 kB / 0.7673 GB, free: 6.242 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001703/0.9743, allocations: 47.98 kB / 0.7674 GB, free: 6.195 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.9743, allocations: 9.25 kB / 0.7674 GB, free: 6.188 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01432/0.9886, allocations: 3.072 MB / 0.7704 GB, free: 3.109 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.636e-05/0.9887, allocations: 12 kB / 0.7704 GB, free: 3.098 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0106/0.9993, allocations: 1.361 MB / 0.7717 GB, free: 1.734 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002134/1.002, allocations: 295.5 kB / 0.772 GB, free: 1.445 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02003/1.022, allocations: 6.375 MB / 0.7782 GB, free: 10.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002239/1.024, allocations: 171.7 kB / 0.7784 GB, free: 10.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001849/1.024, allocations: 48 kB / 0.7784 GB, free: 10.72 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (97): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.002263/1.026, allocations: 0.8947 MB / 0.7793 GB, free: 9.812 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003689/1.027, allocations: 90.92 kB / 0.7794 GB, free: 9.723 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0168/1.044, allocations: 3.327 MB / 0.7826 GB, free: 6.375 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-05/1.044, allocations: 8 kB / 0.7827 GB, free: 6.367 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-05/1.044, allocations: 8 kB / 0.7827 GB, free: 6.359 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.301e-05/1.044, allocations: 3.984 kB / 0.7827 GB, free: 6.355 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02261/1.066, allocations: 5.489 MB / 0.788 GB, free: 0.7578 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.781e-05/1.066, allocations: 0 / 0.788 GB, free: 0.7578 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008601/1.067, allocations: 103.8 kB / 0.7881 GB, free: 0.6562 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01478/1.082, allocations: 1.989 MB / 0.7901 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002023/1.082, allocations: 15.98 kB / 0.7901 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02648/1.109, allocations: 10.06 MB / 0.7999 GB, free: 4.316 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/1.109, allocations: 0 / 0.7999 GB, free: 4.316 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01632/1.125, allocations: 3.297 MB / 0.8031 GB, free: 0.9219 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00118/1.126, allocations: 332 kB / 0.8034 GB, free: 0.5781 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003035/1.127, allocations: 23.95 kB / 0.8035 GB, free: 0.5547 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001806/1.129, allocations: 147.8 kB / 0.8036 GB, free: 420 kB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004802/1.129, allocations: 60.47 kB / 0.8037 GB, free: 360 kB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001092/1.129, allocations: 24 kB / 0.8037 GB, free: 336 kB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001663/1.131, allocations: 0.6746 MB / 0.8043 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.106e-06/1.131, allocations: 0 / 0.8043 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00402/1.135, allocations: 0.6835 MB / 0.805 GB, free: 14.98 MB / 0.6355 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): 40 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.01742/1.152, allocations: 4.443 MB / 0.8093 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.01789/1.17, allocations: 3.92 MB / 0.8132 GB, free: 6.48 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-05/1.17, allocations: 0 / 0.8132 GB, free: 6.48 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.005691/1.176, allocations: 1.318 MB / 0.8145 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002533/1.179, allocations: 228.4 kB / 0.8147 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05776/1.236, allocations: 18.57 MB / 0.8328 GB, free: 1.98 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002926/1.239, allocations: 1.758 MB / 0.8345 GB, free: 188 kB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.002501/1.242, allocations: 0.511 MB / 0.835 GB, free: 15.66 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001374/1.243, allocations: 0.4992 MB / 0.8355 GB, free: 15.17 MB / 0.6667 GB Notification: Performance of SimCode: time 1.463e-06/1.243, allocations: 3.938 kB / 0.8355 GB, free: 15.16 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.115/1.358, allocations: 41.55 MB / 0.8761 GB, free: 5.957 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003508/1.359, allocations: 242.2 kB / 0.8763 GB, free: 5.68 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.5/4.859, allocations: 0 / 0.8763 GB, free: 5.68 MB / 0.698 GB