Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.883/1.883, allocations: 297.4 MB / 312.6 MB, free: 2.977 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.001041/0.001041, allocations: 181.2 kB / 382.3 MB, free: 14.88 MB / 314.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.523/1.523, allocations: 225.7 MB / 0.6617 GB, free: 7.223 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.0008881/0.0008882, allocations: 91.27 kB / 0.7789 GB, free: 46.89 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000376/0.0003761, allocations: 15.98 kB / 0.9058 GB, free: 4.949 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.831/0.8314, allocations: 119.2 MB / 1.022 GB, free: 58.15 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.01646/0.8479, allocations: 10.84 MB / 1.033 GB, free: 51.38 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01119/0.8592, allocations: 8.09 MB / 1.041 GB, free: 44.27 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001487/0.8607, allocations: 23.91 kB / 1.041 GB, free: 44.27 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001517/0.8622, allocations: 315.7 kB / 1.041 GB, free: 44.1 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.002176/0.8644, allocations: 0.5799 MB / 1.042 GB, free: 43.77 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002179/0.8666, allocations: 0.6254 MB / 1.042 GB, free: 43.41 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005478/0.8721, allocations: 3.59 MB / 1.046 GB, free: 42.27 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008962/0.8812, allocations: 5.375 MB / 1.051 GB, free: 39 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002623/0.8838, allocations: 0.7387 MB / 1.052 GB, free: 38.71 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003044/0.8869, allocations: 1.024 MB / 1.053 GB, free: 38.34 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0007326/0.8876, allocations: 92.09 kB / 1.053 GB, free: 38.34 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002367/0.89, allocations: 484 kB / 1.053 GB, free: 38.21 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001788/0.8918, allocations: 0.7114 MB / 1.054 GB, free: 37.98 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002947/0.8948, allocations: 0.8115 MB / 1.055 GB, free: 37.46 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00629/0.9011, allocations: 3.433 MB / 1.058 GB, free: 36.72 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.226e-06/0.9012, allocations: 0 / 1.058 GB, free: 36.72 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.215e-06/0.9012, allocations: 0 / 1.058 GB, free: 36.72 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001531/0.9013, allocations: 0 / 1.058 GB, free: 36.72 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.006136/0.9075, allocations: 1.622 MB / 1.06 GB, free: 35.77 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.9076, allocations: 12.72 kB / 1.06 GB, free: 35.77 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003764/0.9113, allocations: 482.6 kB / 1.06 GB, free: 35.66 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003472/0.9148, allocations: 1.148 MB / 1.061 GB, free: 35.03 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001414/0.915, allocations: 116.5 kB / 1.061 GB, free: 34.97 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006892/0.9157, allocations: 155.7 kB / 1.062 GB, free: 34.92 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007581/0.9233, allocations: 2.747 MB / 1.064 GB, free: 33.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-05/0.9234, allocations: 0 / 1.064 GB, free: 33.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004667/0.9239, allocations: 64.36 kB / 1.064 GB, free: 33.86 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004532/0.9243, allocations: 173.1 kB / 1.064 GB, free: 33.84 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005695/0.9301, allocations: 2.288 MB / 1.067 GB, free: 33.12 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01631/0.9464, allocations: 10.54 MB / 1.077 GB, free: 25.42 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001225/0.9477, allocations: 0.5716 MB / 1.078 GB, free: 25.21 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000807/0.9485, allocations: 392.4 kB / 1.078 GB, free: 25.08 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001392/0.9487, allocations: 102.1 kB / 1.078 GB, free: 24.97 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.906e-05/0.9487, allocations: 42.06 kB / 1.078 GB, free: 24.93 MB / 0.698 GB Notification: Performance of pre-optimization done (n=36): time 4.578e-06/0.9487, allocations: 2.875 kB / 1.078 GB, free: 24.93 MB / 0.698 GB Notification: Performance of matching and sorting (n=52): time 0.02511/0.9739, allocations: 6.264 MB / 1.084 GB, free: 23.47 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.484e-05/0.974, allocations: 84.11 kB / 1.084 GB, free: 23.38 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00182/0.9758, allocations: 0.8994 MB / 1.085 GB, free: 23.01 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000157/0.976, allocations: 36.95 kB / 1.085 GB, free: 22.97 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005479/0.9765, allocations: 0.7512 MB / 1.086 GB, free: 22.39 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002881/0.9768, allocations: 191.1 kB / 1.086 GB, free: 22.24 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.977, allocations: 19.12 kB / 1.086 GB, free: 22.23 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.9771, allocations: 386.2 kB / 1.086 GB, free: 21.89 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001288/0.9784, allocations: 0.638 MB / 1.087 GB, free: 21.67 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001455/0.9799, allocations: 1.005 MB / 1.088 GB, free: 20.96 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002701/0.9826, allocations: 1.67 MB / 1.09 GB, free: 19.97 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.316e-05/0.9826, allocations: 2.75 kB / 1.09 GB, free: 19.97 MB / 0.698 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.01189/0.9945, allocations: 3.206 MB / 1.093 GB, free: 19.11 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003308/0.9949, allocations: 429.7 kB / 1.093 GB, free: 18.55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.433e-05/0.9949, allocations: 18.94 kB / 1.093 GB, free: 18.55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01082/1.006, allocations: 1.857 MB / 1.095 GB, free: 18.33 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001206/1.007, allocations: 220 kB / 1.095 GB, free: 18.31 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01323/1.02, allocations: 10.22 MB / 1.105 GB, free: 11.39 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001351/1.022, allocations: 177.7 kB / 1.105 GB, free: 11.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.539e-05/1.022, allocations: 43.53 kB / 1.105 GB, free: 11.36 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/1.022, allocations: 8.094 kB / 1.106 GB, free: 11.35 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006792/1.029, allocations: 2.619 MB / 1.108 GB, free: 10.63 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.544e-05/1.029, allocations: 11.89 kB / 1.108 GB, free: 10.63 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004977/1.034, allocations: 1.2 MB / 1.109 GB, free: 10.49 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/1.035, allocations: 259.4 kB / 1.109 GB, free: 10.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007051/1.042, allocations: 5.531 MB / 1.115 GB, free: 6.809 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001182/1.043, allocations: 153.2 kB / 1.115 GB, free: 6.785 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-05/1.043, allocations: 49.3 kB / 1.115 GB, free: 6.773 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (99): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001369/1.044, allocations: 0.8338 MB / 1.116 GB, free: 6.348 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000156/1.045, allocations: 81.66 kB / 1.116 GB, free: 6.305 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007816/1.052, allocations: 2.683 MB / 1.119 GB, free: 5.605 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/1.053, allocations: 5.719 kB / 1.119 GB, free: 5.605 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/1.053, allocations: 1.281 kB / 1.119 GB, free: 5.605 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.329e-05/1.053, allocations: 7 kB / 1.119 GB, free: 5.602 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01204/1.065, allocations: 4.616 MB / 1.123 GB, free: 3.926 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/1.065, allocations: 2.031 kB / 1.123 GB, free: 3.926 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004384/1.065, allocations: 104.1 kB / 1.123 GB, free: 3.914 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007073/1.072, allocations: 1.709 MB / 1.125 GB, free: 3.703 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001253/1.072, allocations: 17.53 kB / 1.125 GB, free: 3.691 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01236/1.085, allocations: 9.764 MB / 1.134 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/1.085, allocations: 11.91 kB / 1.134 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007678/1.092, allocations: 2.644 MB / 1.137 GB, free: 8.762 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006945/1.093, allocations: 284 kB / 1.137 GB, free: 8.465 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002389/1.093, allocations: 16 kB / 1.137 GB, free: 8.449 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008766/1.094, allocations: 139.7 kB / 1.137 GB, free: 8.312 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002697/1.095, allocations: 43.94 kB / 1.137 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.249e-05/1.095, allocations: 19.94 kB / 1.138 GB, free: 8.25 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001016/1.096, allocations: 0.6356 MB / 1.138 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.61e-07/1.096, allocations: 4 kB / 1.138 GB, free: 7.613 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002357/1.098, allocations: 0.5859 MB / 1.139 GB, free: 7.027 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (42): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002418/1.098, allocations: 125.5 kB / 1.139 GB, free: 6.895 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.005286/1.104, allocations: 3.235 MB / 1.142 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/1.104, allocations: 0.8125 kB / 1.142 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001978/1.106, allocations: 1.28 MB / 1.143 GB, free: 2.254 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001305/1.107, allocations: 233 kB / 1.143 GB, free: 2.035 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005691/1.113, allocations: 3.669 MB / 1.147 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001613/1.114, allocations: 1.622 MB / 1.149 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001325/1.116, allocations: 498.3 kB / 1.149 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001787/1.116, allocations: 55.44 kB / 1.149 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of SimCode: time 9.02e-07/1.116, allocations: 4 kB / 1.149 GB, free: 12.1 MB / 0.7292 GB Notification: Performance of Templates: time 0.03827/1.154, allocations: 23.76 MB / 1.172 GB, free: 4.473 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)