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.01781/0.01782, allocations: 224.9 kB / 15.18 MB, free: 5.926 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.001937/0.001937, allocations: 180.1 kB / 16.06 MB, free: 5.828 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 4.136/4.136, allocations: 389 MB / 405.9 MB, free: 14.14 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.79/3.79, allocations: 472.3 MB / 0.9018 GB, free: 107.8 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.0004859/0.0004861, allocations: 10.28 kB / 1.008 GB, free: 54.41 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1476, allocations: 98.72 MB / 1.104 GB, free: 5.969 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04535/0.193, allocations: 30.21 MB / 1.134 GB, free: 7.688 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.02815/0.2212, allocations: 13.96 MB / 1.147 GB, free: 9.758 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003729/0.225, allocations: 136 kB / 1.147 GB, free: 9.625 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.002784/0.2278, allocations: 0.6551 MB / 1.148 GB, free: 8.965 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.00921/0.237, allocations: 2.484 MB / 1.15 GB, free: 6.496 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.005645/0.2427, allocations: 1.395 MB / 1.152 GB, free: 5.102 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.01438/0.2571, allocations: 9.771 MB / 1.161 GB, free: 11.3 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02198/0.2792, allocations: 9.829 MB / 1.171 GB, free: 1.391 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006623/0.2858, allocations: 2.884 MB / 1.174 GB, free: 14.5 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006745/0.2926, allocations: 3.406 MB / 1.177 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.001507/0.2942, allocations: 296 kB / 1.177 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003917/0.2981, allocations: 0.8073 MB / 1.178 GB, free: 9.98 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.004067/0.3022, allocations: 2.268 MB / 1.18 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.002882/0.3051, allocations: 1.124 MB / 1.181 GB, free: 6.574 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.01346/0.3186, allocations: 9.175 MB / 1.19 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.959e-06/0.3187, allocations: 0 / 1.19 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.723e-06/0.3187, allocations: 0 / 1.19 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002302/0.3189, allocations: 0 / 1.19 GB, free: 13.38 MB / 0.6042 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.01298/0.3319, allocations: 4.892 MB / 1.195 GB, free: 8.41 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.332, allocations: 12.03 kB / 1.195 GB, free: 8.398 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009178/0.3412, allocations: 1.18 MB / 1.196 GB, free: 7.211 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008973/0.3502, allocations: 3.247 MB / 1.199 GB, free: 3.887 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004924/0.3507, allocations: 370 kB / 1.2 GB, free: 3.523 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001661/0.3524, allocations: 495.9 kB / 1.2 GB, free: 3.039 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02163/0.374, allocations: 7.97 MB / 1.208 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002224/0.3743, allocations: 19.84 kB / 1.208 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001321/0.3757, allocations: 216 kB / 1.208 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001332/0.377, allocations: 441.5 kB / 1.209 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01678/0.3938, allocations: 6.046 MB / 1.215 GB, free: 4.066 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5656/0.9595, allocations: 35.19 MB / 1.249 GB, free: 119.7 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00424/0.9637, allocations: 2.016 MB / 1.251 GB, free: 119.7 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003498/0.9673, allocations: 1.853 MB / 1.253 GB, free: 119.6 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001374/0.9674, allocations: 18.34 kB / 1.253 GB, free: 119.6 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.707e-05/0.9675, allocations: 59.08 kB / 1.253 GB, free: 119.6 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=171): time 5.344e-06/0.9675, allocations: 0.9688 kB / 1.253 GB, free: 119.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=276): time 0.1819/1.149, allocations: 38.98 MB / 1.291 GB, free: 101.7 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/1.15, allocations: 81.58 kB / 1.291 GB, free: 101.6 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003439/1.153, allocations: 2.254 MB / 1.293 GB, free: 99.38 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0004239/1.153, allocations: 77.7 kB / 1.293 GB, free: 99.3 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001254/1.155, allocations: 2.276 MB / 1.295 GB, free: 97 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009477/1.156, allocations: 0.9336 MB / 1.296 GB, free: 96.07 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002852/1.156, allocations: 60 kB / 1.296 GB, free: 96.02 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001786/1.156, allocations: 428 kB / 1.297 GB, free: 95.59 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004149/1.16, allocations: 1.962 MB / 1.299 GB, free: 93.62 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004064/1.164, allocations: 2.587 MB / 1.301 GB, free: 90.79 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00421/1.169, allocations: 2.376 MB / 1.304 GB, free: 88.4 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.906e-05/1.169, allocations: 4 kB / 1.304 GB, free: 88.39 MB / 0.6511 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01873/1.187, allocations: 7.716 MB / 1.311 GB, free: 80.61 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.599e-05/1.188, allocations: 19.39 kB / 1.311 GB, free: 80.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.823e-05/1.188, allocations: 16 kB / 1.311 GB, free: 80.58 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01225/1.2, allocations: 3.215 MB / 1.314 GB, free: 77.35 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002131/1.202, allocations: 402.8 kB / 1.315 GB, free: 76.96 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05534/1.257, allocations: 31.1 MB / 1.345 GB, free: 45.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00306/1.26, allocations: 159.8 kB / 1.345 GB, free: 44.94 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003805/1.261, allocations: 108 kB / 1.345 GB, free: 44.83 MB / 0.6511 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.003578/1.264, allocations: 1.801 MB / 1.347 GB, free: 43.02 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007934/1.265, allocations: 328.2 kB / 1.347 GB, free: 42.7 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01658/1.282, allocations: 7.33 MB / 1.355 GB, free: 35.29 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.031e-05/1.282, allocations: 31.98 kB / 1.355 GB, free: 35.25 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.132e-05/1.282, allocations: 32 kB / 1.355 GB, free: 35.22 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.807e-05/1.282, allocations: 11.95 kB / 1.355 GB, free: 35.21 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02738/1.309, allocations: 12.91 MB / 1.367 GB, free: 22.17 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.117e-05/1.31, allocations: 7.938 kB / 1.367 GB, free: 22.17 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00116/1.311, allocations: 228.4 kB / 1.367 GB, free: 21.95 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01105/1.322, allocations: 2.848 MB / 1.37 GB, free: 19.09 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004299/1.322, allocations: 56 kB / 1.37 GB, free: 19.03 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05136/1.374, allocations: 29.92 MB / 1.4 GB, free: 4.324 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.497e-05/1.374, allocations: 16.44 kB / 1.4 GB, free: 4.309 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01751/1.391, allocations: 6.855 MB / 1.406 GB, free: 13.24 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00244/1.394, allocations: 0.786 MB / 1.407 GB, free: 12.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007447/1.394, allocations: 55.98 kB / 1.407 GB, free: 12.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002333/1.397, allocations: 167.8 kB / 1.407 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009696/1.398, allocations: 252.1 kB / 1.407 GB, free: 11.97 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002869/1.398, allocations: 79.95 kB / 1.408 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00316/1.401, allocations: 1.498 MB / 1.409 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.197e-06/1.401, allocations: 4 kB / 1.409 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.005525/1.407, allocations: 1.355 MB / 1.41 GB, free: 9.039 MB / 0.6823 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.0006292/1.408, allocations: 187.2 kB / 1.411 GB, free: 8.852 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0161/1.424, allocations: 6.916 MB / 1.417 GB, free: 1.848 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.12e-05/1.424, allocations: 0 / 1.417 GB, free: 1.848 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.01079/1.435, allocations: 4.414 MB / 1.422 GB, free: 13.36 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006248/1.441, allocations: 1.031 MB / 1.423 GB, free: 12.35 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0317/1.473, allocations: 11.93 MB / 1.434 GB, free: 328 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007597/1.48, allocations: 3.737 MB / 1.438 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.003076/1.483, allocations: 0.5595 MB / 1.438 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006082/1.484, allocations: 159.4 kB / 1.439 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of SimCode: time 1.651e-06/1.484, allocations: 4 kB / 1.439 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of Templates: time 0.1747/1.659, allocations: 71.57 MB / 1.508 GB, free: 5.016 MB / 0.7761 GB