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_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.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009169/0.009169, allocations: 107.7 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.001118/0.001118, allocations: 175.8 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.993/1.993, allocations: 194.6 MB / 211.3 MB, free: 11.07 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.334/2.334, allocations: 236.1 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008482/0.0008484, allocations: 12 kB / 0.5869 GB, free: 2.195 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5898/0.5907, allocations: 98.71 MB / 0.6833 GB, free: 16.78 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.0493/0.6401, allocations: 35.72 MB / 0.7182 GB, free: 7.906 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.0316/0.6717, allocations: 14.53 MB / 0.7324 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004952/0.6767, allocations: 151 kB / 0.7326 GB, free: 11.97 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.003552/0.6803, allocations: 0.8345 MB / 0.7334 GB, free: 11.13 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.009347/0.6897, allocations: 2.111 MB / 0.7354 GB, free: 9.012 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.008036/0.6978, allocations: 1.926 MB / 0.7373 GB, free: 7.078 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.01201/0.7098, allocations: 5.69 MB / 0.7429 GB, free: 1.375 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03237/0.7422, allocations: 13.95 MB / 0.7565 GB, free: 3.316 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006982/0.7492, allocations: 3.138 MB / 0.7596 GB, free: 172 kB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007119/0.7564, allocations: 3.302 MB / 0.7628 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.001897/0.7583, allocations: 400 kB / 0.7632 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003848/0.7622, allocations: 0.7688 MB / 0.7639 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.004709/0.767, allocations: 2.724 MB / 0.7666 GB, free: 8.965 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.003289/0.7703, allocations: 1.385 MB / 0.7679 GB, free: 7.57 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.01721/0.7875, allocations: 11.58 MB / 0.7792 GB, free: 11.96 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.7876, allocations: 0 / 0.7792 GB, free: 11.96 MB / 0.6042 GB Notification: Performance of FrontEnd: time 6.944e-06/0.7876, allocations: 3.984 kB / 0.7792 GB, free: 11.96 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002696/0.7879, allocations: 4 kB / 0.7792 GB, free: 11.95 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: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.01795/0.8058, allocations: 6.181 MB / 0.7853 GB, free: 5.691 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.8059, allocations: 8.031 kB / 0.7853 GB, free: 5.684 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01237/0.8183, allocations: 1.506 MB / 0.7868 GB, free: 4.168 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01106/0.8294, allocations: 4.105 MB / 0.7908 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005928/0.83, allocations: 456.1 kB / 0.7912 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002103/0.8321, allocations: 0.5936 MB / 0.7918 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02771/0.8598, allocations: 10.58 MB / 0.8021 GB, free: 3.984 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002472/0.8601, allocations: 39.61 kB / 0.8022 GB, free: 3.945 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001313/0.8615, allocations: 259.9 kB / 0.8024 GB, free: 3.691 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003218/0.8647, allocations: 0.7729 MB / 0.8032 GB, free: 2.914 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02339/0.8881, allocations: 8.514 MB / 0.8115 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08052/0.9687, allocations: 46.97 MB / 0.8573 GB, free: 7.648 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008976/0.9777, allocations: 4.293 MB / 0.8615 GB, free: 3.344 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004857/0.9782, allocations: 38.78 kB / 0.8616 GB, free: 3.305 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.285e-05/0.9783, allocations: 73.28 kB / 0.8616 GB, free: 3.223 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=353): time 8.837e-06/0.9783, allocations: 0 / 0.8616 GB, free: 3.223 MB / 0.6823 GB Notification: Performance of matching and sorting (n=578): time 1.161/2.14, allocations: 127.9 MB / 0.9865 GB, free: 149.4 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.705e-05/2.14, allocations: 115.9 kB / 0.9866 GB, free: 149.3 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004572/2.144, allocations: 2.654 MB / 0.9892 GB, free: 146.7 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.001025/2.145, allocations: 117.7 kB / 0.9893 GB, free: 146.5 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001712/2.147, allocations: 2.685 MB / 0.992 GB, free: 143.8 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.002367/2.149, allocations: 1.949 MB / 0.9939 GB, free: 141.9 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006289/2.15, allocations: 112 kB / 0.994 GB, free: 141.8 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0003354/2.15, allocations: 0.5217 MB / 0.9945 GB, free: 141.3 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008044/2.159, allocations: 4.056 MB / 0.9984 GB, free: 137.2 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008955/2.168, allocations: 4.98 MB / 1.003 GB, free: 131.9 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009243/2.177, allocations: 4.819 MB / 1.008 GB, free: 127 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.217e-05/2.177, allocations: 8 kB / 1.008 GB, free: 127 MB / 0.7292 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04757/2.224, allocations: 16.92 MB / 1.025 GB, free: 110 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.491e-05/2.225, allocations: 17.41 kB / 1.025 GB, free: 110 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-05/2.225, allocations: 20 kB / 1.025 GB, free: 110 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03888/2.263, allocations: 9.061 MB / 1.033 GB, free: 100.9 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005031/2.269, allocations: 0.5187 MB / 1.034 GB, free: 100.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1953/2.464, allocations: 73.68 MB / 1.106 GB, free: 25.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00503/2.469, allocations: 283.9 kB / 1.106 GB, free: 24.93 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001172/2.47, allocations: 192 kB / 1.106 GB, free: 24.74 MB / 0.7292 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 (274): * Single equations (assignments): 263 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(5,84.0%) 17,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(14,51.0%) 72,(14,51.0%) 72,(6,77.8%) 40,(7,71.4%) 71,(8,70.3%) 70,(6,77.8%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005379/2.476, allocations: 2.421 MB / 1.109 GB, free: 22.31 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001468/2.477, allocations: 474.4 kB / 1.109 GB, free: 21.84 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04561/2.523, allocations: 16.75 MB / 1.126 GB, free: 4.949 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.599e-05/2.523, allocations: 52 kB / 1.126 GB, free: 4.898 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001682/2.523, allocations: 75.95 kB / 1.126 GB, free: 4.824 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.691e-05/2.523, allocations: 31.88 kB / 1.126 GB, free: 4.793 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1023/2.625, allocations: 25.62 MB / 1.151 GB, free: 10.94 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.654e-05/2.625, allocations: 8 kB / 1.151 GB, free: 10.93 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002242/2.628, allocations: 323.5 kB / 1.151 GB, free: 10.61 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03892/2.667, allocations: 8.261 MB / 1.159 GB, free: 2.316 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001091/2.668, allocations: 103.9 kB / 1.159 GB, free: 2.215 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6821/3.35, allocations: 70.52 MB / 1.228 GB, free: 257.5 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-05/3.35, allocations: 13.88 kB / 1.228 GB, free: 257.5 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06431/3.414, allocations: 22.18 MB / 1.25 GB, free: 253.8 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00415/3.418, allocations: 1.363 MB / 1.251 GB, free: 253.3 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001619/3.42, allocations: 110 kB / 1.251 GB, free: 253.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004732/3.425, allocations: 283.3 kB / 1.251 GB, free: 253.1 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002711/3.428, allocations: 0.5248 MB / 1.252 GB, free: 253 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001085/3.429, allocations: 144.1 kB / 1.252 GB, free: 253 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.003794/3.433, allocations: 1.758 MB / 1.254 GB, free: 252.4 MB / 0.823 GB Notification: Performance of sort global known variables: time 8.89e-07/3.433, allocations: 0 / 1.254 GB, free: 252.4 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.009994/3.443, allocations: 2.44 MB / 1.256 GB, free: 252.1 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * 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 (142): * Single equations (assignments): 131 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(6,77.8%) 40,(8,70.3%) 70,(14,51.0%) 72,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(5,84.0%) 17,(6,83.3%) 40,(8,70.3%) 70,(14,51.0%) 72} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001206/3.444, allocations: 244 kB / 1.256 GB, free: 251.9 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.03225/3.476, allocations: 14.49 MB / 1.271 GB, free: 245.2 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.271e-05/3.476, allocations: 2.469 kB / 1.271 GB, free: 245.2 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.02349/3.5, allocations: 9.368 MB / 1.28 GB, free: 240.7 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007104/3.507, allocations: 1.185 MB / 1.281 GB, free: 240.3 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03918/3.546, allocations: 18.14 MB / 1.299 GB, free: 229 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008399/3.555, allocations: 5.016 MB / 1.303 GB, free: 225.2 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.003707/3.558, allocations: 0.7398 MB / 1.304 GB, free: 224.7 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008206/3.559, allocations: 199.4 kB / 1.304 GB, free: 224.5 MB / 0.823 GB Notification: Performance of SimCode: time 1.849e-06/3.559, allocations: 0 / 1.304 GB, free: 224.5 MB / 0.823 GB Notification: Performance of Templates: time 0.324/3.883, allocations: 135.3 MB / 1.437 GB, free: 92.05 MB / 0.823 GB