Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.405/2.405, allocations: 254.9 MB / 269.9 MB, free: 9.617 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.001367/0.001367, allocations: 190.7 kB / 329.5 MB, free: 1.148 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 2.612/2.612, allocations: 225.6 MB / 0.6001 GB, free: 2.219 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.001365/0.001365, allocations: 91.52 kB / 0.7074 GB, free: 7.949 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004977/0.0004979, allocations: 11 kB / 0.8242 GB, free: 124.5 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.2162, allocations: 109.1 MB / 0.9308 GB, free: 25.1 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.04392/0.2602, allocations: 29.63 MB / 0.9597 GB, free: 11.38 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02343/0.2836, allocations: 9.803 MB / 0.9693 GB, free: 1.551 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003085/0.2868, allocations: 131.2 kB / 0.9694 GB, free: 1.422 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.003066/0.2899, allocations: 0.6084 MB / 0.97 GB, free: 0.8086 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.009035/0.299, allocations: 1.473 MB / 0.9715 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.008084/0.3071, allocations: 1.259 MB / 0.9727 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.01484/0.322, allocations: 8.342 MB / 0.9808 GB, free: 5.699 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02802/0.3501, allocations: 10.83 MB / 0.9914 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006518/0.3567, allocations: 2.264 MB / 0.9936 GB, free: 8.52 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007294/0.364, allocations: 2.896 MB / 0.9964 GB, free: 5.613 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.001825/0.3659, allocations: 268 kB / 0.9967 GB, free: 5.352 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004868/0.3708, allocations: 0.835 MB / 0.9975 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.004417/0.3753, allocations: 2.038 MB / 0.9995 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.002642/0.378, allocations: 0.9563 MB / 1 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01381/0.3918, allocations: 8.353 MB / 1.009 GB, free: 9.133 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.3919, allocations: 0 / 1.009 GB, free: 9.133 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.886e-06/0.3919, allocations: 0 / 1.009 GB, free: 9.133 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0003353/0.3922, allocations: 0 / 1.009 GB, free: 9.133 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01363/0.4059, allocations: 4.078 MB / 1.013 GB, free: 4.984 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.4059, allocations: 8.031 kB / 1.013 GB, free: 4.977 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008861/0.4148, allocations: 0.9551 MB / 1.014 GB, free: 4.016 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008873/0.4237, allocations: 2.797 MB / 1.016 GB, free: 1.16 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004388/0.4242, allocations: 357.7 kB / 1.017 GB, free: 0.8086 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001908/0.4261, allocations: 464.2 kB / 1.017 GB, free: 364 kB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6513/1.077, allocations: 7.619 MB / 1.024 GB, free: 75.37 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003566/1.078, allocations: 29.89 kB / 1.025 GB, free: 75.36 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001611/1.08, allocations: 203.3 kB / 1.025 GB, free: 75.22 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008522/1.08, allocations: 312.9 kB / 1.025 GB, free: 75.18 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02305/1.103, allocations: 5.671 MB / 1.031 GB, free: 73.2 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05479/1.158, allocations: 35.14 MB / 1.065 GB, free: 43.54 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004448/1.163, allocations: 2.149 MB / 1.067 GB, free: 42.07 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002693/1.166, allocations: 1.265 MB / 1.068 GB, free: 41.39 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001465/1.166, allocations: 13.09 kB / 1.068 GB, free: 41.39 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/1.166, allocations: 47.78 kB / 1.068 GB, free: 41.34 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=133): time 4.208e-06/1.166, allocations: 0 / 1.068 GB, free: 41.34 MB / 0.6511 GB Notification: Performance of matching and sorting (n=136): time 0.02218/1.188, allocations: 7.096 MB / 1.075 GB, free: 36.69 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/1.188, allocations: 66.69 kB / 1.075 GB, free: 36.63 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002901/1.191, allocations: 1.473 MB / 1.077 GB, free: 35.77 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0003015/1.191, allocations: 46.17 kB / 1.077 GB, free: 35.73 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001507/1.193, allocations: 2.005 MB / 1.079 GB, free: 33.97 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007191/1.194, allocations: 484.6 kB / 1.079 GB, free: 33.56 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000178/1.194, allocations: 39.44 kB / 1.079 GB, free: 33.53 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001449/1.194, allocations: 382.5 kB / 1.08 GB, free: 33.17 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002277/1.196, allocations: 0.9016 MB / 1.08 GB, free: 32.7 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002807/1.199, allocations: 1.597 MB / 1.082 GB, free: 31.3 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002803/1.202, allocations: 1.172 MB / 1.083 GB, free: 30.67 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.858e-05/1.202, allocations: 5.531 kB / 1.083 GB, free: 30.67 MB / 0.6511 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.01051/1.213, allocations: 3.523 MB / 1.087 GB, free: 28.73 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.079e-05/1.213, allocations: 12.69 kB / 1.087 GB, free: 28.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.275e-05/1.213, allocations: 23.53 kB / 1.087 GB, free: 28.73 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004329/1.217, allocations: 0.903 MB / 1.087 GB, free: 28.22 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002234/1.219, allocations: 351.1 kB / 1.088 GB, free: 28.13 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02404/1.243, allocations: 21.21 MB / 1.109 GB, free: 6.891 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002449/1.246, allocations: 103.9 kB / 1.109 GB, free: 6.789 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001862/1.246, allocations: 80 kB / 1.109 GB, free: 6.711 MB / 0.6511 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 (185): * Single equations (assignments): 173 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 6,(2,100.0%) 6,(3,77.8%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003655/1.25, allocations: 1.617 MB / 1.11 GB, free: 5.082 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005439/1.25, allocations: 201.6 kB / 1.11 GB, free: 4.883 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008207/1.258, allocations: 2.982 MB / 1.113 GB, free: 1.852 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.858e-05/1.259, allocations: 16 kB / 1.113 GB, free: 1.836 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-05/1.259, allocations: 8 kB / 1.113 GB, free: 1.828 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-05/1.259, allocations: 7.969 kB / 1.113 GB, free: 1.82 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01974/1.278, allocations: 7.322 MB / 1.121 GB, free: 10.29 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.999e-05/1.278, allocations: 7.984 kB / 1.121 GB, free: 10.29 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001588/1.28, allocations: 171.7 kB / 1.121 GB, free: 10.12 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00441/1.284, allocations: 0.834 MB / 1.122 GB, free: 9.246 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001653/1.285, allocations: 24 kB / 1.122 GB, free: 9.223 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02892/1.314, allocations: 20.31 MB / 1.141 GB, free: 3.316 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.564e-06/1.314, allocations: 4.062 kB / 1.141 GB, free: 3.312 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00878/1.322, allocations: 3.015 MB / 1.144 GB, free: 188 kB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001645/1.324, allocations: 466.6 kB / 1.145 GB, free: 15.71 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004318/1.325, allocations: 31.98 kB / 1.145 GB, free: 15.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001475/1.326, allocations: 63.92 kB / 1.145 GB, free: 15.61 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004585/1.327, allocations: 140.6 kB / 1.145 GB, free: 15.47 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000131/1.327, allocations: 36 kB / 1.145 GB, free: 15.44 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002/1.329, allocations: 0.9561 MB / 1.146 GB, free: 14.46 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.01e-07/1.329, allocations: 4 kB / 1.146 GB, free: 14.45 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004071/1.333, allocations: 0.7891 MB / 1.147 GB, free: 13.66 MB / 0.698 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 (91): * Single equations (assignments): 79 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(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,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003529/1.333, allocations: 143.6 kB / 1.147 GB, free: 13.52 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.009683/1.343, allocations: 3.998 MB / 1.151 GB, free: 9.371 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.989e-06/1.343, allocations: 4.312 kB / 1.151 GB, free: 9.367 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.009878/1.353, allocations: 2.741 MB / 1.153 GB, free: 6.473 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006824/1.36, allocations: 0.6613 MB / 1.154 GB, free: 5.828 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01995/1.38, allocations: 8.734 MB / 1.163 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006008/1.386, allocations: 3.108 MB / 1.166 GB, free: 9.875 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002508/1.388, allocations: 461.9 kB / 1.166 GB, free: 9.422 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006162/1.389, allocations: 115.4 kB / 1.166 GB, free: 9.309 MB / 0.7136 GB Notification: Performance of SimCode: time 1.203e-06/1.389, allocations: 0 / 1.166 GB, free: 9.309 MB / 0.7136 GB Notification: Performance of Templates: time 0.1059/1.495, allocations: 33.16 MB / 1.199 GB, free: 8.266 MB / 0.7448 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)