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_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_R_N,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_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.01005/0.01005, allocations: 87.36 kB / 15.04 MB, free: 6.059 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.001147/0.001147, allocations: 171.2 kB / 15.92 MB, free: 5.996 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.135/2.135, allocations: 205.5 MB / 222.2 MB, free: 13.7 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.349/2.349, allocations: 252.8 MB / 0.511 GB, free: 8.34 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004869/0.000487, allocations: 14.59 kB / 0.6243 GB, free: 21.05 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.2205, allocations: 106.2 MB / 0.7281 GB, free: 8.098 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.05699/0.2776, allocations: 33.04 MB / 0.7603 GB, free: 6.973 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.02513/0.3028, allocations: 10.72 MB / 0.7708 GB, free: 12.23 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003673/0.3065, allocations: 127.2 kB / 0.7709 GB, free: 12.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.003511/0.3101, allocations: 0.7531 MB / 0.7717 GB, free: 11.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.007643/0.3178, allocations: 1.713 MB / 0.7733 GB, free: 9.625 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00626/0.3241, allocations: 1.295 MB / 0.7746 GB, free: 8.328 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.01075/0.3348, allocations: 4.447 MB / 0.7789 GB, free: 3.871 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03163/0.3665, allocations: 12.64 MB / 0.7913 GB, free: 7.145 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006588/0.3732, allocations: 2.495 MB / 0.7937 GB, free: 4.641 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006748/0.38, allocations: 2.651 MB / 0.7963 GB, free: 1.98 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.002047/0.3821, allocations: 348 kB / 0.7966 GB, free: 1.641 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004837/0.3869, allocations: 0.5893 MB / 0.7972 GB, free: 1.051 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.006632/0.3936, allocations: 2.311 MB / 0.7995 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.004146/0.3978, allocations: 1.198 MB / 0.8006 GB, free: 13.53 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01645/0.4143, allocations: 10.02 MB / 0.8104 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.4144, allocations: 3.938 kB / 0.8104 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.537e-06/0.4144, allocations: 0 / 0.8104 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0004096/0.4148, allocations: 0 / 0.8104 GB, free: 3.473 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01846/0.4333, allocations: 5.105 MB / 0.8154 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.718e-05/0.4334, allocations: 8.031 kB / 0.8154 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00322/0.4366, allocations: 0.8292 MB / 0.8162 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00786/0.4445, allocations: 1.016 MB / 0.8172 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01105/0.4556, allocations: 3.341 MB / 0.8205 GB, free: 9.031 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005439/0.4562, allocations: 423.4 kB / 0.8209 GB, free: 8.617 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00219/0.4584, allocations: 0.5467 MB / 0.8214 GB, free: 8.07 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5892/1.048, allocations: 9.27 MB / 0.8305 GB, free: 85.13 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003965/1.048, allocations: 21.5 kB / 0.8305 GB, free: 85.12 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002102/1.05, allocations: 256 kB / 0.8308 GB, free: 85.12 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001294/1.052, allocations: 419.4 kB / 0.8312 GB, free: 85.11 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02316/1.075, allocations: 7.079 MB / 0.8381 GB, free: 82.84 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06336/1.138, allocations: 41.37 MB / 0.8785 GB, free: 47.81 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008126/1.146, allocations: 3.094 MB / 0.8815 GB, free: 46.2 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002909/1.147, allocations: 21.75 kB / 0.8815 GB, free: 46.2 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.309e-05/1.147, allocations: 66.86 kB / 0.8816 GB, free: 46.14 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=209): time 7.063e-06/1.147, allocations: 1.469 kB / 0.8816 GB, free: 46.14 MB / 0.6511 GB Notification: Performance of matching and sorting (n=212): time 0.04312/1.19, allocations: 10.43 MB / 0.8918 GB, free: 40.23 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.805e-05/1.19, allocations: 77.16 kB / 0.8918 GB, free: 40.17 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003603/1.194, allocations: 1.984 MB / 0.8938 GB, free: 39.08 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0005119/1.194, allocations: 61.61 kB / 0.8938 GB, free: 39.02 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001625/1.196, allocations: 2.411 MB / 0.8962 GB, free: 36.91 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.001047/1.197, allocations: 0.7268 MB / 0.8969 GB, free: 36.28 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002781/1.197, allocations: 55.78 kB / 0.897 GB, free: 36.24 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000172/1.197, allocations: 422.7 kB / 0.8974 GB, free: 35.85 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003236/1.201, allocations: 1.358 MB / 0.8987 GB, free: 35.14 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003839/1.205, allocations: 2.086 MB / 0.9007 GB, free: 33.48 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004217/1.209, allocations: 1.722 MB / 0.9024 GB, free: 32.55 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.142e-05/1.209, allocations: 7.625 kB / 0.9024 GB, free: 32.55 MB / 0.6511 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.01319/1.222, allocations: 5.036 MB / 0.9073 GB, free: 29.87 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.18e-05/1.222, allocations: 15.09 kB / 0.9073 GB, free: 29.87 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.959e-05/1.222, allocations: 26.75 kB / 0.9074 GB, free: 29.87 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006063/1.228, allocations: 1.559 MB / 0.9089 GB, free: 29.21 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003313/1.232, allocations: 453 kB / 0.9093 GB, free: 28.86 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03372/1.265, allocations: 17.72 MB / 0.9266 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004966/1.27, allocations: 144.1 kB / 0.9268 GB, free: 10.49 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006411/1.271, allocations: 112 kB / 0.9269 GB, free: 10.38 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 (231): * Single equations (assignments): 227 * 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,69.4%) 32,(6,66.7%) 24,(4,100.0%) 18,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006658/1.278, allocations: 1.941 MB / 0.9288 GB, free: 8.426 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001047/1.279, allocations: 288.6 kB / 0.929 GB, free: 8.141 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01603/1.295, allocations: 4.428 MB / 0.9334 GB, free: 3.684 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.282e-05/1.295, allocations: 20 kB / 0.9334 GB, free: 3.664 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.354e-05/1.295, allocations: 20 kB / 0.9334 GB, free: 3.645 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.145e-05/1.295, allocations: 11.95 kB / 0.9334 GB, free: 3.633 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0364/1.332, allocations: 9.647 MB / 0.9428 GB, free: 9.875 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.285e-05/1.332, allocations: 7.938 kB / 0.9428 GB, free: 9.871 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002804/1.334, allocations: 232.2 kB / 0.9431 GB, free: 9.645 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007239/1.342, allocations: 1.43 MB / 0.9445 GB, free: 8.207 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005841/1.342, allocations: 43.92 kB / 0.9445 GB, free: 8.164 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03894/1.381, allocations: 17.74 MB / 0.9618 GB, free: 5.906 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.044e-05/1.381, allocations: 7.938 kB / 0.9618 GB, free: 5.898 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01333/1.395, allocations: 4.874 MB / 0.9666 GB, free: 0.8281 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002494/1.397, allocations: 0.6342 MB / 0.9672 GB, free: 176 kB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009844/1.398, allocations: 47.95 kB / 0.9673 GB, free: 128 kB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002858/1.401, allocations: 111.9 kB / 0.9674 GB, free: 16 kB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009684/1.402, allocations: 177.7 kB / 0.9675 GB, free: 15.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002478/1.403, allocations: 60 kB / 0.9676 GB, free: 15.79 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.003036/1.406, allocations: 1.295 MB / 0.9689 GB, free: 14.48 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.61e-07/1.406, allocations: 0 / 0.9689 GB, free: 14.48 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.005372/1.411, allocations: 1.141 MB / 0.97 GB, free: 13.34 MB / 0.698 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 (107): * Single equations (assignments): 103 * 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 {(4,100.0%) 18,(6,66.7%) 24,(4,100.0%) 18,(6,66.7%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01461/1.426, allocations: 6.588 MB / 0.9764 GB, free: 6.578 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01298/1.439, allocations: 4.671 MB / 0.981 GB, free: 1.863 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.259e-05/1.439, allocations: 4 kB / 0.981 GB, free: 1.859 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.007911/1.447, allocations: 2.925 MB / 0.9838 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005719/1.452, allocations: 0.7926 MB / 0.9846 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07442/1.527, allocations: 41.19 MB / 1.025 GB, free: 3.133 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007667/1.535, allocations: 3.776 MB / 1.029 GB, free: 15.32 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.003601/1.538, allocations: 0.5557 MB / 1.029 GB, free: 14.76 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0044/1.543, allocations: 1.956 MB / 1.031 GB, free: 12.8 MB / 0.7605 GB Notification: Performance of SimCode: time 1.824e-06/1.543, allocations: 0 / 1.031 GB, free: 12.8 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2154/1.758, allocations: 82.31 MB / 1.111 GB, free: 11.09 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003551/1.759, allocations: 222 kB / 1.112 GB, free: 10.85 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.074/6.833, allocations: 0 / 1.112 GB, free: 10.85 MB / 0.8386 GB