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_RL.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_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009168/0.009168, allocations: 108.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.00114/0.00114, allocations: 180.8 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.976/1.976, allocations: 194.6 MB / 211.3 MB, free: 11.3 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.275/2.275, allocations: 236.2 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004703/0.0004706, allocations: 12 kB / 0.587 GB, free: 2.188 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5389/0.5394, allocations: 98.71 MB / 0.6833 GB, free: 16.68 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03193/0.5714, allocations: 23.25 MB / 0.7061 GB, free: 1.234 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.01733/0.5887, allocations: 7.774 MB / 0.7136 GB, free: 11.09 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003034/0.5918, allocations: 96 kB / 0.7137 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.002188/0.594, allocations: 0.5119 MB / 0.7142 GB, free: 10.58 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.005373/0.5994, allocations: 1.179 MB / 0.7154 GB, free: 9.559 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.004329/0.6038, allocations: 1.005 MB / 0.7164 GB, free: 8.781 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.006594/0.6104, allocations: 3.006 MB / 0.7193 GB, free: 6.805 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01782/0.6283, allocations: 8.16 MB / 0.7273 GB, free: 1.203 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003943/0.6323, allocations: 1.639 MB / 0.7289 GB, free: 15.56 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003544/0.6359, allocations: 1.682 MB / 0.7305 GB, free: 13.87 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.0008194/0.6367, allocations: 212 kB / 0.7307 GB, free: 13.66 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002208/0.6389, allocations: 0.4917 MB / 0.7312 GB, free: 13.17 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.002461/0.6414, allocations: 1.528 MB / 0.7327 GB, free: 11.64 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 0.00158/0.6431, allocations: 0.8005 MB / 0.7335 GB, free: 10.83 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.009546/0.6526, allocations: 6.511 MB / 0.7398 GB, free: 4.301 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 4.084e-06/0.6527, allocations: 0 / 0.7398 GB, free: 4.301 MB / 0.5574 GB Notification: Performance of FrontEnd: time 2.639e-06/0.6527, allocations: 0 / 0.7398 GB, free: 4.301 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 0.0001563/0.6528, allocations: 0 / 0.7398 GB, free: 4.301 MB / 0.5574 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.00877/0.6616, allocations: 3.436 MB / 0.7432 GB, free: 0.8008 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.6617, allocations: 8.031 kB / 0.7432 GB, free: 0.793 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00521/0.6669, allocations: 0.7719 MB / 0.7439 GB, free: 16 kB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006257/0.6732, allocations: 2.374 MB / 0.7463 GB, free: 13.59 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003444/0.6736, allocations: 271.3 kB / 0.7465 GB, free: 13.32 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001329/0.6749, allocations: 375.9 kB / 0.7469 GB, free: 12.95 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0152/0.6902, allocations: 5.93 MB / 0.7527 GB, free: 6.77 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001481/0.6904, allocations: 23.78 kB / 0.7527 GB, free: 6.746 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007715/0.6912, allocations: 160 kB / 0.7529 GB, free: 6.59 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007446/0.6919, allocations: 282.9 kB / 0.7531 GB, free: 6.312 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01189/0.7038, allocations: 4.492 MB / 0.7575 GB, free: 1.812 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04034/0.7442, allocations: 27.69 MB / 0.7846 GB, free: 3.613 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002462/0.7467, allocations: 1.12 MB / 0.7856 GB, free: 2.484 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001055/0.7468, allocations: 9 kB / 0.7857 GB, free: 2.477 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.188e-05/0.7469, allocations: 47.56 kB / 0.7857 GB, free: 2.422 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=110): time 4.557e-06/0.7469, allocations: 0 / 0.7857 GB, free: 2.422 MB / 0.6042 GB Notification: Performance of matching and sorting (n=131): time 0.0286/0.7755, allocations: 9.663 MB / 0.7951 GB, free: 8.543 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.204e-05/0.7756, allocations: 68.72 kB / 0.7952 GB, free: 8.461 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002705/0.7784, allocations: 1.486 MB / 0.7967 GB, free: 6.977 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 0.0002466/0.7786, allocations: 53.64 kB / 0.7967 GB, free: 6.918 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 0.001553/0.7802, allocations: 1.663 MB / 0.7983 GB, free: 5.23 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006606/0.7809, allocations: 473.3 kB / 0.7988 GB, free: 4.762 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/0.781, allocations: 32 kB / 0.7988 GB, free: 4.73 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 0.0002347/0.7813, allocations: 377.9 kB / 0.7992 GB, free: 4.355 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001979/0.7833, allocations: 0.9057 MB / 0.8001 GB, free: 3.449 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002478/0.7858, allocations: 1.447 MB / 0.8015 GB, free: 1.762 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002442/0.7882, allocations: 1.146 MB / 0.8026 GB, free: 0.6133 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-05/0.7883, allocations: 8 kB / 0.8026 GB, free: 0.6055 MB / 0.6199 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.008365/0.7966, allocations: 3.27 MB / 0.8058 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.784e-05/0.7967, allocations: 12 kB / 0.8058 GB, free: 13.28 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.989e-05/0.7968, allocations: 23.98 kB / 0.8058 GB, free: 13.26 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003197/0.8, allocations: 0.7415 MB / 0.8065 GB, free: 12.49 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002062/0.8021, allocations: 387.3 kB / 0.8069 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02205/0.8242, allocations: 16.03 MB / 0.8226 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001873/0.8261, allocations: 103.9 kB / 0.8227 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002206/0.8263, allocations: 75.98 kB / 0.8227 GB, free: 10.7 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(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%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003113/0.8294, allocations: 1.317 MB / 0.824 GB, free: 9.371 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005482/0.83, allocations: 197.7 kB / 0.8242 GB, free: 9.176 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006927/0.8369, allocations: 2.777 MB / 0.8269 GB, free: 6.363 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.065e-05/0.837, allocations: 12 kB / 0.8269 GB, free: 6.352 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.197e-05/0.837, allocations: 11.95 kB / 0.827 GB, free: 6.34 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.368e-05/0.8371, allocations: 7.984 kB / 0.827 GB, free: 6.332 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01489/0.852, allocations: 6.205 MB / 0.833 GB, free: 15.96 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.707e-05/0.852, allocations: 7.938 kB / 0.833 GB, free: 15.95 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001563/0.8536, allocations: 232 kB / 0.8333 GB, free: 15.72 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002902/0.8565, allocations: 0.6795 MB / 0.8339 GB, free: 15.02 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002338/0.8568, allocations: 28 kB / 0.8339 GB, free: 14.99 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02156/0.8784, allocations: 15.78 MB / 0.8494 GB, free: 14.02 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.179e-05/0.8784, allocations: 11.88 kB / 0.8494 GB, free: 14 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009202/0.8876, allocations: 4.334 MB / 0.8536 GB, free: 9.445 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001618/0.8893, allocations: 458.6 kB / 0.854 GB, free: 8.977 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003893/0.8897, allocations: 31.98 kB / 0.8541 GB, free: 8.945 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001206/0.8909, allocations: 83.89 kB / 0.8541 GB, free: 8.863 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003601/0.8913, allocations: 116.7 kB / 0.8543 GB, free: 8.746 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001552/0.8915, allocations: 40 kB / 0.8543 GB, free: 8.707 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 0.002028/0.8935, allocations: 0.9786 MB / 0.8552 GB, free: 7.738 MB / 0.6824 GB Notification: Performance of sort global known variables: time 8.56e-07/0.8935, allocations: 4 kB / 0.8553 GB, free: 7.734 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.003225/0.8968, allocations: 0.6836 MB / 0.8559 GB, free: 7.051 MB / 0.6824 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[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 (101): * Single equations (assignments): 92 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004381/0.8973, allocations: 164.5 kB / 0.8561 GB, free: 6.879 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.007276/0.9045, allocations: 3.483 MB / 0.8595 GB, free: 3.285 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 1.328e-05/0.9046, allocations: 4 kB / 0.8595 GB, free: 3.281 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 0.00458/0.9092, allocations: 2.276 MB / 0.8617 GB, free: 0.8867 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003335/0.9126, allocations: 0.5948 MB / 0.8623 GB, free: 304 kB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01558/0.9282, allocations: 7.835 MB / 0.8699 GB, free: 8.379 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004682/0.9329, allocations: 2.738 MB / 0.8726 GB, free: 5.609 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00228/0.9352, allocations: 485.4 kB / 0.8731 GB, free: 5.133 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004783/0.9357, allocations: 119.4 kB / 0.8732 GB, free: 5.016 MB / 0.698 GB Notification: Performance of SimCode: time 1.615e-06/0.9357, allocations: 0 / 0.8732 GB, free: 5.016 MB / 0.698 GB Notification: Performance of Templates: time 0.08152/1.017, allocations: 31.18 MB / 0.9036 GB, free: 6.227 MB / 0.7292 GB