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.ACLineMatrix_RLC_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: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009088/0.009093, allocations: 106.9 kB / 15.06 MB, free: 5.562 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.001132/0.001132, allocations: 177.9 kB / 15.95 MB, free: 5.523 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.952/1.952, allocations: 194.6 MB / 211.3 MB, free: 11.04 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.308/2.308, allocations: 236.1 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004717/0.0004718, allocations: 12 kB / 0.5869 GB, free: 2.121 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5405/0.541, allocations: 98.72 MB / 0.6834 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01156/0.5527, allocations: 8.746 MB / 0.6919 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.006095/0.5588, allocations: 3.062 MB / 0.6949 GB, free: 8.926 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001111/0.5599, allocations: 27.41 kB / 0.6949 GB, free: 8.914 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0005937/0.5606, allocations: 183.3 kB / 0.6951 GB, free: 8.812 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.002081/0.5627, allocations: 0.4894 MB / 0.6956 GB, free: 8.492 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001965/0.5647, allocations: 0.515 MB / 0.6961 GB, free: 8.262 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.002811/0.5675, allocations: 1.444 MB / 0.6975 GB, free: 7.559 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005416/0.573, allocations: 2.707 MB / 0.7001 GB, free: 6.371 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001708/0.5747, allocations: 0.8007 MB / 0.7009 GB, free: 5.906 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001692/0.5764, allocations: 1.002 MB / 0.7019 GB, free: 5.332 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0003665/0.5768, allocations: 113.3 kB / 0.702 GB, free: 5.332 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000925/0.5778, allocations: 228.2 kB / 0.7022 GB, free: 5.277 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.000983/0.5788, allocations: 0.8469 MB / 0.703 GB, free: 4.809 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0005834/0.5794, allocations: 381 kB / 0.7034 GB, free: 4.586 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.003632/0.583, allocations: 2.952 MB / 0.7063 GB, free: 2.492 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.365e-06/0.5831, allocations: 0.9688 kB / 0.7063 GB, free: 2.492 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.082e-06/0.5831, allocations: 0 / 0.7063 GB, free: 2.492 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.033e-05/0.5832, allocations: 0 / 0.7063 GB, free: 2.492 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.004311/0.5875, allocations: 1.784 MB / 0.708 GB, free: 1.211 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.5875, allocations: 8.906 kB / 0.708 GB, free: 1.211 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01143/0.599, allocations: 1.43 MB / 0.7094 GB, free: 0.5625 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003337/0.6024, allocations: 1.222 MB / 0.7106 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001274/0.6025, allocations: 111.5 kB / 0.7107 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005464/0.6031, allocations: 149.1 kB / 0.7109 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008621/0.6117, allocations: 3.412 MB / 0.7142 GB, free: 13.63 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.97e-05/0.6118, allocations: 2.5 kB / 0.7142 GB, free: 13.63 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003405/0.6122, allocations: 70.58 kB / 0.7143 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003511/0.6125, allocations: 213.2 kB / 0.7145 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008455/0.621, allocations: 3.112 MB / 0.7175 GB, free: 11.12 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02588/0.6469, allocations: 13.58 MB / 0.7308 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003736/0.6507, allocations: 1.717 MB / 0.7324 GB, free: 10.94 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001236/0.6509, allocations: 13 kB / 0.7325 GB, free: 10.93 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.038e-05/0.6509, allocations: 47.55 kB / 0.7325 GB, free: 10.88 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=104): time 4.353e-06/0.6509, allocations: 0 / 0.7325 GB, free: 10.88 MB / 0.5573 GB Notification: Performance of matching and sorting (n=183): time 0.176/0.8269, allocations: 35.95 MB / 0.7676 GB, free: 6.781 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.588e-05/0.827, allocations: 73.41 kB / 0.7677 GB, free: 6.695 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002001/0.829, allocations: 1.053 MB / 0.7687 GB, free: 5.617 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0004459/0.8295, allocations: 49.7 kB / 0.7688 GB, free: 5.562 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007538/0.8303, allocations: 0.795 MB / 0.7695 GB, free: 4.758 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009124/0.8312, allocations: 0.6161 MB / 0.7701 GB, free: 4.133 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002664/0.8315, allocations: 40 kB / 0.7702 GB, free: 4.094 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0002574/0.8317, allocations: 389.9 kB / 0.7705 GB, free: 3.707 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004167/0.8359, allocations: 1.924 MB / 0.7724 GB, free: 1.781 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004921/0.8409, allocations: 2.273 MB / 0.7746 GB, free: 15.38 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004913/0.8458, allocations: 2.21 MB / 0.7768 GB, free: 13.18 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.779e-05/0.8459, allocations: 7.984 kB / 0.7768 GB, free: 13.17 MB / 0.6042 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02897/0.8749, allocations: 8.991 MB / 0.7856 GB, free: 4.148 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.253e-05/0.8749, allocations: 12.09 kB / 0.7856 GB, free: 4.137 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.831e-05/0.875, allocations: 12 kB / 0.7856 GB, free: 4.125 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02536/0.9003, allocations: 4.972 MB / 0.7905 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/0.9015, allocations: 191.7 kB / 0.7906 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07874/0.9803, allocations: 36.86 MB / 0.8266 GB, free: 9.539 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002219/0.9825, allocations: 103.9 kB / 0.8267 GB, free: 9.438 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003487/0.9829, allocations: 67.95 kB / 0.8268 GB, free: 9.371 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,100.0%) 16,(8,100.0%) 16,(8,100.0%) 38,(8,100.0%) 38} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001959/0.9849, allocations: 0.7986 MB / 0.8276 GB, free: 8.562 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004995/0.9854, allocations: 138.3 kB / 0.8277 GB, free: 8.426 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02701/1.012, allocations: 8.879 MB / 0.8364 GB, free: 15.51 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.02e-05/1.012, allocations: 24 kB / 0.8364 GB, free: 15.48 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.494e-05/1.013, allocations: 28 kB / 0.8364 GB, free: 15.46 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.719e-05/1.013, allocations: 11.92 kB / 0.8365 GB, free: 15.45 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06962/1.082, allocations: 13.13 MB / 0.8493 GB, free: 2.18 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.427e-05/1.082, allocations: 4 kB / 0.8493 GB, free: 2.176 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001316/1.084, allocations: 123.8 kB / 0.8494 GB, free: 2.055 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03396/1.118, allocations: 4.743 MB / 0.854 GB, free: 13.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004646/1.118, allocations: 44 kB / 0.8541 GB, free: 13.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07193/1.19, allocations: 32.99 MB / 0.8863 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.288e-05/1.19, allocations: 11.94 kB / 0.8863 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02603/1.216, allocations: 8.557 MB / 0.8947 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001974/1.218, allocations: 0.6124 MB / 0.8953 GB, free: 2.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004499/1.219, allocations: 39.98 kB / 0.8953 GB, free: 2.281 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001536/1.22, allocations: 95.89 kB / 0.8954 GB, free: 2.188 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009194/1.221, allocations: 153.7 kB / 0.8955 GB, free: 2.035 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002777/1.221, allocations: 51.98 kB / 0.8956 GB, free: 1.984 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.00144/1.223, allocations: 0.7343 MB / 0.8963 GB, free: 1.238 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8.47e-07/1.223, allocations: 0 / 0.8963 GB, free: 1.238 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.004367/1.227, allocations: 0.9961 MB / 0.8973 GB, free: 248 kB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * 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 {(8,100.0%) 16,(8,100.0%) 38,(8,100.0%) 8,(14,77.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004638/1.228, allocations: 147.1 kB / 0.8974 GB, free: 92 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.01505/1.243, allocations: 5.83 MB / 0.9031 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.258e-05/1.243, allocations: 3.938 kB / 0.9031 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.01836/1.261, allocations: 3.778 MB / 0.9068 GB, free: 6.383 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002882/1.264, allocations: 201.8 kB / 0.907 GB, free: 6.188 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02062/1.285, allocations: 5.63 MB / 0.9125 GB, free: 0.4922 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4779/1.763, allocations: 1.892 MB / 0.9143 GB, free: 202.9 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001248/1.764, allocations: 342.8 kB / 0.9147 GB, free: 202.9 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002679/1.764, allocations: 59.88 kB / 0.9147 GB, free: 202.9 MB / 0.7292 GB Notification: Performance of SimCode: time 3.334e-06/1.764, allocations: 3.375 kB / 0.9147 GB, free: 202.9 MB / 0.7292 GB Notification: Performance of Templates: time 0.1204/1.885, allocations: 54.4 MB / 0.9678 GB, free: 175.9 MB / 0.7292 GB