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_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_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009248/0.009253, allocations: 108 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.001185/0.001185, allocations: 179.7 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.93/1.93, 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.421/2.421, allocations: 236.1 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007834/0.0007837, allocations: 16 kB / 0.5869 GB, free: 2.145 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7698/0.7707, allocations: 98.71 MB / 0.6834 GB, free: 16.77 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.06608/0.8368, allocations: 33.05 MB / 0.7156 GB, free: 9.984 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.02339/0.8602, allocations: 10.73 MB / 0.7261 GB, free: 1.492 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00407/0.8644, allocations: 125.7 kB / 0.7262 GB, free: 1.445 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.003243/0.8677, allocations: 0.7543 MB / 0.727 GB, free: 0.7578 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.007073/0.8748, allocations: 1.718 MB / 0.7286 GB, free: 15.26 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.005383/0.8802, allocations: 1.293 MB / 0.7299 GB, free: 14.25 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.009199/0.8894, allocations: 4.45 MB / 0.7342 GB, free: 10.19 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02741/0.9168, allocations: 12.65 MB / 0.7466 GB, free: 13.44 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005257/0.9221, allocations: 2.495 MB / 0.749 GB, free: 10.94 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005036/0.9272, allocations: 2.647 MB / 0.7516 GB, free: 8.281 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.00103/0.9283, allocations: 348 kB / 0.7519 GB, free: 7.941 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002252/0.9305, allocations: 0.5894 MB / 0.7525 GB, free: 7.352 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.003186/0.9337, allocations: 2.307 MB / 0.7548 GB, free: 5.039 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.002077/0.9358, allocations: 1.198 MB / 0.7559 GB, free: 3.832 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.01397/0.9498, allocations: 10.03 MB / 0.7657 GB, free: 9.777 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.083e-06/0.9499, allocations: 0 / 0.7657 GB, free: 9.777 MB / 0.5886 GB Notification: Performance of FrontEnd: time 4.458e-06/0.9499, allocations: 8 kB / 0.7657 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0002259/0.9501, allocations: 0 / 0.7657 GB, free: 9.77 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01297/0.9631, allocations: 5.106 MB / 0.7707 GB, free: 4.594 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.9632, allocations: 8.031 kB / 0.7707 GB, free: 4.586 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006141/0.9693, allocations: 1.012 MB / 0.7717 GB, free: 3.566 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008487/0.9778, allocations: 3.342 MB / 0.775 GB, free: 176 kB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004889/0.9784, allocations: 419.5 kB / 0.7754 GB, free: 15.76 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001544/0.9799, allocations: 0.5467 MB / 0.7759 GB, free: 15.21 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02296/1.003, allocations: 9.287 MB / 0.785 GB, free: 5.594 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001645/1.003, allocations: 15.88 kB / 0.785 GB, free: 5.578 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000884/1.004, allocations: 247.9 kB / 0.7852 GB, free: 5.336 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007665/1.005, allocations: 418.9 kB / 0.7856 GB, free: 4.926 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01839/1.023, allocations: 7.081 MB / 0.7926 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06175/1.085, allocations: 41.36 MB / 0.833 GB, free: 0.7344 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006644/1.092, allocations: 3.105 MB / 0.836 GB, free: 13.62 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001823/1.092, allocations: 22 kB / 0.836 GB, free: 13.6 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.408e-05/1.092, allocations: 64.56 kB / 0.8361 GB, free: 13.53 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=209): time 5.978e-06/1.092, allocations: 0 / 0.8361 GB, free: 13.53 MB / 0.6667 GB Notification: Performance of matching and sorting (n=212): time 0.03172/1.124, allocations: 10.44 MB / 0.8463 GB, free: 2.996 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.147e-05/1.124, allocations: 73.41 kB / 0.8463 GB, free: 2.91 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00383/1.128, allocations: 1.982 MB / 0.8483 GB, free: 0.9102 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0003635/1.128, allocations: 61.7 kB / 0.8483 GB, free: 0.8438 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.002303/1.13, allocations: 2.407 MB / 0.8507 GB, free: 14.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001059/1.131, allocations: 0.7278 MB / 0.8514 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002349/1.132, allocations: 60 kB / 0.8514 GB, free: 13.61 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0003034/1.132, allocations: 411.2 kB / 0.8518 GB, free: 13.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003896/1.136, allocations: 1.364 MB / 0.8532 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006082/1.142, allocations: 2.092 MB / 0.8552 GB, free: 9.43 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003767/1.146, allocations: 1.716 MB / 0.8569 GB, free: 7.711 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.332e-05/1.146, allocations: 11.94 kB / 0.8569 GB, free: 7.699 MB / 0.6823 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.01233/1.158, allocations: 5.035 MB / 0.8618 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.425e-05/1.158, allocations: 16 kB / 0.8618 GB, free: 2.625 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.698e-05/1.158, allocations: 20 kB / 0.8618 GB, free: 2.605 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004964/1.163, allocations: 1.561 MB / 0.8634 GB, free: 1.035 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002303/1.166, allocations: 455.2 kB / 0.8638 GB, free: 0.5898 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03228/1.198, allocations: 17.73 MB / 0.8811 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002558/1.201, allocations: 147.9 kB / 0.8813 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003023/1.201, allocations: 108 kB / 0.8814 GB, free: 14.08 MB / 0.7136 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 (231): * Single equations (assignments): 227 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,69.4%) 32,(6,66.7%) 24,(4,100.0%) 18,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004363/1.205, allocations: 1.945 MB / 0.8833 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007736/1.206, allocations: 292.6 kB / 0.8835 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01022/1.216, allocations: 4.428 MB / 0.8879 GB, free: 7.379 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-05/1.216, allocations: 24 kB / 0.8879 GB, free: 7.355 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.513e-05/1.216, allocations: 16 kB / 0.8879 GB, free: 7.34 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.014e-05/1.217, allocations: 7.969 kB / 0.8879 GB, free: 7.332 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02317/1.24, allocations: 9.641 MB / 0.8973 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.877e-05/1.24, allocations: 4 kB / 0.8973 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001445/1.241, allocations: 235.6 kB / 0.8976 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004875/1.246, allocations: 1.433 MB / 0.899 GB, free: 11.87 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003689/1.247, allocations: 40 kB / 0.899 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5548/1.801, allocations: 17.72 MB / 0.9163 GB, free: 191.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.544e-06/1.801, allocations: 5.625 kB / 0.9163 GB, free: 191.7 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01069/1.812, allocations: 4.873 MB / 0.9211 GB, free: 189.8 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002008/1.814, allocations: 0.6342 MB / 0.9217 GB, free: 189.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000659/1.815, allocations: 42.53 kB / 0.9217 GB, free: 189.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001696/1.817, allocations: 117.9 kB / 0.9218 GB, free: 189.5 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006551/1.817, allocations: 177.6 kB / 0.922 GB, free: 189.4 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002187/1.817, allocations: 61.03 kB / 0.9221 GB, free: 189.4 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002604/1.82, allocations: 1.3 MB / 0.9233 GB, free: 188.9 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.045e-06/1.82, allocations: 0 / 0.9233 GB, free: 188.9 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.004533/1.825, allocations: 1.139 MB / 0.9244 GB, free: 188.8 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 (107): * Single equations (assignments): 103 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,100.0%) 18,(6,66.7%) 24,(4,100.0%) 18,(6,66.7%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004689/1.825, allocations: 168.5 kB / 0.9246 GB, free: 188.7 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.009971/1.835, allocations: 4.678 MB / 0.9292 GB, free: 186.7 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.259e-05/1.835, allocations: 2.688 kB / 0.9292 GB, free: 186.7 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.006544/1.842, allocations: 2.915 MB / 0.932 GB, free: 185.3 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004479/1.846, allocations: 0.8045 MB / 0.9328 GB, free: 185.1 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02086/1.867, allocations: 11.22 MB / 0.9438 GB, free: 179.1 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006934/1.874, allocations: 3.782 MB / 0.9475 GB, free: 177.7 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.003047/1.877, allocations: 0.55 MB / 0.948 GB, free: 177.6 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000769/1.878, allocations: 157.7 kB / 0.9481 GB, free: 177.6 MB / 0.7292 GB Notification: Performance of SimCode: time 1.637e-06/1.878, allocations: 0 / 0.9481 GB, free: 177.6 MB / 0.7292 GB Notification: Performance of Templates: time 0.1089/1.987, allocations: 48.78 MB / 0.9958 GB, free: 136.8 MB / 0.7292 GB