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.01076/0.01076, allocations: 221.8 kB / 15.17 MB, free: 5.93 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.001144/0.001143, allocations: 179.9 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 3.681/3.681, allocations: 389.1 MB / 405.9 MB, free: 68.55 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.025/4.025, allocations: 472.3 MB / 0.9018 GB, free: 87.66 MB / 490.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004681/0.0004684, allocations: 11.75 kB / 1.008 GB, free: 37.59 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1509, allocations: 98.72 MB / 1.104 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04781/0.1987, allocations: 31.94 MB / 1.135 GB, free: 11.8 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01933/0.2181, allocations: 9.52 MB / 1.145 GB, free: 2.27 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002994/0.2211, allocations: 123.3 kB / 1.145 GB, free: 2.148 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001884/0.223, allocations: 0.6357 MB / 1.145 GB, free: 1.508 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.00601/0.2291, allocations: 1.841 MB / 1.147 GB, free: 15.66 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.004421/0.2335, allocations: 1.181 MB / 1.148 GB, free: 14.47 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.01212/0.2457, allocations: 8.899 MB / 1.157 GB, free: 5.547 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02174/0.2674, allocations: 10.38 MB / 1.167 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004822/0.2723, allocations: 2.392 MB / 1.169 GB, free: 8.676 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005463/0.2778, allocations: 3.13 MB / 1.172 GB, free: 5.535 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0008822/0.2787, allocations: 280 kB / 1.173 GB, free: 5.262 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002409/0.2811, allocations: 0.6437 MB / 1.173 GB, free: 4.617 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.002812/0.284, allocations: 2.089 MB / 1.175 GB, free: 2.523 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.001775/0.2858, allocations: 1.034 MB / 1.176 GB, free: 1.48 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.01112/0.2969, allocations: 8.556 MB / 1.185 GB, free: 8.902 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 9.59e-06/0.297, allocations: 0 / 1.185 GB, free: 8.902 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.307e-06/0.297, allocations: 3.938 kB / 1.185 GB, free: 8.898 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.000176/0.2972, allocations: 0 / 1.185 GB, free: 8.898 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01103/0.3082, allocations: 4.406 MB / 1.189 GB, free: 4.422 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.3083, allocations: 8.031 kB / 1.189 GB, free: 4.414 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006466/0.3147, allocations: 0.9891 MB / 1.19 GB, free: 3.418 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007398/0.3222, allocations: 2.925 MB / 1.193 GB, free: 448 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004013/0.3226, allocations: 361.5 kB / 1.193 GB, free: 84 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001295/0.3239, allocations: 467.9 kB / 1.194 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02372/0.3477, allocations: 7.863 MB / 1.201 GB, free: 7.398 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002168/0.3479, allocations: 19.88 kB / 1.201 GB, free: 7.379 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001322/0.3493, allocations: 207.9 kB / 1.202 GB, free: 7.176 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001029/0.3503, allocations: 369.1 kB / 1.202 GB, free: 6.812 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01496/0.3653, allocations: 5.898 MB / 1.208 GB, free: 0.8984 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5618/0.9272, allocations: 36.24 MB / 1.243 GB, free: 86.06 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004541/0.9318, allocations: 2.123 MB / 1.245 GB, free: 85.99 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002679/0.9345, allocations: 1.482 MB / 1.247 GB, free: 85.98 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001191/0.9346, allocations: 19.33 kB / 1.247 GB, free: 85.98 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.306e-05/0.9347, allocations: 59.72 kB / 1.247 GB, free: 85.94 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=157): time 5.611e-06/0.9347, allocations: 0.7188 kB / 1.247 GB, free: 85.94 MB / 0.6355 GB Notification: Performance of matching and sorting (n=160): time 0.01873/0.9535, allocations: 7.542 MB / 1.254 GB, free: 83.37 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.297e-05/0.9536, allocations: 72.44 kB / 1.254 GB, free: 83.3 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003702/0.9573, allocations: 1.84 MB / 1.256 GB, free: 82.57 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002952/0.9576, allocations: 57.17 kB / 1.256 GB, free: 82.52 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.00132/0.9589, allocations: 2.123 MB / 1.258 GB, free: 80.91 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000661/0.9596, allocations: 0.5571 MB / 1.259 GB, free: 80.48 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001879/0.9598, allocations: 40.09 kB / 1.259 GB, free: 80.45 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.96, allocations: 391.2 kB / 1.259 GB, free: 80.11 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002383/0.9624, allocations: 1.054 MB / 1.26 GB, free: 79.71 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002652/0.9651, allocations: 1.759 MB / 1.262 GB, free: 78.41 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002718/0.9678, allocations: 1.347 MB / 1.263 GB, free: 77.71 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.34e-05/0.9679, allocations: 9.562 kB / 1.263 GB, free: 77.71 MB / 0.6355 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.009108/0.977, allocations: 3.902 MB / 1.267 GB, free: 75.58 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.913e-05/0.9771, allocations: 11.91 kB / 1.267 GB, free: 75.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.353e-05/0.9771, allocations: 23.75 kB / 1.267 GB, free: 75.58 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00319/0.9803, allocations: 0.9313 MB / 1.268 GB, free: 75.07 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002134/0.9825, allocations: 428.7 kB / 1.268 GB, free: 74.96 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02139/1.004, allocations: 21.06 MB / 1.289 GB, free: 55.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002239/1.006, allocations: 125.6 kB / 1.289 GB, free: 55.52 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002274/1.006, allocations: 93.69 kB / 1.289 GB, free: 55.5 MB / 0.6355 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.003162/1.01, allocations: 1.653 MB / 1.291 GB, free: 54.48 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006321/1.01, allocations: 253.9 kB / 1.291 GB, free: 54.35 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00694/1.017, allocations: 3.252 MB / 1.294 GB, free: 52.39 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-05/1.017, allocations: 15.34 kB / 1.294 GB, free: 52.39 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.931e-05/1.017, allocations: 11.44 kB / 1.294 GB, free: 52.39 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.701e-05/1.017, allocations: 11.92 kB / 1.294 GB, free: 52.38 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01572/1.033, allocations: 7.524 MB / 1.301 GB, free: 46.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.444e-05/1.033, allocations: 8 kB / 1.301 GB, free: 46.73 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001267/1.034, allocations: 215.6 kB / 1.302 GB, free: 46.52 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003346/1.038, allocations: 0.8925 MB / 1.303 GB, free: 45.59 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003026/1.038, allocations: 35.95 kB / 1.303 GB, free: 45.55 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02685/1.065, allocations: 21.02 MB / 1.323 GB, free: 22.96 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.986e-06/1.065, allocations: 7.938 kB / 1.323 GB, free: 22.95 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006474/1.072, allocations: 3.364 MB / 1.326 GB, free: 19.47 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0015/1.073, allocations: 0.5409 MB / 1.327 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004408/1.074, allocations: 32 kB / 1.327 GB, free: 18.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001356/1.075, allocations: 87.89 kB / 1.327 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000402/1.075, allocations: 141 kB / 1.327 GB, free: 18.65 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001463/1.075, allocations: 48 kB / 1.327 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001914/1.077, allocations: 1.205 MB / 1.328 GB, free: 17.39 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.84e-07/1.077, allocations: 0 / 1.328 GB, free: 17.39 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003643/1.081, allocations: 0.9023 MB / 1.329 GB, free: 16.48 MB / 0.6355 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.0003527/1.081, allocations: 162.6 kB / 1.329 GB, free: 16.32 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.007481/1.089, allocations: 4.408 MB / 1.334 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.121e-05/1.089, allocations: 4 kB / 1.334 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.004811/1.094, allocations: 3 MB / 1.337 GB, free: 8.605 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004395/1.098, allocations: 0.7656 MB / 1.337 GB, free: 7.848 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01589/1.114, allocations: 9.246 MB / 1.346 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006149/1.12, allocations: 3.293 MB / 1.35 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.002716/1.123, allocations: 0.5332 MB / 1.35 GB, free: 10.67 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005865/1.124, allocations: 143.4 kB / 1.35 GB, free: 10.53 MB / 0.6511 GB Notification: Performance of SimCode: time 1.619e-06/1.124, allocations: 0 / 1.35 GB, free: 10.53 MB / 0.6511 GB Notification: Performance of Templates: time 0.1029/1.227, allocations: 39.76 MB / 1.389 GB, free: 3.18 MB / 0.6823 GB