Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.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 8.0.0/package.mo): time 1.74/1.74, allocations: 291.7 MB / 306.8 MB, free: 7.672 MB / 234.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.001147/0.001147, allocations: 179 kB / 375.4 MB, free: 5.121 MB / 298.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.51/1.51, allocations: 225.7 MB / 0.6538 GB, free: 13.61 MB / 490.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.0008567/0.0008567, allocations: 108.4 kB / 0.7699 GB, free: 50.4 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004153/0.0004153, allocations: 12 kB / 0.8956 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7633/0.7637, allocations: 118.1 MB / 1.011 GB, free: 57.9 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03199/0.7958, allocations: 29.63 MB / 1.04 GB, free: 46.24 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.01753/0.8134, allocations: 9.809 MB / 1.049 GB, free: 39.7 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004251/0.8177, allocations: 128.7 kB / 1.05 GB, free: 39.65 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.002452/0.8202, allocations: 0.6147 MB / 1.05 GB, free: 39.28 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.006508/0.8267, allocations: 1.465 MB / 1.052 GB, free: 38.47 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.005522/0.8323, allocations: 1.263 MB / 1.053 GB, free: 37.86 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.01423/0.8465, allocations: 8.351 MB / 1.061 GB, free: 34.77 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02209/0.8687, allocations: 11.9 MB / 1.073 GB, free: 30.11 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008214/0.877, allocations: 2.257 MB / 1.075 GB, free: 29.21 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009017/0.8861, allocations: 2.898 MB / 1.078 GB, free: 28.15 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.00236/0.8886, allocations: 267.6 kB / 1.078 GB, free: 28.15 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005352/0.894, allocations: 0.8418 MB / 1.079 GB, free: 27.96 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.00497/0.899, allocations: 2.031 MB / 1.081 GB, free: 27.36 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.003281/0.9023, allocations: 0.9616 MB / 1.082 GB, free: 26.79 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.01132/0.9136, allocations: 8.346 MB / 1.09 GB, free: 25.35 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 9.468e-06/0.9137, allocations: 0 / 1.09 GB, free: 25.35 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.526e-06/0.9137, allocations: 3.219 kB / 1.09 GB, free: 25.35 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0003756/0.9141, allocations: 1.875 kB / 1.09 GB, free: 25.35 MB / 0.7136 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.01192/0.926, allocations: 4.021 MB / 1.094 GB, free: 23.14 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.583e-05/0.9261, allocations: 9.219 kB / 1.094 GB, free: 23.14 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006401/0.9325, allocations: 0.9591 MB / 1.095 GB, free: 22.85 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008389/0.9409, allocations: 2.86 MB / 1.097 GB, free: 21.36 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004674/0.9414, allocations: 343.6 kB / 1.098 GB, free: 21.21 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002811/0.9443, allocations: 471.2 kB / 1.098 GB, free: 21.04 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02767/0.972, allocations: 7.623 MB / 1.106 GB, free: 17.68 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004231/0.9725, allocations: 29.36 kB / 1.106 GB, free: 17.67 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00225/0.9747, allocations: 195.7 kB / 1.106 GB, free: 17.52 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006509/0.9754, allocations: 312.9 kB / 1.106 GB, free: 17.48 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01684/0.9923, allocations: 5.677 MB / 1.112 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05891/1.051, allocations: 35.14 MB / 1.146 GB, free: 2.293 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004515/1.056, allocations: 2.149 MB / 1.148 GB, free: 1.066 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002802/1.059, allocations: 1.268 MB / 1.149 GB, free: 0.5469 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001729/1.059, allocations: 20.98 kB / 1.149 GB, free: 0.5391 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.528e-05/1.059, allocations: 49.16 kB / 1.149 GB, free: 500 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=133): time 4.048e-06/1.059, allocations: 0 / 1.149 GB, free: 500 kB / 0.7292 GB Notification: Performance of matching and sorting (n=136): time 0.01932/1.078, allocations: 7.097 MB / 1.156 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.791e-05/1.078, allocations: 74.05 kB / 1.156 GB, free: 12.67 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004045/1.082, allocations: 1.468 MB / 1.158 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0002669/1.083, allocations: 51.33 kB / 1.158 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.002225/1.085, allocations: 2.003 MB / 1.16 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007553/1.086, allocations: 492.1 kB / 1.16 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001668/1.086, allocations: 36.75 kB / 1.16 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002562/1.086, allocations: 382.6 kB / 1.161 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002084/1.088, allocations: 0.9067 MB / 1.162 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002467/1.091, allocations: 1.586 MB / 1.163 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004297/1.095, allocations: 2.727 MB / 1.166 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.622e-05/1.095, allocations: 6.094 kB / 1.166 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.007961/1.103, allocations: 3.51 MB / 1.169 GB, free: 4.109 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.354e-05/1.103, allocations: 13.62 kB / 1.169 GB, free: 4.109 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.826e-05/1.103, allocations: 23.97 kB / 1.169 GB, free: 4.109 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002739/1.106, allocations: 0.9046 MB / 1.17 GB, free: 3.184 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001466/1.108, allocations: 347.4 kB / 1.171 GB, free: 2.844 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02161/1.129, allocations: 21.2 MB / 1.191 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002224/1.131, allocations: 107.9 kB / 1.191 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004244/1.132, allocations: 80 kB / 1.191 GB, free: 11.86 MB / 0.7761 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.004767/1.137, allocations: 1.611 MB / 1.193 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001072/1.138, allocations: 206.1 kB / 1.193 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006513/1.144, allocations: 2.986 MB / 1.196 GB, free: 7.004 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.436e-05/1.144, allocations: 12 kB / 1.196 GB, free: 6.992 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.151e-05/1.144, allocations: 12 kB / 1.196 GB, free: 6.98 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.756e-05/1.144, allocations: 7.969 kB / 1.196 GB, free: 6.973 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01776/1.162, allocations: 7.313 MB / 1.203 GB, free: 15.43 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.808e-05/1.162, allocations: 5.25 kB / 1.203 GB, free: 15.42 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008875/1.163, allocations: 191.7 kB / 1.203 GB, free: 15.23 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002445/1.166, allocations: 0.8222 MB / 1.204 GB, free: 14.38 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001644/1.166, allocations: 28 kB / 1.204 GB, free: 14.35 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02154/1.187, allocations: 20.31 MB / 1.224 GB, free: 8.441 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.145e-05/1.187, allocations: 11.94 kB / 1.224 GB, free: 8.43 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006182/1.194, allocations: 3.011 MB / 1.227 GB, free: 5.305 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00136/1.195, allocations: 466.4 kB / 1.228 GB, free: 4.828 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006467/1.196, allocations: 31.98 kB / 1.228 GB, free: 4.797 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001294/1.197, allocations: 63.92 kB / 1.228 GB, free: 4.734 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004086/1.197, allocations: 132.6 kB / 1.228 GB, free: 4.602 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001004/1.198, allocations: 40 kB / 1.228 GB, free: 4.562 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001907/1.199, allocations: 0.9568 MB / 1.229 GB, free: 3.582 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.41e-07/1.199, allocations: 4 kB / 1.229 GB, free: 3.578 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.004322/1.204, allocations: 0.7891 MB / 1.229 GB, free: 2.789 MB / 0.8073 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.0003868/1.204, allocations: 151 kB / 1.23 GB, free: 2.633 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.006349/1.211, allocations: 3.989 MB / 1.234 GB, free: 14.49 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/1.211, allocations: 256 / 1.234 GB, free: 14.49 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.003978/1.215, allocations: 2.736 MB / 1.236 GB, free: 11.6 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005378/1.22, allocations: 0.6548 MB / 1.237 GB, free: 10.97 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01738/1.237, allocations: 8.733 MB / 1.245 GB, free: 2.164 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005498/1.243, allocations: 3.109 MB / 1.248 GB, free: 15.02 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.001968/1.245, allocations: 452.7 kB / 1.249 GB, free: 14.59 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004895/1.245, allocations: 115.4 kB / 1.249 GB, free: 14.48 MB / 0.8386 GB Notification: Performance of SimCode: time 9.01e-07/1.245, allocations: 1.688 kB / 1.249 GB, free: 14.48 MB / 0.8386 GB Notification: Performance of Templates: time 0.06897/1.314, allocations: 33.14 MB / 1.281 GB, free: 13.53 MB / 0.8698 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)