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.01054/0.01055, allocations: 223 kB / 15.17 MB, free: 6 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.001125/0.001125, allocations: 174.9 kB / 16.06 MB, free: 5.875 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.448/3.448, allocations: 389.1 MB / 405.9 MB, free: 13.33 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 4.427/4.427, allocations: 472.3 MB / 0.9018 GB, free: 3.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004863/0.0004865, allocations: 12 kB / 1.008 GB, free: 10.24 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6756/0.6761, allocations: 98.71 MB / 1.104 GB, free: 212.8 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04675/0.7229, allocations: 37.47 MB / 1.141 GB, free: 188.3 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.02659/0.7496, allocations: 14.36 MB / 1.155 GB, free: 178.9 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005144/0.7547, allocations: 160.9 kB / 1.155 GB, free: 178.8 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.003291/0.7581, allocations: 0.7843 MB / 1.156 GB, free: 178.4 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.00935/0.7674, allocations: 2.51 MB / 1.158 GB, free: 177 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.007637/0.7751, allocations: 1.94 MB / 1.16 GB, free: 175.9 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.01615/0.7913, allocations: 12.7 MB / 1.172 GB, free: 168.2 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02396/0.8153, allocations: 13.94 MB / 1.186 GB, free: 155.2 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008793/0.8241, allocations: 3.486 MB / 1.189 GB, free: 151.7 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01151/0.8357, allocations: 4.643 MB / 1.194 GB, free: 147.1 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.00241/0.8382, allocations: 396 kB / 1.194 GB, free: 146.7 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006244/0.8444, allocations: 0.8894 MB / 1.195 GB, free: 145.8 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.006135/0.8506, allocations: 2.962 MB / 1.198 GB, free: 142.8 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.004384/0.855, allocations: 1.381 MB / 1.199 GB, free: 141.4 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.01917/0.8743, allocations: 11.75 MB / 1.211 GB, free: 129.6 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.669e-06/0.8743, allocations: 3.938 kB / 1.211 GB, free: 129.6 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.369e-06/0.8743, allocations: 0 / 1.211 GB, free: 129.6 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0002915/0.8746, allocations: 4 kB / 1.211 GB, free: 129.6 MB / 0.7292 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.0201/0.8947, allocations: 6.224 MB / 1.217 GB, free: 123.3 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.8948, allocations: 8.031 kB / 1.217 GB, free: 123.3 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0124/0.9072, allocations: 1.596 MB / 1.218 GB, free: 121.7 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009187/0.9164, allocations: 4.097 MB / 1.222 GB, free: 117.6 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004621/0.9169, allocations: 456.1 kB / 1.223 GB, free: 117.1 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001923/0.9189, allocations: 0.5935 MB / 1.223 GB, free: 116.5 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02254/0.9414, allocations: 10.64 MB / 1.234 GB, free: 105.5 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002462/0.9417, allocations: 27.78 kB / 1.234 GB, free: 105.5 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001472/0.9432, allocations: 265.1 kB / 1.234 GB, free: 105.2 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003031/0.9463, allocations: 0.7768 MB / 1.235 GB, free: 104.4 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01976/0.9661, allocations: 8.514 MB / 1.243 GB, free: 95.89 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06112/1.027, allocations: 46.97 MB / 1.289 GB, free: 45.25 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007102/1.034, allocations: 4.29 MB / 1.293 GB, free: 41.04 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006262/1.041, allocations: 3.68 MB / 1.297 GB, free: 37.36 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003351/1.041, allocations: 38.78 kB / 1.297 GB, free: 37.32 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.067e-05/1.041, allocations: 73.34 kB / 1.297 GB, free: 37.24 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=353): time 8.018e-06/1.041, allocations: 7.562 kB / 1.297 GB, free: 37.24 MB / 0.7292 GB Notification: Performance of matching and sorting (n=578): time 1.269/2.31, allocations: 127.9 MB / 1.422 GB, free: 196.9 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.108e-05/2.31, allocations: 111.9 kB / 1.422 GB, free: 196.8 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004372/2.314, allocations: 2.657 MB / 1.425 GB, free: 194.2 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.001055/2.316, allocations: 121.7 kB / 1.425 GB, free: 194 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.00167/2.317, allocations: 2.678 MB / 1.427 GB, free: 191.3 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.002353/2.32, allocations: 1.953 MB / 1.429 GB, free: 189.4 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006975/2.32, allocations: 112 kB / 1.429 GB, free: 189.3 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0003146/2.321, allocations: 0.5295 MB / 1.43 GB, free: 188.8 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008871/2.33, allocations: 4.06 MB / 1.434 GB, free: 184.7 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008868/2.339, allocations: 4.988 MB / 1.439 GB, free: 179.4 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009182/2.348, allocations: 4.819 MB / 1.443 GB, free: 174.5 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.164e-05/2.348, allocations: 12 kB / 1.443 GB, free: 174.5 MB / 0.7605 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.05992/2.408, allocations: 16.91 MB / 1.46 GB, free: 157.5 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 4.439e-05/2.408, allocations: 16 kB / 1.46 GB, free: 157.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.029e-05/2.408, allocations: 20.84 kB / 1.46 GB, free: 157.4 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06052/2.468, allocations: 9.065 MB / 1.469 GB, free: 148.4 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005406/2.474, allocations: 0.5226 MB / 1.469 GB, free: 147.8 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1364/2.61, allocations: 70.61 MB / 1.538 GB, free: 75.8 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005263/2.616, allocations: 287.7 kB / 1.539 GB, free: 75.52 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001204/2.617, allocations: 184 kB / 1.539 GB, free: 75.34 MB / 0.7605 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.005687/2.623, allocations: 2.427 MB / 1.541 GB, free: 72.9 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001509/2.624, allocations: 474.4 kB / 1.542 GB, free: 72.43 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04859/2.673, allocations: 16.75 MB / 1.558 GB, free: 55.54 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.236e-05/2.673, allocations: 56 kB / 1.558 GB, free: 55.48 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001711/2.673, allocations: 71.95 kB / 1.558 GB, free: 55.41 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001081/2.673, allocations: 35.89 kB / 1.558 GB, free: 55.38 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06493/2.738, allocations: 25.61 MB / 1.583 GB, free: 29.53 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.927e-05/2.738, allocations: 11.56 kB / 1.583 GB, free: 29.52 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002213/2.74, allocations: 323.6 kB / 1.583 GB, free: 29.21 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.09841/2.839, allocations: 8.247 MB / 1.591 GB, free: 20.92 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002196/2.841, allocations: 116 kB / 1.592 GB, free: 20.8 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1415/2.983, allocations: 67.45 MB / 1.657 GB, free: 15.93 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.356e-05/2.983, allocations: 15.94 kB / 1.657 GB, free: 15.92 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6304/3.613, allocations: 21.47 MB / 1.678 GB, free: 242.6 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004144/3.617, allocations: 1.361 MB / 1.68 GB, free: 242.5 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001782/3.619, allocations: 112.3 kB / 1.68 GB, free: 242.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004877/3.624, allocations: 282.2 kB / 1.68 GB, free: 242.5 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002563/3.627, allocations: 0.5263 MB / 1.681 GB, free: 242.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001053/3.628, allocations: 142.6 kB / 1.681 GB, free: 242.4 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.003749/3.632, allocations: 1.749 MB / 1.682 GB, free: 242.3 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.314e-06/3.632, allocations: 0 / 1.682 GB, free: 242.3 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.01076/3.642, allocations: 2.443 MB / 1.685 GB, free: 242.3 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.001311/3.644, allocations: 252.6 kB / 1.685 GB, free: 242.2 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.03402/3.678, allocations: 14.48 MB / 1.699 GB, free: 239.8 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.574e-05/3.678, allocations: 2.781 kB / 1.699 GB, free: 239.8 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.02299/3.701, allocations: 9.373 MB / 1.708 GB, free: 235.3 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009674/3.711, allocations: 1.285 MB / 1.71 GB, free: 234.9 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.037/3.748, allocations: 18.09 MB / 1.727 GB, free: 226 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01065/3.758, allocations: 5.017 MB / 1.732 GB, free: 224.4 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.004347/3.763, allocations: 0.7449 MB / 1.733 GB, free: 224.4 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00107/3.764, allocations: 200.2 kB / 1.733 GB, free: 224.4 MB / 0.823 GB Notification: Performance of SimCode: time 1.941e-06/3.764, allocations: 4.5 kB / 1.733 GB, free: 224.4 MB / 0.823 GB Notification: Performance of Templates: time 0.2656/4.029, allocations: 135.3 MB / 1.865 GB, free: 114 MB / 0.823 GB