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.ACLine_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.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.0158/0.01581, allocations: 107.2 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.001865/0.001865, allocations: 180.1 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 2.105/2.105, allocations: 194.5 MB / 211.3 MB, free: 11.12 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.407/2.407, allocations: 236.1 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004836/0.0004838, allocations: 12 kB / 0.587 GB, free: 2.16 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5624/0.5629, allocations: 98.71 MB / 0.6834 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03837/0.6013, allocations: 28.79 MB / 0.7115 GB, free: 13.14 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.0296/0.631, allocations: 13.8 MB / 0.7249 GB, free: 2.285 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004225/0.6353, allocations: 130.1 kB / 0.7251 GB, free: 2.23 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.003126/0.6384, allocations: 0.7019 MB / 0.7258 GB, free: 1.59 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.009526/0.648, allocations: 2.267 MB / 0.728 GB, free: 15.69 MB / 0.5574 GB Notification: Performance of NFTyping.typeClassSections: time 0.006114/0.6541, allocations: 1.402 MB / 0.7293 GB, free: 14.6 MB / 0.5574 GB Notification: Performance of NFFlatten.flatten: time 0.01013/0.6643, allocations: 4.565 MB / 0.7338 GB, free: 10.68 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02969/0.694, allocations: 9.84 MB / 0.7434 GB, free: 0.7539 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0101/0.7042, allocations: 2.609 MB / 0.7459 GB, free: 14.14 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0084/0.7127, allocations: 2.429 MB / 0.7483 GB, free: 11.7 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.002091/0.7148, allocations: 296 kB / 0.7486 GB, free: 11.41 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005295/0.7201, allocations: 0.6984 MB / 0.7493 GB, free: 10.71 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.006014/0.7262, allocations: 2.093 MB / 0.7513 GB, free: 8.613 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.004338/0.7306, allocations: 1.124 MB / 0.7524 GB, free: 7.48 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.02365/0.7543, allocations: 9.048 MB / 0.7613 GB, free: 14.41 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.7544, allocations: 0 / 0.7613 GB, free: 14.41 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.723e-06/0.7544, allocations: 4 kB / 0.7613 GB, free: 14.4 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0002701/0.7547, allocations: 0 / 0.7613 GB, free: 14.4 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01582/0.7705, allocations: 4.856 MB / 0.766 GB, free: 9.477 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.7706, allocations: 8.031 kB / 0.766 GB, free: 9.469 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008507/0.7791, allocations: 1.129 MB / 0.7671 GB, free: 8.332 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009186/0.7883, allocations: 3.232 MB / 0.7703 GB, free: 5.023 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005221/0.7889, allocations: 378 kB / 0.7706 GB, free: 4.652 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00169/0.7906, allocations: 499.9 kB / 0.7711 GB, free: 4.164 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02176/0.8124, allocations: 7.927 MB / 0.7789 GB, free: 11.96 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002259/0.8126, allocations: 19.78 kB / 0.7789 GB, free: 11.94 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001312/0.814, allocations: 216 kB / 0.7791 GB, free: 11.73 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001332/0.8153, allocations: 441.6 kB / 0.7795 GB, free: 11.29 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0165/0.8318, allocations: 6.046 MB / 0.7854 GB, free: 5.234 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0557/0.8876, allocations: 35.21 MB / 0.8198 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004146/0.8918, allocations: 2.022 MB / 0.8218 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001659/0.892, allocations: 22 kB / 0.8218 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.405e-05/0.892, allocations: 56.52 kB / 0.8218 GB, free: 12.74 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=171): time 5.429e-06/0.8921, allocations: 0 / 0.8218 GB, free: 12.74 MB / 0.6511 GB Notification: Performance of matching and sorting (n=276): time 0.2084/1.1, allocations: 38.98 MB / 0.8599 GB, free: 5.656 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.836e-05/1.101, allocations: 81.58 kB / 0.86 GB, free: 5.562 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004796/1.105, allocations: 2.266 MB / 0.8622 GB, free: 3.281 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 0.0004991/1.106, allocations: 69.7 kB / 0.8623 GB, free: 3.207 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 0.002259/1.108, allocations: 2.276 MB / 0.8645 GB, free: 0.9023 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 0.001371/1.11, allocations: 0.9319 MB / 0.8654 GB, free: 15.95 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003208/1.11, allocations: 60 kB / 0.8654 GB, free: 15.89 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0003253/1.11, allocations: 432.1 kB / 0.8659 GB, free: 15.46 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004477/1.115, allocations: 1.958 MB / 0.8678 GB, free: 13.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005232/1.12, allocations: 2.571 MB / 0.8703 GB, free: 10.69 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005306/1.125, allocations: 2.376 MB / 0.8726 GB, free: 8.297 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.103e-05/1.125, allocations: 4 kB / 0.8726 GB, free: 8.293 MB / 0.698 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.02118/1.147, allocations: 7.724 MB / 0.8801 GB, free: 0.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.112e-05/1.147, allocations: 12 kB / 0.8802 GB, free: 500 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.566e-05/1.147, allocations: 20.12 kB / 0.8802 GB, free: 480 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01311/1.16, allocations: 3.203 MB / 0.8833 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002188/1.162, allocations: 399.3 kB / 0.8837 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5233/1.685, allocations: 32.36 MB / 0.9153 GB, free: 192.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003238/1.689, allocations: 161.5 kB / 0.9154 GB, free: 192.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004967/1.689, allocations: 115.3 kB / 0.9156 GB, free: 192.3 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(10,71.0%) 28,(10,65.0%) 28,(6,77.8%) 24,(6,77.8%) 24,(5,92.0%) 17,(5,92.0%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004352/1.694, allocations: 1.79 MB / 0.9173 GB, free: 191.8 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008879/1.695, allocations: 331.9 kB / 0.9176 GB, free: 191.8 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01955/1.714, allocations: 7.335 MB / 0.9248 GB, free: 188.9 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-05/1.714, allocations: 28.94 kB / 0.9248 GB, free: 188.9 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001142/1.714, allocations: 33.28 kB / 0.9248 GB, free: 188.9 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.584e-05/1.714, allocations: 12.84 kB / 0.9249 GB, free: 188.9 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03018/1.745, allocations: 12.91 MB / 0.9375 GB, free: 183.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.744e-05/1.745, allocations: 10.5 kB / 0.9375 GB, free: 183.8 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00124/1.746, allocations: 231.6 kB / 0.9377 GB, free: 183.8 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.011/1.757, allocations: 2.841 MB / 0.9405 GB, free: 183.1 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004467/1.757, allocations: 55.84 kB / 0.9405 GB, free: 183.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.053/1.81, allocations: 31.18 MB / 0.971 GB, free: 163.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.756e-06/1.81, allocations: 11.5 kB / 0.971 GB, free: 163.3 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0147/1.825, allocations: 7.423 MB / 0.9782 GB, free: 156 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002103/1.827, allocations: 0.7876 MB / 0.979 GB, free: 155.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007062/1.828, allocations: 52 kB / 0.979 GB, free: 155.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00243/1.831, allocations: 175.8 kB / 0.9792 GB, free: 155 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001021/1.832, allocations: 254.9 kB / 0.9795 GB, free: 154.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002937/1.832, allocations: 76 kB / 0.9795 GB, free: 154.7 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002789/1.835, allocations: 1.51 MB / 0.981 GB, free: 153.2 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9.15e-07/1.835, allocations: 0 / 0.981 GB, free: 153.2 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.005119/1.84, allocations: 1.352 MB / 0.9823 GB, free: 151.8 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(5,84.0%) 17,(6,77.8%) 24,(10,65.0%) 28,(5,92.0%) 17,(6,77.8%) 24,(10,65.0%) 28} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005661/1.84, allocations: 181 kB / 0.9825 GB, free: 151.6 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01358/1.854, allocations: 6.904 MB / 0.9892 GB, free: 144.6 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.24e-05/1.854, allocations: 0 / 0.9892 GB, free: 144.6 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.00944/1.864, allocations: 4.427 MB / 0.9936 GB, free: 140.2 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005311/1.869, allocations: 0.9862 MB / 0.9945 GB, free: 139.2 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02017/1.889, allocations: 11.94 MB / 1.006 GB, free: 127.2 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005894/1.895, allocations: 3.737 MB / 1.01 GB, free: 123.4 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002862/1.898, allocations: 0.5595 MB / 1.01 GB, free: 122.9 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005797/1.899, allocations: 163.4 kB / 1.011 GB, free: 122.7 MB / 0.7292 GB Notification: Performance of SimCode: time 1.825e-06/1.899, allocations: 0 / 1.011 GB, free: 122.7 MB / 0.7292 GB Notification: Performance of Templates: time 0.1469/2.045, allocations: 71.54 MB / 1.08 GB, free: 51.91 MB / 0.7292 GB