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_RL_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_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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.501/1.501, 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.001105/0.001105, allocations: 183 kB / 330.8 MB, free: 0.5 MB / 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.609/1.609, allocations: 225.7 MB / 0.6016 GB, free: 15.85 MB / 442.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.0007759/0.000776, allocations: 104.3 kB / 0.709 GB, free: 5.355 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003419/0.000342, allocations: 10.09 kB / 0.8261 GB, free: 123.6 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1892/0.1896, allocations: 109.2 MB / 0.9328 GB, free: 24.12 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.01479/0.2044, allocations: 18.59 MB / 0.9509 GB, free: 5.465 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.01096/0.2154, allocations: 9.327 MB / 0.96 GB, free: 11.39 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002/0.2175, allocations: 75.56 kB / 0.9601 GB, free: 11.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001326/0.2188, allocations: 408.8 kB / 0.9605 GB, free: 10.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.00305/0.2219, allocations: 1.108 MB / 0.9616 GB, free: 9.797 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002873/0.2248, allocations: 1.068 MB / 0.9626 GB, free: 8.727 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.007157/0.2319, allocations: 6.987 MB / 0.9694 GB, free: 1.719 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01234/0.2443, allocations: 10.32 MB / 0.9795 GB, free: 6.555 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002992/0.2473, allocations: 1.529 MB / 0.981 GB, free: 5.02 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003053/0.2504, allocations: 2.02 MB / 0.983 GB, free: 2.992 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0004362/0.2509, allocations: 180 kB / 0.9832 GB, free: 2.816 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001882/0.2527, allocations: 0.8851 MB / 0.984 GB, free: 1.93 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.001315/0.2541, allocations: 1.321 MB / 0.9853 GB, free: 0.6055 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.001726/0.2558, allocations: 1.572 MB / 0.9868 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.005967/0.2618, allocations: 6.21 MB / 0.9929 GB, free: 8.789 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.2618, allocations: 0 / 0.9929 GB, free: 8.789 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.375e-06/0.2618, allocations: 0 / 0.9929 GB, free: 8.789 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001819/0.262, allocations: 0 / 0.9929 GB, free: 8.789 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.006188/0.2682, allocations: 2.824 MB / 0.9957 GB, free: 5.902 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/0.2683, allocations: 15.98 kB / 0.9957 GB, free: 5.887 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003626/0.2719, allocations: 0.6371 MB / 0.9963 GB, free: 5.246 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004021/0.276, allocations: 1.936 MB / 0.9982 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001953/0.2762, allocations: 226.3 kB / 0.9984 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006327/0.2768, allocations: 288.4 kB / 0.9987 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008303/0.2851, allocations: 4.87 MB / 1.003 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.554e-05/0.2852, allocations: 15.84 kB / 1.003 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002909/0.2855, allocations: 128 kB / 1.004 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004273/0.286, allocations: 229.7 kB / 1.004 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006375/0.2923, allocations: 3.723 MB / 1.007 GB, free: 9.578 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.419/0.7114, allocations: 21.61 MB / 1.029 GB, free: 68.86 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001919/0.7133, allocations: 1.312 MB / 1.03 GB, free: 68.34 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001531/0.7149, allocations: 1.033 MB / 1.031 GB, free: 67.96 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.874e-05/0.715, allocations: 16.5 kB / 1.031 GB, free: 67.95 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.715, allocations: 48.47 kB / 1.031 GB, free: 67.9 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=107): time 3.276e-06/0.715, allocations: 0 / 1.031 GB, free: 67.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=138): time 0.02432/0.7393, allocations: 8.696 MB / 1.039 GB, free: 65.15 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.7394, allocations: 66.38 kB / 1.039 GB, free: 65.09 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00168/0.7411, allocations: 1.125 MB / 1.041 GB, free: 64.64 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.732e-05/0.7412, allocations: 45.8 kB / 1.041 GB, free: 64.59 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008245/0.7421, allocations: 1.295 MB / 1.042 GB, free: 63.61 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003948/0.7425, allocations: 488.3 kB / 1.042 GB, free: 63.24 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.353e-05/0.7426, allocations: 30.88 kB / 1.042 GB, free: 63.21 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.7427, allocations: 377 kB / 1.043 GB, free: 62.88 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001439/0.7441, allocations: 0.9068 MB / 1.044 GB, free: 62.54 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001611/0.7458, allocations: 1.313 MB / 1.045 GB, free: 61.7 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003177/0.7489, allocations: 2.414 MB / 1.047 GB, free: 60.33 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/0.749, allocations: 6.719 kB / 1.047 GB, free: 60.32 MB / 0.6511 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006452/0.7554, allocations: 3.443 MB / 1.051 GB, free: 58.96 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.367e-05/0.7555, allocations: 12.06 kB / 1.051 GB, free: 58.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.483e-05/0.7555, allocations: 13.09 kB / 1.051 GB, free: 58.96 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003292/0.7588, allocations: 1.195 MB / 1.052 GB, free: 58.65 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/0.7598, allocations: 259.9 kB / 1.052 GB, free: 58.62 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01395/0.7738, allocations: 12.7 MB / 1.064 GB, free: 49.87 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001453/0.7753, allocations: 89.31 kB / 1.065 GB, free: 49.82 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001559/0.7755, allocations: 61.53 kB / 1.065 GB, free: 49.81 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,92.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001947/0.7774, allocations: 1.122 MB / 1.066 GB, free: 49.09 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003202/0.7778, allocations: 159.3 kB / 1.066 GB, free: 49.02 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005497/0.7833, allocations: 3.162 MB / 1.069 GB, free: 47.16 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.515e-05/0.7833, allocations: 14.09 kB / 1.069 GB, free: 47.16 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.151e-05/0.7833, allocations: 11.44 kB / 1.069 GB, free: 47.16 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.457e-05/0.7833, allocations: 8.906 kB / 1.069 GB, free: 47.15 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01043/0.7938, allocations: 6.232 MB / 1.075 GB, free: 43.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.053e-05/0.7938, allocations: 3.5 kB / 1.075 GB, free: 43.39 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000557/0.7944, allocations: 149.1 kB / 1.075 GB, free: 43.34 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002581/0.797, allocations: 1.07 MB / 1.076 GB, free: 42.84 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.431e-05/0.7971, allocations: 34.06 kB / 1.076 GB, free: 42.82 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01254/0.8096, allocations: 12.44 MB / 1.088 GB, free: 31.48 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.8097, allocations: 11.94 kB / 1.088 GB, free: 31.47 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00448/0.8142, allocations: 3.146 MB / 1.091 GB, free: 28.24 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008722/0.8151, allocations: 434.9 kB / 1.092 GB, free: 27.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002139/0.8153, allocations: 30.84 kB / 1.092 GB, free: 27.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007533/0.8161, allocations: 79.89 kB / 1.092 GB, free: 27.69 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003872/0.8165, allocations: 120.7 kB / 1.092 GB, free: 27.57 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.926e-05/0.8166, allocations: 51.98 kB / 1.092 GB, free: 27.52 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0008662/0.8174, allocations: 0.7476 MB / 1.093 GB, free: 26.77 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8174, allocations: 0 / 1.093 GB, free: 26.77 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002068/0.8195, allocations: 0.6602 MB / 1.094 GB, free: 26.11 MB / 0.6511 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002251/0.8197, allocations: 154.3 kB / 1.094 GB, free: 25.96 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.004284/0.824, allocations: 3.123 MB / 1.097 GB, free: 22.8 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/0.8241, allocations: 0 / 1.097 GB, free: 22.8 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.00257/0.8266, allocations: 1.959 MB / 1.099 GB, free: 20.8 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002898/0.8296, allocations: 468.9 kB / 1.099 GB, free: 20.35 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009268/0.8388, allocations: 6.742 MB / 1.106 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002201/0.8411, allocations: 2.34 MB / 1.108 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001254/0.8424, allocations: 350.1 kB / 1.108 GB, free: 10.81 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002062/0.8426, allocations: 87.42 kB / 1.108 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of SimCode: time 1.222e-06/0.8426, allocations: 0 / 1.108 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of Templates: time 0.05367/0.8963, allocations: 30.96 MB / 1.139 GB, free: 11.88 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)