Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.363/1.363, allocations: 255.9 MB / 271.2 MB, free: 8.898 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009599/0.0009599, allocations: 186 kB / 330.8 MB, free: 476 kB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.641/1.641, allocations: 225.7 MB / 0.6016 GB, free: 1.762 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008648/0.0008648, allocations: 99.56 kB / 0.709 GB, free: 7.301 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003834/0.0003833, allocations: 13.27 kB / 0.8261 GB, free: 124.2 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.219/0.2194, allocations: 109.2 MB / 0.9328 GB, free: 24.35 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.03455/0.254, allocations: 37.92 MB / 0.9698 GB, free: 2.32 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02589/0.2799, allocations: 19.73 MB / 0.9891 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00419/0.2841, allocations: 159.1 kB / 0.9892 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.003357/0.2875, allocations: 0.8606 MB / 0.9901 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.009051/0.2966, allocations: 2.628 MB / 0.9926 GB, free: 9.656 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.007654/0.3043, allocations: 2.71 MB / 0.9953 GB, free: 6.941 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.01912/0.3234, allocations: 15.93 MB / 1.011 GB, free: 6.969 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.4557/0.7792, allocations: 21.79 MB / 1.032 GB, free: 36.71 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01218/0.7914, allocations: 3.601 MB / 1.036 GB, free: 36.57 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01216/0.8037, allocations: 4.719 MB / 1.04 GB, free: 35.98 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.004212/0.8079, allocations: 398.8 kB / 1.041 GB, free: 35.98 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007504/0.8155, allocations: 1.763 MB / 1.042 GB, free: 35.98 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.006109/0.8216, allocations: 2.928 MB / 1.045 GB, free: 35.73 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.007898/0.8295, allocations: 3.516 MB / 1.049 GB, free: 34.66 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.02055/0.8501, allocations: 13.58 MB / 1.062 GB, free: 33.38 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 9.238e-06/0.8501, allocations: 1.188 kB / 1.062 GB, free: 33.38 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.585e-06/0.8502, allocations: 0 / 1.062 GB, free: 33.38 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0005632/0.8507, allocations: 0 / 1.062 GB, free: 33.38 MB / 0.6667 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.0199/0.8706, allocations: 6.157 MB / 1.068 GB, free: 30.34 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.8707, allocations: 13.33 kB / 1.068 GB, free: 30.34 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0121/0.8828, allocations: 1.521 MB / 1.069 GB, free: 29.67 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01073/0.8936, allocations: 4.198 MB / 1.074 GB, free: 28.19 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004026/0.894, allocations: 455.1 kB / 1.074 GB, free: 28.18 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003604/0.8976, allocations: 0.6074 MB / 1.075 GB, free: 28.16 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03047/0.9281, allocations: 10.63 MB / 1.085 GB, free: 24.96 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004827/0.9287, allocations: 36.47 kB / 1.085 GB, free: 24.95 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00317/0.9318, allocations: 267.8 kB / 1.085 GB, free: 24.94 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002895/0.9348, allocations: 0.7783 MB / 1.086 GB, free: 24.73 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02197/0.9567, allocations: 8.517 MB / 1.094 GB, free: 23.29 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06611/1.023, allocations: 46.96 MB / 1.14 GB, free: 1.195 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006373/1.029, allocations: 4.304 MB / 1.144 GB, free: 12.89 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006062/1.035, allocations: 3.686 MB / 1.148 GB, free: 9.211 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003485/1.036, allocations: 38.78 kB / 1.148 GB, free: 9.172 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.101e-05/1.036, allocations: 69.34 kB / 1.148 GB, free: 9.094 MB / 0.698 GB Notification: Performance of pre-optimization done (n=353): time 5.24e-06/1.036, allocations: 0 / 1.148 GB, free: 9.094 MB / 0.698 GB Notification: Performance of matching and sorting (n=578): time 0.4988/1.535, allocations: 128 MB / 1.273 GB, free: 8.641 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/1.535, allocations: 115.9 kB / 1.273 GB, free: 8.512 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005598/1.54, allocations: 2.657 MB / 1.276 GB, free: 5.855 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.001436/1.542, allocations: 121.7 kB / 1.276 GB, free: 5.73 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.002058/1.544, allocations: 2.675 MB / 1.279 GB, free: 3.031 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.002823/1.547, allocations: 1.953 MB / 1.28 GB, free: 1.094 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009128/1.548, allocations: 110.6 kB / 1.281 GB, free: 0.9883 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0004077/1.548, allocations: 0.5257 MB / 1.281 GB, free: 468 kB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006895/1.555, allocations: 4.056 MB / 1.285 GB, free: 12.4 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008254/1.563, allocations: 4.999 MB / 1.29 GB, free: 7.086 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01634/1.58, allocations: 9.811 MB / 1.299 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.87e-05/1.58, allocations: 8 kB / 1.299 GB, free: 12.98 MB / 0.8542 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04269/1.622, allocations: 16.94 MB / 1.316 GB, free: 12.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 6.13e-05/1.623, allocations: 23.38 kB / 1.316 GB, free: 12.28 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.813e-05/1.623, allocations: 24 kB / 1.316 GB, free: 12.25 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0323/1.655, allocations: 9.046 MB / 1.325 GB, free: 3.172 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00253/1.657, allocations: 0.5232 MB / 1.325 GB, free: 2.68 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6005/2.258, allocations: 70.6 MB / 1.394 GB, free: 306.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005311/2.263, allocations: 279.4 kB / 1.395 GB, free: 306.1 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00104/2.264, allocations: 188.3 kB / 1.395 GB, free: 306.1 MB / 0.9167 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 (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,51.0%), (14,72,51.0%), (6,40,77.8%), (7,71,71.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006328/2.271, allocations: 2.422 MB / 1.397 GB, free: 305.1 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001292/2.272, allocations: 475.2 kB / 1.398 GB, free: 305 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03815/2.31, allocations: 16.77 MB / 1.414 GB, free: 298.4 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.048e-05/2.31, allocations: 57.44 kB / 1.414 GB, free: 298.4 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002626/2.311, allocations: 75.88 kB / 1.414 GB, free: 298.4 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001309/2.311, allocations: 26.95 kB / 1.414 GB, free: 298.4 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05277/2.364, allocations: 25.65 MB / 1.439 GB, free: 288.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.76e-05/2.364, allocations: 7.844 kB / 1.439 GB, free: 288.4 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00196/2.366, allocations: 320.8 kB / 1.44 GB, free: 288.4 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02721/2.393, allocations: 8.259 MB / 1.448 GB, free: 286.5 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001178/2.394, allocations: 106.8 kB / 1.448 GB, free: 286.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07853/2.473, allocations: 67.46 MB / 1.514 GB, free: 222.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.102e-06/2.473, allocations: 11.94 kB / 1.514 GB, free: 222.3 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03827/2.511, allocations: 21.49 MB / 1.535 GB, free: 200.5 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003869/2.515, allocations: 1.366 MB / 1.536 GB, free: 199.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001692/2.517, allocations: 108 kB / 1.536 GB, free: 199 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004429/2.521, allocations: 287.6 kB / 1.536 GB, free: 198.7 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002322/2.523, allocations: 0.5221 MB / 1.537 GB, free: 198.2 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005363/2.524, allocations: 144 kB / 1.537 GB, free: 198.1 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.002579/2.526, allocations: 1.749 MB / 1.539 GB, free: 196.3 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.4e-07/2.526, allocations: 7.875 kB / 1.539 GB, free: 196.3 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.009799/2.536, allocations: 2.441 MB / 1.541 GB, free: 193.9 MB / 0.9167 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 (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001198/2.538, allocations: 245 kB / 1.541 GB, free: 193.6 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.02305/2.561, allocations: 14.48 MB / 1.555 GB, free: 178.9 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.466e-05/2.561, allocations: 8.188 kB / 1.555 GB, free: 178.9 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.01614/2.577, allocations: 9.37 MB / 1.565 GB, free: 169.4 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009815/2.587, allocations: 1.278 MB / 1.566 GB, free: 168.2 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02297/2.61, allocations: 18.79 MB / 1.584 GB, free: 149.2 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005441/2.615, allocations: 4.9 MB / 1.589 GB, free: 144.3 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.003139/2.618, allocations: 0.7371 MB / 1.59 GB, free: 143.6 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005941/2.619, allocations: 203.4 kB / 1.59 GB, free: 143.4 MB / 0.9167 GB Notification: Performance of SimCode: time 8.41e-07/2.619, allocations: 0 / 1.59 GB, free: 143.4 MB / 0.9167 GB Notification: Performance of Templates: time 0.6012/3.22, allocations: 138.6 MB / 1.725 GB, free: 296.6 MB / 0.9167 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)