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.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") 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.698/1.698, allocations: 255.9 MB / 271.2 MB, free: 8.895 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.001327/0.001327, allocations: 174.9 kB / 330.8 MB, free: 492 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.593/1.593, allocations: 225.7 MB / 0.6016 GB, free: 1.637 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.0008634/0.0008635, allocations: 104.3 kB / 0.709 GB, free: 7.031 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004668/0.0004673, allocations: 8.844 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1856/0.1861, allocations: 109.2 MB / 0.9328 GB, free: 6.238 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01455/0.2007, allocations: 13.38 MB / 0.9458 GB, free: 8.816 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.01861/0.2194, allocations: 14.67 MB / 0.9601 GB, free: 8.977 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001703/0.2212, allocations: 51.62 kB / 0.9602 GB, free: 8.926 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001358/0.2226, allocations: 290 kB / 0.9605 GB, free: 8.641 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.00641/0.229, allocations: 1.601 MB / 0.962 GB, free: 7.027 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002375/0.2314, allocations: 0.6902 MB / 0.9627 GB, free: 6.336 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.005205/0.2366, allocations: 3.398 MB / 0.966 GB, free: 2.926 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004832/0.2415, allocations: 2.956 MB / 0.9689 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002785/0.2443, allocations: 1.32 MB / 0.9702 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002715/0.247, allocations: 1.074 MB / 0.9713 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0006664/0.2477, allocations: 72 kB / 0.9713 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002396/0.2501, allocations: 0.8265 MB / 0.9721 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.001034/0.2512, allocations: 0.4904 MB / 0.9726 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.001984/0.2532, allocations: 0.8641 MB / 0.9735 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.004205/0.2574, allocations: 2.674 MB / 0.9761 GB, free: 8.324 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 9.297e-06/0.2574, allocations: 4 kB / 0.9761 GB, free: 8.32 MB / 0.6198 GB Notification: Performance of FrontEnd: time 6.162e-06/0.2575, allocations: 0 / 0.9761 GB, free: 8.32 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001245/0.2576, allocations: 3.938 kB / 0.9761 GB, free: 8.316 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004727/0.2623, allocations: 1.835 MB / 0.9779 GB, free: 6.426 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.2624, allocations: 15.98 kB / 0.9779 GB, free: 6.41 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01129/0.2737, allocations: 2.167 MB / 0.98 GB, free: 4.238 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003254/0.277, allocations: 1.21 MB / 0.9812 GB, free: 2.973 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001096/0.2771, allocations: 86.69 kB / 0.9813 GB, free: 2.887 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005644/0.2777, allocations: 132 kB / 0.9814 GB, free: 2.758 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006772/0.2845, allocations: 2.691 MB / 0.984 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-05/0.2846, allocations: 7.938 kB / 0.984 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002797/0.2849, allocations: 51.98 kB / 0.9841 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006514/0.2856, allocations: 198.1 kB / 0.9843 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007805/0.2934, allocations: 2.834 MB / 0.987 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0174/0.3108, allocations: 10.57 MB / 0.9974 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4317/0.7425, allocations: 2.377 MB / 0.9997 GB, free: 67.32 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003904/0.7465, allocations: 1.306 MB / 1.001 GB, free: 67.3 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001408/0.7467, allocations: 12.12 kB / 1.001 GB, free: 67.3 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.904e-05/0.7467, allocations: 43.28 kB / 1.001 GB, free: 67.26 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=89): time 4.158e-06/0.7468, allocations: 1.312 kB / 1.001 GB, free: 67.26 MB / 0.6355 GB Notification: Performance of matching and sorting (n=153): time 0.06072/0.8075, allocations: 16.51 MB / 1.017 GB, free: 63.77 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.8076, allocations: 66.47 kB / 1.017 GB, free: 63.7 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001775/0.8094, allocations: 1.166 MB / 1.018 GB, free: 63.23 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002586/0.8096, allocations: 47.05 kB / 1.018 GB, free: 63.19 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004828/0.8101, allocations: 0.7435 MB / 1.019 GB, free: 62.6 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004798/0.8106, allocations: 0.5144 MB / 1.02 GB, free: 62.2 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001399/0.8107, allocations: 30.53 kB / 1.02 GB, free: 62.18 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.584e-05/0.8109, allocations: 369.4 kB / 1.02 GB, free: 61.84 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003083/0.8139, allocations: 1.524 MB / 1.021 GB, free: 61.39 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003248/0.8172, allocations: 1.798 MB / 1.023 GB, free: 60.64 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007334/0.8246, allocations: 3.398 MB / 1.027 GB, free: 59.16 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.365e-06/0.8246, allocations: 7.312 kB / 1.027 GB, free: 59.16 MB / 0.6355 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01261/0.8372, allocations: 5.3 MB / 1.032 GB, free: 56.26 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.237e-05/0.8373, allocations: 7.938 kB / 1.032 GB, free: 56.26 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.788e-05/0.8373, allocations: 11.03 kB / 1.032 GB, free: 56.26 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007055/0.8444, allocations: 1.885 MB / 1.034 GB, free: 55.29 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00191/0.8463, allocations: 433.5 kB / 1.034 GB, free: 55.11 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02302/0.8694, allocations: 22.13 MB / 1.056 GB, free: 37.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002627/0.872, allocations: 313.2 kB / 1.056 GB, free: 37.35 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000224/0.8723, allocations: 68.31 kB / 1.056 GB, free: 37.33 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (3,15,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008833/0.8732, allocations: 464.3 kB / 1.056 GB, free: 37 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003124/0.8735, allocations: 173.4 kB / 1.057 GB, free: 36.91 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01165/0.8851, allocations: 5.359 MB / 1.062 GB, free: 31.96 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.477e-05/0.8852, allocations: 21.95 kB / 1.062 GB, free: 31.94 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.763e-05/0.8852, allocations: 20 kB / 1.062 GB, free: 31.92 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.583e-05/0.8853, allocations: 3.984 kB / 1.062 GB, free: 31.91 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01444/0.8997, allocations: 7.453 MB / 1.069 GB, free: 24.37 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.559e-05/0.8998, allocations: 4.344 kB / 1.069 GB, free: 24.37 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001463/0.9012, allocations: 367.4 kB / 1.07 GB, free: 24.01 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005559/0.9068, allocations: 1.699 MB / 1.071 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000241/0.9071, allocations: 39.97 kB / 1.071 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02019/0.9273, allocations: 21.35 MB / 1.092 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.9273, allocations: 4 kB / 1.092 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01216/0.9395, allocations: 4.913 MB / 1.097 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001168/0.9407, allocations: 494.8 kB / 1.097 GB, free: 10.33 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003145/0.941, allocations: 31.94 kB / 1.097 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002051/0.9431, allocations: 331.5 kB / 1.098 GB, free: 9.977 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000555/0.9437, allocations: 149 kB / 1.098 GB, free: 9.828 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001392/0.9438, allocations: 51.97 kB / 1.098 GB, free: 9.777 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001045/0.9449, allocations: 0.7782 MB / 1.099 GB, free: 9 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.8e-07/0.9449, allocations: 0 / 1.099 GB, free: 9 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00227/0.9472, allocations: 0.6635 MB / 1.099 GB, free: 8.34 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003116/0.9475, allocations: 145.7 kB / 1.099 GB, free: 8.191 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.01158/0.9591, allocations: 5.178 MB / 1.104 GB, free: 2.918 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.722e-05/0.9591, allocations: 4 kB / 1.104 GB, free: 2.914 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.006998/0.9662, allocations: 3.375 MB / 1.108 GB, free: 15.43 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002945/0.9691, allocations: 0.5301 MB / 1.108 GB, free: 14.91 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008845/0.978, allocations: 5.025 MB / 1.113 GB, free: 9.836 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001288/0.9793, allocations: 1.572 MB / 1.115 GB, free: 8.227 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.00188/0.9812, allocations: 390.4 kB / 1.115 GB, free: 7.84 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000366/0.9816, allocations: 103.4 kB / 1.115 GB, free: 7.738 MB / 0.6667 GB Notification: Performance of SimCode: time 6.51e-07/0.9816, allocations: 0 / 1.115 GB, free: 7.738 MB / 0.6667 GB Notification: Performance of Templates: time 0.07196/1.054, allocations: 42.46 MB / 1.157 GB, free: 13.5 MB / 0.7136 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)