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_R.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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009102/0.009106, allocations: 107.4 kB / 15.06 MB, free: 5.559 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.001149/0.001149, allocations: 181 kB / 15.95 MB, free: 5.52 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.996/1.996, 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.366/2.366, allocations: 236.2 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004704/0.0004706, allocations: 12 kB / 0.587 GB, free: 2.18 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5764/0.5769, allocations: 98.71 MB / 0.6833 GB, free: 16.87 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.0418/0.6188, allocations: 30.62 MB / 0.7133 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.0212/0.64, allocations: 9.657 MB / 0.7227 GB, free: 4.227 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004086/0.6442, allocations: 123 kB / 0.7228 GB, free: 4.176 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.003072/0.6473, allocations: 0.6806 MB / 0.7235 GB, free: 3.555 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.006973/0.6543, allocations: 1.578 MB / 0.725 GB, free: 2.184 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.005126/0.6594, allocations: 1.165 MB / 0.7261 GB, free: 1.281 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.008442/0.6679, allocations: 3.902 MB / 0.73 GB, free: 14.62 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02376/0.6917, allocations: 10.38 MB / 0.7401 GB, free: 4.152 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005155/0.6969, allocations: 2.137 MB / 0.7422 GB, free: 2.008 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00477/0.7017, allocations: 2.195 MB / 0.7443 GB, free: 15.8 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.001142/0.7029, allocations: 284 kB / 0.7446 GB, free: 15.53 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002459/0.7054, allocations: 0.5307 MB / 0.7451 GB, free: 15 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.003257/0.7087, allocations: 1.918 MB / 0.747 GB, free: 13.07 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.002278/0.711, allocations: 1.03 MB / 0.748 GB, free: 12.04 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.01228/0.7233, allocations: 8.401 MB / 0.7562 GB, free: 3.613 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.006e-06/0.7234, allocations: 0 / 0.7562 GB, free: 3.613 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.803e-06/0.7234, allocations: 0 / 0.7562 GB, free: 3.613 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0002201/0.7236, allocations: 3.938 kB / 0.7562 GB, free: 3.609 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01156/0.7352, allocations: 4.375 MB / 0.7605 GB, free: 15.16 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.7353, allocations: 12.03 kB / 0.7605 GB, free: 15.15 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005598/0.7409, allocations: 0.9149 MB / 0.7614 GB, free: 14.23 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007554/0.7485, allocations: 2.925 MB / 0.7642 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005591/0.7491, allocations: 353.6 kB / 0.7646 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001536/0.7507, allocations: 464 kB / 0.765 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02083/0.7715, allocations: 7.832 MB / 0.7727 GB, free: 2.254 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001607/0.7717, allocations: 19.78 kB / 0.7727 GB, free: 2.234 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009891/0.7727, allocations: 215.9 kB / 0.7729 GB, free: 2.023 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000692/0.7734, allocations: 373 kB / 0.7732 GB, free: 1.656 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01592/0.7894, allocations: 5.898 MB / 0.779 GB, free: 11.74 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05289/0.8423, allocations: 36.24 MB / 0.8144 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004807/0.8471, allocations: 2.127 MB / 0.8165 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001509/0.8473, allocations: 17.31 kB / 0.8165 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.363e-05/0.8474, allocations: 59.83 kB / 0.8165 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=157): time 5.418e-06/0.8474, allocations: 0 / 0.8165 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of matching and sorting (n=160): time 0.01934/0.8668, allocations: 7.536 MB / 0.8239 GB, free: 10.24 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.109e-05/0.8669, allocations: 64.72 kB / 0.824 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003578/0.8705, allocations: 1.848 MB / 0.8258 GB, free: 8.289 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002982/0.8708, allocations: 53.7 kB / 0.8258 GB, free: 8.23 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001988/0.8728, allocations: 2.119 MB / 0.8279 GB, free: 6.086 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008102/0.8736, allocations: 0.5546 MB / 0.8284 GB, free: 5.523 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002165/0.8739, allocations: 48 kB / 0.8285 GB, free: 5.477 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002754/0.8742, allocations: 398.3 kB / 0.8289 GB, free: 5.082 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002461/0.8766, allocations: 1.051 MB / 0.8299 GB, free: 4.027 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003163/0.8798, allocations: 1.748 MB / 0.8316 GB, free: 1.957 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003159/0.883, allocations: 1.345 MB / 0.8329 GB, free: 0.6094 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.901e-05/0.8831, allocations: 4 kB / 0.8329 GB, free: 0.6055 MB / 0.6511 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.009845/0.8929, allocations: 3.902 MB / 0.8367 GB, free: 12.65 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 4.088e-05/0.893, allocations: 12 kB / 0.8367 GB, free: 12.64 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.38e-05/0.8931, allocations: 28.16 kB / 0.8368 GB, free: 12.61 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003569/0.8966, allocations: 0.931 MB / 0.8377 GB, free: 11.65 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002181/0.8989, allocations: 423.2 kB / 0.8381 GB, free: 11.23 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02994/0.9288, allocations: 21.44 MB / 0.859 GB, free: 4.199 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002286/0.9312, allocations: 119.9 kB / 0.8591 GB, free: 4.082 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003441/0.9316, allocations: 99.94 kB / 0.8592 GB, free: 3.984 MB / 0.6824 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 (227): * Single equations (assignments): 215 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003757/0.9353, allocations: 1.645 MB / 0.8608 GB, free: 2.328 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006653/0.936, allocations: 253.1 kB / 0.8611 GB, free: 2.078 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007853/0.9439, allocations: 3.256 MB / 0.8642 GB, free: 14.77 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.576e-05/0.9439, allocations: 16 kB / 0.8643 GB, free: 14.75 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.443e-05/0.944, allocations: 8 kB / 0.8643 GB, free: 14.74 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.249e-05/0.944, allocations: 7.969 kB / 0.8643 GB, free: 14.73 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01835/0.9624, allocations: 7.541 MB / 0.8716 GB, free: 7.047 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-05/0.9624, allocations: 8.031 kB / 0.8716 GB, free: 7.039 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001276/0.9637, allocations: 211.7 kB / 0.8718 GB, free: 6.832 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003459/0.9672, allocations: 0.904 MB / 0.8727 GB, free: 5.891 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00029/0.9675, allocations: 32 kB / 0.8728 GB, free: 5.859 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02901/0.9966, allocations: 21.37 MB / 0.8936 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-05/0.9966, allocations: 11.94 kB / 0.8936 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008163/1.005, allocations: 3.697 MB / 0.8973 GB, free: 10.92 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001665/1.006, allocations: 0.5331 MB / 0.8978 GB, free: 10.37 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005303/1.007, allocations: 32 kB / 0.8978 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001645/1.009, allocations: 91.88 kB / 0.8979 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004913/1.009, allocations: 141 kB / 0.898 GB, free: 10.11 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001732/1.009, allocations: 48 kB / 0.8981 GB, free: 10.06 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002576/1.012, allocations: 1.205 MB / 0.8993 GB, free: 8.84 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.027e-06/1.012, allocations: 0 / 0.8993 GB, free: 8.84 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.004113/1.016, allocations: 0.9062 MB / 0.9001 GB, free: 7.934 MB / 0.7292 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 (109): * Single equations (assignments): 97 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000463/1.017, allocations: 163 kB / 0.9003 GB, free: 7.766 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.009064/1.026, allocations: 4.397 MB / 0.9046 GB, free: 3.219 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.044e-05/1.026, allocations: 0 / 0.9046 GB, free: 3.219 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.006165/1.032, allocations: 3.003 MB / 0.9075 GB, free: 64 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.4778/1.51, allocations: 0.7404 MB / 0.9082 GB, free: 196.9 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01876/1.529, allocations: 9.231 MB / 0.9173 GB, free: 193 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006376/1.535, allocations: 3.293 MB / 0.9205 GB, free: 192.2 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002961/1.538, allocations: 0.5212 MB / 0.921 GB, free: 192.1 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006509/1.539, allocations: 142.5 kB / 0.9211 GB, free: 192.1 MB / 0.7292 GB Notification: Performance of SimCode: time 2.246e-06/1.539, allocations: 4 kB / 0.9211 GB, free: 192.1 MB / 0.7292 GB Notification: Performance of Templates: time 0.09708/1.636, allocations: 39.75 MB / 0.9599 GB, free: 171.8 MB / 0.7292 GB